Overview of Workflow Definitions
Creating a Workflow Definition
To create a workflow definition in HOPEX Windows Front-End:
1. In the Utilities navigation window, right-click the Workflow Definition folder and select New > Workflow Definition.
2. In the dialog box that appears, 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 can 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 dialog box 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 Creation: allows the user to create the object to which the workflow relates at the moment the workflow is started.
• Allow Subject MetaClass Listing: enables the user to list workflow subjects available at the moment the workflow is started.
• Allow Subject MetaClass Query: allows the user to start the query tool to select a workflow subject at the moment workflow is started.
• Subject Mandatory: obliges the user when executing the workflow to select the object to which the workflow relates.
• Activate Workflow : enables workflow activation or deactivation.
Users should not access workflows which are in course of definition. For this reason, it is useful to be able to deactivate a workflow.
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:
1. In the Enterprise Architecture desktop, select View > Navigation Windows > Utilities.
2. Expand the Workflow Definitions folder.
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. Right-click the workflow definition and select New > Diagram.
3. In the dialog box that opens, select Create.
The diagram is created.
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.