Set Multiple Variables |
The Set Multiple Variables action sets the values of one or more variables, including existing variables or new variables that you specify.
You can configure the following properties for the Set Multiple Variables 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.
Variables
Add Variable: Click Add Variable to begin defining the first desired variable. Available only when no variables have previously been added.
Add: Click Add to define another variable. Available only after at least one variable has been added.
Variables: The Variables list displays each variable that has been added. Click on a variable in the list to view its Name and Value properties.
Name: Displays the name of the variable currently selected in the Variables list. Type a new name in the text box if desired. Alternatively, you can add a variable to define the variable name.
Value: Specifies the value for the variable currently selected in the Variables list. Type a new value in the text box if desired.
Import: Opens the Open File dialog so that you can browse to and select a file that contains the value(s) you want assigned to the variable. When selected, the contents of the file are imported into the Value field.
Export: Opens the Save File dialog so that you can save the contents of the Value field as an external file. You can save the value as a new file, or replace the contents of an existing file.