Working with workflows
Last updated
Last updated
There are several ways to create a workflow:
1) you could select the type "Workflow" when creating a process.
2) or add Workflow element to sequence or to workflow
Workflow may include the following elements:
Workflow start
Sequence
Decision
Workflow
State
They are in the Workflow group of the Elements panel.
The "Workflow start" element is always present and indicated by the green circle symbol.
The Sequence element is a rectangle comprising a standard sequence. To switch to a stored sequence, double-click the Sequence element.
To return to a Chart you should press the "Return" button in the upper left corner of a Chart.
To add a sequence, drag it from the Elements panel
The decision-making element is a blue diamond symbol, which serves to branch out a process (similar to the Switch structure of classical programming languages). To create a condition, it is necessary to specify a calculated expression in the "Condition" property of the Properties panel.
To add a decision, drag it from Elements panel
The Workflow element is a rectangle with a workflow inside
To add a Workflow, drag it from Element panel
The State element is a rectangle with process states inside. You can make transitions between them.
To add a State, drag it from Element panel
To set up a Workflow use the workflow action panel
Diagram connection can be of three shapes:
Connection shape can be changed through it's properties and becomes default shape for new connections.
To branch out a process, you must set the conditions to be checked. To do this, you should select the arrow coming from the lower square of the Decision element and specify the value corresponding to the decision made in the "Equation Result" property. The arrow without the specified result will be the default solution.
You can use the Grid and Snap to grid functions for element’s easy alignment.
Press the Grid button on the workflow action panel to turn the grid on/off. When this feature is enabled, the lines appear in the working area, making element’s alignment more convenient.
You can also snap elements to the grid by pressing Snap to grid button on the workflow action panel. When this feature is enabled, you can move elements by the grid.
Also guide lines are displayed when moving elements for it's easy alignment.
Otherwise, the Workflow functions fully correspond to the Sequence functions.
To create connections between elements, click the Connection button on the workflow action panel. Then click on the green square on any edge of the element (if you need to specify starting point) or hold down the mouse button on the element (the element is highlighted with a green frame and the location of the arrow start will be set automatically) and drag arrow to the green square or green frame of another element.
To return to the usual cursor and work with other elements, press Pointer button on the workflow action panel.