In this recipe, we will hook up our state machine to the ConWHSVehWFInsp workflow task.
Hooking up the state machine to a workflow
Getting ready
We need to have a workflow task and have completed the recipes in this chapter.
How to do it...
To hook up the state machine to a workflow task, follow these steps:
- Open the ConWHSVehWFInsp workflow task.
- Set the Canceled State Machine property to InspStateMachine.
Yes, this is spelled Canceled, but it is more than compensated by the clever way it has determined the list of valid state machines.
- Set the Canceled State Machine Target State property to Waiting; we won&apos...