在源文本开头前插入 |
“在源文本开头前插入”操作会打开指定的源,并在源文本的开头前插入提供的文本或字符。
可以为“在源文本开头前插入”操作配置以下属性:
操作
名称: 指定操作的名称。 如果需要,可以通过在字段中键入新名称来替换默认名称。
描述: 用于保存操作的描述。
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.
来源
来源: 指定希望执行操作的数据的来源。
值: 使用提供的输入框输入想要操作使用的数据。 Alternatively, you can add a variable to specify the data, or add a special character to the value you have entered.
导入: 打开“打开文件”对话框以便浏览到包含所需数据的文件,并将其选中。 系统会将该文件的内容导入到“值”输入框中。
导出: 打开“保存文件”对话框以便将“值”输入框中的内容另存为外部文件。 可以将值另存为新文件或替换现有文件的内容。
变量:
变量: 键入指定想要为来源使用的变量。 或者,可以添加一个变量。
外部文件:
位置: 指定源文件夹所在的文件系统。 File systems or locations can include local file systems or network shares, Librarian, or a supported cloud storage location. For more information about supported cloud storage locations, see Administration Console's
文件名: 指定文件路径。 可以键入文件夹位置和文件名称,或单击“浏览”以找到所需的文件并选中。 Alternatively, you can add a variable to specify the desired file, or add a special character to the value you have entered.
文件编码: 指定源文件使用的编码。
选项
插入: 指定希望插入的文本或字符。 输入所需的内容。 Alternatively, you can add a variable specifying the content to insert, or add a special character to the value you have entered.
插入文本包含变量: 启用此选项后,在插入文本之前,会先处理插入文本中包含的任意变量。
输出
Save output to variable: 指定想要保存操作输出的变量。 输入所需变量。 或者,可以添加一个变量。
测试在源文本开头前插入
测试: 运行操作。 The Message pane displays information on the success or failure of the action.
|
Clicking the Test button executes the action only and does not run the integration. 因此,操作将会在不使用曾经可能配置为使用的集成中的任何数据的情况下运行。 For information on testing your integration, refer to Using the Test Pane. |
用户帐户
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. |
Retry if failed: 启用此选项后,指定如果操作失败,那么 Integration Service 会尝试再次运行操作。
Maximum retries: 指定 Integration Service 将会再次尝试运行操作的最大次数。 Available when Retry if failed is enabled.
Retry interval: 指定 Integration Service 将在操作失败后,尝试再次运行操作之前等待的最大时间。 Available when Retry if failed is enabled.