Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


This action allows you to write custom server-side JavaScript code that defines a structure, such as a loop or a condition. Other actions can then be placed within the structure.

Image Modified

Enter code to start your loop or condition

The code should include a starting curly brace, but the ending curly brace should not be included because it is implied.

For example:

to create a loop that repeats 3 times, you can use something like this:  

Code Block
for (var x = 1; x <= 3; x++) {

...