What is the simplest way to solve the following in WF 4.0:
- Send data/request to a WCF service (for example a request to start process X)
- Get a response (simple, success/failure of deserializing the input) only indicating that processing has started.
- Continue processing (could potentially take a few minutes) in a custom WF activity
- End
My goal is to have the response sent back to the WCF client as soon as the object is received, and handle any processing without the client waiting. Currently, my sequential workflow locks until the custom activity is completed before continuing.
A suggested workaround is to add a wait activity after the response activity with f.ex. a timespan of 1 second or more. This will force sending of the response, and after 1 second continue the execution.
I would not call this a solution, but might be the only way.