Help Desk

Submit a ticket My Tickets
Welcome
Login

How do I create a simple loop in a Chain?

When needing to loop over a fixed set of values, the use of an Iterator in a Chain Command is an easy way to meet this requirement.  Open the Command which requires looping and select the Iteration toggle.  Type the values over which the Command should iterate.  Be sure to press the <Enter> key after each entry.  The Iteration value can then be used in the Command Parameters much like a Workspace or Chain Variable or another Command output.

image


When the Chain is run, each iteration is able to be viewed in the Input-Output-Log panel

imageimage

For more information, please contact support@onecloud.io.





Login to post a comment