Open topic with navigation

TIBCO Business Studio™ - BPM Edition 5.4.0

# Associating a Script with a Loop

Scripts can be associated with processing loops in the Properties view for the task to which a loop has been applied.

Procedure
1. On the General tab of the Properties view for the task, select either Standard Loop or Multi-instance Loop.
   Note: When using a multi-instance loop, you should set an additional instance expression which must evaluate to 0. When the loop has finished, it looks to see if this exists. If you do not set this to 0, then your multi-instance loop does not end.
2. When either of these is selected the Loops tab becomes available. Select JavaScript from the Script Defined As: field and enter the script itself in the area provided.

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.