Hooking up a workflow to the user interface
This is the final step in designing our workflow, and involves setting a property on the form referenced by the document menu item, ConWHSVehicleTable
, and adding the option to design workflows to the menu.
Getting ready
The minimum we need to have completed for this is create a workflow type.
How to do it...
In order to be able to design and process workflows, follow these steps:
- Expand
User interface
,Menu items
, and thenDisplay
from theApplication Explorer
. LocatedWorkflowConfgurationBasic
, right-click on it and chooseDuplicate in project
. - Locate the new menu item in the
Solution explorer
, and rename it toConWHSWorkflowConfiguration
.
Note
Depending on the version of the development tools, you will need to undo the change to WorkflowConfigurationBasicCopy
and then add the renamed element to source control.
- Open the new menu item in the designer and set the
Enum Parameter
property toConWHS
, and then create labels for theLabel
andHelp Text
properties...