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


Chapter 2 How to Model a Simple Business Process in TIBCO Business Studio for Analysts : Creating a Conditional Script

Creating a Conditional Script
Key Points
The flow of processing branches at the Fault claim? gateway depending on whether a fault claim or a no-fault claim is being made. You will create a data field IsFault which, if set to True (meaning that the claim is a fault claim), directs the flow down the conditional flow connection to the Record fault claim details task.
If the field is set to False (meaning that the claim is not a fault claim), processing follows the default flow connection to the Record no-fault claim details task.
Procedure
To create the data field:
1.
Click on the Specify Claim Type task. The Properties tab at the base of the window displays the properties for that task.
2.
In the Properties tab, click on Data Fields.
3.
4.
5.
Click in the Type column and select Boolean from the drop-down list.
To attach a script to the conditional flow:
1.
2.
In the General tab of the Properties view, select Free Text instead of the default Undefined from the Script Defined As drop-down list.
3.
In the Describe Sequence Flow Condition field, type:
IsFault = True
Next Step
Adding Data to the Process

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