Adding a custom workflow status
In this recipe, we will make modifications to the previous state machine workflow to show a custom workflow status during the state transition.
Since this recipe is a modification of the Creating state machine workflow recipe, you should have successfully completed that one to follow this recipe.
How to do it...
Open the StateMachineWorkflow solution if it is closed.
- In the
MetaDatasection of the workflow's
Elements.xmlfile, add the
ExtendedStatusColumnValueselement and define your custom statuses in the
StatusColumnValueelement. The following code shows the custom status for our workflow created in this recipe. For the sake of brevity, I have only shown a part of the
<MetaData> <AssociationCategories>List</AssociationCategories> ...