Overview of Workflow Definitions
Creating a Workflow Definition
To create a workflow definition:
1. In the Hopex Customizer desktop, select Customization > Workflow Definitions.
2. Click New.
3. Enter the name of the workflow definition and click OK.
The new workflow definition is created.
A workflow must relate to an object type. You must therefore associate an object type with the workflow definition you have just created.
To define the object type to which the workflow relates:
1. In the properties of the workflow definition, select the Characteristics tab.
2. In the Subject MetaClass section, click the Connect button.
3. In the Select Query dialog box, select "Workflow Subject MetaClasses" and click OK.
4. Select a MetaClass and click OK.
Several options are available in the workflow definition properties:
• Allow Subject MetaClass Listing: enables display of a list in order to select a subject when starting a workflow.
• Allow Subject MetaClass Creation: enables creation of the object to which the workflow relates when starting a workflow.
• Allow Subject MetaClass Query: enables to launch the search tool to select a workflow subject whens starting a workflow.
• Subject Mandatory: makes selection of an (subject) object mandatory when starting a workflow.
• Activate Workflow: enables workflow activation or deactivation.
For each subject MetaClass you can specify in the corresponding columns:
• Workflow Condition: a condition enables filtering of workflows that can be instanced from a subject MetaClass.
It is for example possible to start a workflow on an object type that has a particular characteristic.
• Unique Instancing: enables indication that for a subject instance you can have only a single workflow instance in progress.
• Instance at Creation: enables creation of a workflow instance at workflow creation that manages the life cycle of the object.
• Main Workflow: enables specification, for a given subject MetaClass, that this workflow gives or does not give the main current status.
To be able to specify the workflow, you must then create the workflow definition diagram.
Accessing workflow definitions
To access workflow definitions:
For each workflow definition, contained elements are displayed in sub-folders:
• workflow definition diagram
• workflow statuses
see Workflow Statuses.
• workflow transitions
see Workflow Transitions.
• workflow participants
• workflow actions
see Workflow Actions.
Creating a workflow definition diagram
To create a workflow definition diagram:
1. See Accessing workflow definitions.
2. Hover the mouse over the workflow definition and select Create a diagram > Create this diagram.
In a workflow definition diagram, you must:
• create a workflow status of Initial type.
• create the different workflow statuses and connect these by means of workflow transitions.
• create the last workflow status or statuses of Final type.
• specify persons that trigger transitions: to do this you connect workflow participants to the different transitions.
Persons must be associated with workflow participants.