This project is read-only.

How to Start a workflow with signal

Topics: Customizing Orchard, 中文(Chinese)
Aug 6, 2014 at 5:12 AM
I have a question:How to Start a workflow with signal or trigger,is there any docs for workflow working?
Aug 6, 2014 at 8:47 AM
You can trigger a workflow using IWorkflowManager.TriggerEvent. Any workflow whose execution is at an activity with the event being triggered will start (or resume).
Look at Orchard.Workflows/Controllers/SignalController.cs ln 45 to see an example of its usage.