Skip To Content


“添加附件”步骤用于将文件附件添加至作业或将文件与作业相关联。 运行步骤时,作业切片中将显示以下按钮,具体取决于步骤的配置:

  • 作业切片中将显示浏览按钮,用于将文件附加到作业。


  • 作业切片中将显示链接按钮,用于将文件与作业相关联。


Workflow Manager Web 应用程序中上传文件或将其与作业相关联后,可执行以下操作:

  • 名称文本框中更新文件的名称。
  • 单击操作按钮显示附件,下载附件或复制附件的文件路径或文档 ID。
  • 单击删除附件按钮 Delete Attachment 删除附件。

要在 Workflow Manager Web 应用程序的详细信息面板中显示作业附件,单击附件选项卡 Attachments


ArcGIS Pro 中上传文件或将其与作业相关联后,可执行以下操作:

  • 名称文本框中更新文件的名称。
  • 单击操作按钮显示附件,在计算机默认应用程序中打开附件或复制附件文本或文档 ID。
  • 单击删除附件按钮 Delete Attachment 删除附件。

When the step is run, the following actions can be performed:

  • 可通过单击暂停暂停步骤。


  • The step can be finished by clicking Proceed.

If the step isn't optional, the step must be run or paused at least once before it can be finished.


To configure the step, do the following:

  1. Create or edit a workflow diagram to access the Step Library panel.
  2. 添加附件步骤库面板拖至工作流画布上步骤的连接箭头。

    The Step Details panel appears.

  3. Provide a name for the step in the Step Name text box.
  4. Optionally, add the message you want to appear when the step is run in the User Prompt text box.

    You can also use the following example to display a dynamic value using ArcGIS Arcade expressions:

    'This job is currently assigned to ' + jobOwner($job) + '.'
  5. (可选)在文件夹文本框中提供将存储附件的文件夹的名称。

    文件夹名称不能包含文件系统路径或特殊字符。 如果未提供文件夹名称,将自动创建名为 General 的文件夹。



  6. (可选)允许文件附加至作业。
    1. 附件类型部分中,选中已嵌入复选框。

      The maximum file size of each embedded attachment is determined by your feature layer.

    2. 将输入限制为以下文件类型文本框中,提供可附加文件类型的文件扩展名逗号分隔列表。

      如果未在将输入限制为以下文件类型文本框中指定文件扩展名列表,则可附加到作业的文件类型取决于 ArcGIS Enterprise 门户配置。

      了解有关 ArcGIS Enterprise 门户中支持的文件类型的详细信息

  7. (可选)允许文件与作业相关联。
    1. 附件类型部分中,选中已链接复选框。
    2. 选择已链接文件选项之一:
      • URL - 将文件 URL 与作业相关联
      • 文件路径 - 将文件路径与作业相关联
      • 文本 - 将文件或文件夹路径或文档 ID 与作业相关联
  8. Click the Options tab.
  9. Configure Step Options as necessary.
    • Manual—Run the step manually.
      • Optional—Allow the step to be finished without being run.
    • Automatic—Run the step as soon as it becomes active.

      If your workflow diagram is configured to automatically run a sequence of steps that includes the Evaluate Data Quality or the Run GP Service step, steps that attempt to run after the user token that started the sequence of steps expires will not run automatically. You must have a license for the ArcGIS Workflow Manager Server Advanced role to continue running the additional automated steps without manual intervention.

    • Run on a Schedule—Run the step according to a schedule you set.

      Learn more about scheduling options

  10. Optionally, provide help text for the step in the Step Help text box.

    You can also use the following example to display a dynamic value using ArcGIS Arcade expressions:

    'For further assistance, please contact ' + jobCreator($job) + '.'
  11. Optionally, click the Style tab to change the shape and color of the step.
  12. Optionally, click the About tab and provide a description for the step in the Step Description text box.

    The About tab also contains the step's ID that can be used with dynamic job properties to obtain a step's output.

Return value

When the step is completed, its return value is stored to indicate the result of the step. The return value can be immediately evaluated using paths to determine the next steps in the workflow. You can also retrieve the return value for completed steps throughout the workflow using ArcGIS Arcade expressions. The following table lists the step's return values:

Return valuesDescription


The step completed successfully.


The step failed to complete successfully.


  1. 配置步骤
  2. Return value