Workflow 4 Run sync and async activities in Workflow 4 with MVC RRS feed

  • Question

  • I want the service to run the workflow, one of the activity should run synchronously while the other workflow runs asynchronously, in this case the first workflow will return to the user and the other one will keep running until it terminates and dies. I was able to implement it by having a parallel control and add 2 activities, the first one will have RunAsynchronously property false and the second will have it true.

    How can I now have the first one which is running synchronously to return back to the controller(using MVC) and to the user while the second one is running until it is done?

    Thanks in the advcance,

    Alaa Osta

    Monday, August 8, 2011 5:05 PM