In this recipe, we will hook up our state machine to the ConVMSVehWFInsp 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. The changes that will be made here are best made with the workflow project that we created in the previous chapter.
How to do it...
To hook up the state machine to a workflow task, follow these steps:
- Before we start, the workflow needs to be able to move the state directly to Complete. This will cause a fault as our state machine does not have this...