Open topic with navigation

TIBCO Business Studio™ - BPM Edition 5.4.0

# Creating a Standard Loop

A standard loop is indicated by a symbol.

Click the Loops tab to set the details of the loop:

Set the following parameters as appropriate for the loop you want to create:

- Test Time
  Select either Before or After. The Before option is equivalent to the programming construct "while": the expression is evaluated before the activity is performed, and therefore if the expression evaluates to False, the activity is not performed. The After option corresponds to the programming construct "Do: while": the expression is evaluated after the activity has been performed, guaranteeing that the activity is performed at least once.
- Loop Maximum
  Optionally specify an integer to control the maximum number of times the activity is performed. In the event of conflict between Loop Maximum and the result of the JavaScript defined under Script Defined As, the Loop Maximum overrides the script calculation.
- Script Defined As
  Select one of the following options:
  - Free Text
    Allows you to describe how you would like the loop to be tested if you prefer to leave the specific implementation of the loop expression to someone else.
    Note: A BPMN warning is generated if you leave the script area blank. To remove the warning, enter a text description of the intended script implementation.
  - JavaScript
    Allows you to enter JavaScript that is evaluated for the loop expression.
  - Unspecified
    Allows you to specify that there is no expression or description for this loop.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Business Studio™ - BPM Edition

Copyright © 2015-2023. Cloud Software Group, Inc. All Rights Reserved.