Views:

Description

Builds a DoLoop statement that executes a single action or multiple actions.

Note: Multiple actions only availble in Enterprise Edition or higher

Signature

DoLoop('iterationcount', 'action')

Example

DoLoop(3,
  CreateRecord('account',
    SetAttribute('name', 'Account:' + DoLoopIndex())
  )
)

Creates 3 account records.

The function DoLoopIndex() allows you to access an integer containing the current index number of the loop.

The function DoLoopTotal() allows you to access an integer containing the total number of loops.

Note that multiple actions are only allowed for the Enterprise Edition or greater.

Parameters

Name Type Description Required
iterationcount xxxx xxxx xxxx
action xxxx xxxx xxxx

Notes: