How to Execute workflow service using WorkflowApplication.Run


  • Hi,

    I've created & saved a workflow in database. The workflow was created using workflow reghosted designer. The workflow consists of a recieve/SendReply activity pair. In between I'm calling my custom activity which is setting some response object and this object is being sent to client using SendReply activity described above.

    My question is, How can I test this workflow in rehosted workflow designer?

    If I use WorkflowApplication.Run, I stuck in infinite loop and debugger hit neither workflowCompleted nor WorkflowUnhandledException event handler. If I create a normal workflow without message activities, it execute well and return the result.

    Any help in this? Example would be great!!



    Monday, February 27, 2012 11:40 AM


All replies