Understanding Gateways

When a gateway is reached, the flow of the process is determined by the value of a data item.

The data item is based on information gathered from user input on the form associated with the user task that precedes the gateway. There are three gateways, indicated by diamond-shaped icons, in the sample process:

  • The first gateway, after the Capture Claim user task, is determined by the amount of the claim. If the claim is for a sum less than $500, then the process flow continues directly to the End Event. However, if the claim is for $500 or more, then the process flow continues to the next gateway.
  • The second gateway is based on whether a witness is available to be interviewed; that is, if the Witness Available check box is selected on the Capture Claim form. If so, the process flow continues to the Interview Witness user task. If not, the process flow continues to the End Event.
  • The third gateway is determined by whether the witness is to be interviewed again. If the interviewer clicks Completed, the process proceeds to the End Event. If the interviewer clicks Failed - Try again, the process returns to the Interview Witness user task. But if attempts to contact the witness have failed repeatedly, the interviewer needs to click Failed - Do not try again, and the business process proceeds to the End Event without the witness’s description having been captured on the form.
    Note: For more about how to use gateways in a business process, see TIBCO Business Studio Process Modeling User's Guide.

The tutorials that follow explain how to create two forms. By performing these tutorials, you learn about panes, controls, how to configure their properties, and how to enhance your forms with validation scripts and action scripts.