For Loop |
在分配的变量值通过每个循环迭代递增或递减而达到指定的值之前,通过“For Loop”操作可以指定一个操作或 Integration Service 将继续按顺序执行的一组操作。
You can configure the following properties for the For Loop action:
操作
名称: 指定操作的名称。 如果需要,可以通过在字段中键入新名称来替换默认名称。
描述: 用于保存操作的描述。
Run Action: 用于指定希望运行操作的频率。
始终: 指定 Integration Service 将在每次运行集成时运行操作。
从不: 指定 Integration Service 将不会在运行集成时运行操作。
Conditionally, based on variable: Specifies that the Integration Service will run the action only when a selected variable meets a specified condition. 在仅有一个条件可以确定是否运行操作的情况下才可使用此选项。 只要启用了此选项,就可以在提供的输入框中创建条件语句。
根据表达式,在一定条件下: Specifies the conditions under which the Integration Service will run the action. 此选项在需要不只一个条件语句的情况下使用。 只要启用了此选项,就可以通过创建所需的条件语句在提供的输入框中创建条件表达式。 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.
选项
Name of iteration variable: Specifies the name of the variable that will be incremented or decremented with each iteration of the loop. 键入一个仅用于此操作的唯一变量名称。
递增: When this option is selected, the iteration variable is incremented with each iteration of the loop.
递减: 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.
起始值: 指定迭代变量的起始值。
最终值: 指定迭代变量的最终值。 在达到此值后,循环操作将停止。
Increment value or Decrement value: 指定迭代值将会通过每个循环迭代递增或递减的值。 Enter the value that you want in the input box.
用户帐户
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.
指定用户凭据: 启用此选项后,会使用指定的凭据运行操作。
错误处理和诊断
Ignore errors and continue running actions: 启用此选项后,指定如果操作失败,那么会继续运行其余操作。
|
如果未启用此属性,并且操作失败,那么产生的行为取决于以下方案:
If the selected action is within a Group action, no actions outside of that Group action are affected. |