Try OpenEdge Now
skip to main content
Developing BPM Applications with Developer Studio
Designing a process template diagram : Connecting worksteps
 

Connecting worksteps

You can use the Connect Shapes link in the Tasks pane to connect the several Shapes or process template elements in your process template. The connections (or connectors) between the process elements determine the workflow of the process. Each shape contains up to 12 points of connection, using which you can make multiple connectors to worksteps and shapes. You will notice that when you click the Connect Shapes link, the Tasks pane displays three types of links - Normal flow, Compensation flow, Timeout flow - that you can use to connect worksteps.
Table 24 describes these connector types and how they appear when used on a template workstep.
Table 24. Types of connectors
Connector
Appearance
Description
Normal (Default)
The Normal () connector type provides standard connectors to worksteps. In the case of a workstep with multiple outgoing connectors, the default connector indicates a connector with no condition.
Normal (Conditional)
In case of a workstep with multiple outgoing connectors, this conditional connector indicates a connector with a condition. The workflow selects this connector path if the condition is satisfied.
Compensation
Indicates that compensatory steps will be taken in the event of an Error occurring during the running of the process or a Recovery. The connector from the source workstep of a Compensation flow is indicated by a icon. When you add the Compensation flow to a diagram, the target workstep of the Compensation flow automatically becomes a Rollback Point (see Defining a Rollback). Worksteps with a Compensation icon () are either Rollback Points or have script (or compensation) defined in the On Recovery tab in the Advanced tab of the workstep’s Properties view.
Timeout
Indicates the direction of a workflow after Overdue Actions have been executed and the Last Overdue action is completed. Add the Timeout flow connector to the diagram, the source workstep of a Timeout Flow is marked with a . When you add the Timeout flow to a diagram, the Activate timeout flow checkbox in the Overdue Actions tab of the Advanced tab of the target workstep’s Properties view is automatically activated. For more information, see Defining a Timeout in worksteps.
Note: Keep the Optimize connectors when moving shapes checkbox clear to maintain the point of connection to the shape when you move the connected shape. Alternatively, if you select this checkbox, the shortest path between shapes is used for the connection. For example, if the position of "Activity2" in the process diagram is closer to "Activity1" than the position of "Activity3," then any connector from Activity1 is joined to Activity2.
When you choose one of the above flow types, the representation of the cursor in the Content pane changes to indicate the type of flow you selected. Table 25 indicates the type of links that can be used with typical process template components and the number of links (single, multiple, or none), which are allowed to originate from each element.
Table 25. Shape and Output Link Matrix
Shape/Workstep
Default
Conditional
Compensation
Timeout
Start
Multiple allowed
Not allowed
Not allowed
Not allowed
Decision
One allowed
Multiple allowed
Not allowed
Not allowed
Split
Multiple allowed
Not allowed
Not allowed
Not allowed
And-Join
One allowed
Not allowed
Not allowed
Not allowed
Or-Join
One allowed
Not allowed
Not allowed
Not allowed
Xor-Join
One allowed
Not allowed
Not allowed
Not allowed
Activity workstep
Multiple allowed
Multiple allowed
One allowed
One allowed
Subprocess worksteps
Multiple allowed
Multiple allowed
One allowed
One allowed
Message
Multiple allowed
Multiple allowed
Not allowed
Not allowed
End
Not allowed
Not allowed
Not allowed
Not allowed
* Using multiple connectors