For Loop |
The For Loop action enables you to specify an action or group of actions that the Integration Service will continue to execute sequentially until a specified value is reached by either incrementing or decrementing an assigned variable value with each loop iteration.
You can configure the following properties for the For Loop action:
Action
Name: Specifies the name of the action. If desired, you can replace the default name by typing a new name in the field.
Description: Allows you to save a description for the action.
Run Action: Allows you to specify how often you want to run the action.
Always: Specifies that the Integration Service will run the action each time it runs the integration.
Never: Specifies that the Integration Service will not run the action when it runs the integration.
Conditionally, based on variable: Specifies that the Integration Service will run the action only when a selected variable meets a specified condition. Use this option in situations where there is only one condition that determines whether or not the action will run. Once you have enabled this option, you can create the conditional statement in the input box provided.
Conditionally, based on expression: Specifies the conditions under which the Integration Service will run the action. Use this option for situations that require more than one conditional statement. Once you have enabled this option, you can create the conditional expression in the input box provided by creating the desired conditional statements. You create and edit your conditional expression on the Tree View tab. Click the Text View tab to see a read-only text view of the conditional expression.
Options
Name of iteration variable: Specifies the name of the variable that will be incremented or decremented with each iteration of the loop. Enter a unique variable name that is used only for this action.
Increment: When this option is selected, the iteration variable is incremented with each iteration of the loop.
Decrement: When this option is selected, the iteration variable is decremented with each iteration of the loop.
For each of the following options, you can enter a value. Alternatively, you can add a variable or add a special character to the value you have entered.
Start value: Specifies the start value for the iteration variable.
End value: Specifies the end value for the iteration variable. When this value is reached, the loop action stops.
Increment value or Decrement value: Specifies the value by which the iteration value will be incremented or decremented with each iteration of the loop. Enter the value that you want in the input box.
User Account
Inherit from parent action: When enabled, the action inherits the user account credentials specified on the Actions property page. Alternatively, if the action is part of a Group action, it will inherit the user account credentials specified on the immediate parent Group action’s property page.
Specify user credentials: When enabled, the action runs using the credentials specified.
Error Handling and Diagnostics
Ignore errors and continue running actions: When enabled, specifies that if the action fails, the remaining actions will continue to run.
|
When this property is not enabled and the action fails, the resulting behavior depends on the following scenarios:
If the selected action is within a Group action, no actions outside of that Group action are affected. |