Defining Connectors
The Workflow Template Editor supports the following connector types:
Connector Type
Description
Start
The Start connector represents the starting point in a process. Each process has only one Start connector, which cannot be removed or duplicated.
And
An And connector does not fire until all predecessor links have fired. It waits for all preceding activities to complete before allowing the process to continue. For example, a Promote activity can be connected to multiple review activities by an And connector.
Or
An Or connector fires if any of its predecessor links fire. That is, it allows the process to continue if any of the preceding activities have completed. For example, a Revise activity can be linked to multiple review activities by an Or connector.
Threshold
A Threshold connector fires if a user-defined number of predecessor links fire. That is, it allows the process to continue only when the user-defined number of preceding activities have completed. To set the number of activities that must complete before a Threshold connector fires, enter a number in the Firing Threshold text box, on the Threshold Properties window.
To set a dynamic threshold, in which the firing threshold is set to 0 at runtime and is reset to the number of started predecessor activities, select Add one from the Action in Threshold list on the preceding Link Properties window.
Conditional Router
A Conditional Router fires user-defined events based on an automatic event firing expression. Because you can define user events and fire them with an expression for all connectors, the Conditional Router is essentially an Or connector identified by a special icon.
* 
Whenever possible, expressions should be inside a try catch block. Inside the catch block, take corrective action for the exception.
Specify custom routing events, which can be used to control process flow, on the Routing tab panel on the Connector Properties window. For more information, see Routing Tab.
* 
Because the Or connector and the Threshold connector do not require all activities to be completed before allowing the process to continue, unnecessary activities can remain open. To terminate these activities, click Terminate Open Predecessor Activities When Fired on the Or Properties window or the Threshold Properties window.
War dies hilfreich?