user355308
user355308

Reputation: 569

Windows Workflow Foundation 4 run only one workflow

I need that would be one time moment run only one workflow. How can I do this?

Upvotes: 0

Views: 212

Answers (2)

Isaac Yuen
Isaac Yuen

Reputation: 71

If you want to test your workflow, use WorkflowInvoker. If you want to be able to receive message (i.e. waiting for an input) and be about to test the persistence, monitoring of the workflow instance, use WorkflowApplication.

Upvotes: 1

Maurice
Maurice

Reputation: 27632

Use WorkflowInvoker or WorkflowApplication and you have full control over which workflow runs when.

Upvotes: 1

Related Questions