Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Tasks : Controlling Sequence Flow from a Gateway

Controlling Sequence Flow from a Gateway
You can control flow from a Gateway by creating a Parameter and values to be used as in a Rule. On a conditional Sequence Flow exiting the Gateway, you can specify that the Sequence Flow is followed only when values for that Parameter match the expression specified in the Rule.
 
Task A Create the Parameter
1.
Under the Process, right-click Parameters and select New Parameter.
2.
Click Next to accept the default Project, Package and Process.
3.
Enter the Name of the Parameter and its Type.
4.
Click Finish to save the Parameter.
Task B Add Values to the Parameter
1.
2.
3.
You can also remove values by selecting them and clicking Remove....
Task C Associate the Parameter with a Gateway
If you change an existing Parameter that is associated with a Gateway, you must also specify a new value for the conditional Sequence Flow (as described in the following task).
1.
2.
Instead of entering the name of the Parameter, you can use an Eclipse feature called Content Assist. Hold down the Ctrl key and press the spacebar. This allows you to select from the available Parameters.
Task D Specify a Value for the Conditional Sequence Flow
1.
2.
In the Properties view, click the Rule tab. This allows you to create an expression using your Parameter and values. For example:
This shows that this Sequence Flow is only traversed when the isPaperworkCorrect Parameter has the value Wrong receipts. Any cases with other values for this Parameter will follow the default Sequence Flow.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved