Windows workflow integrate with console/MVC app

81 views Asked by At

Please correct me if I am wrong.

In Windows workflow once you create a sequence or flowchart diagram, you can add the service reference to the project and trigger the workflow. (I managed to do). but lets say in the middle of the workflow user input is needed to continue then how it can be done? I saw few sample like the "Number guessing" sample from Microsoft still not clear. and Whats the purpose of WorkFlowInvoker ?

2

There are 2 answers

0
DotNetHitMan On

This isn't a trivial topic and you certainly need todo a bit more research on the subject. Start by looking at 'Pick' activities. link

0
Vivek On

It seems you are using WCF Workflow service. To get input while execution of workflow use multiple receive activity. Use context correlation to relate these receive activity.

Refer this link.

Workflow with two receive activities and correlation