![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
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.
2. Click Next to accept the default Project, Package and Process.
3.
4. Click Finish to save the Parameter.Task B Add Values to the Parameter
2. Highlight the Parameter that you created, and click Add Value....
3. A new value with the name "New Value" is added under the Parameter. Double-click the name to rename the value.
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).
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.
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 |