Skip To Content

添加和配置“打开 Pro 工程项目”

“打开 Pro 工程项目”步骤用于打开在工程中配置的现有 ArcGIS Pro 工程项目,例如地图、布局、场景、任务和 Web 地图。 如果项目是制图项目,数据图层可自动指向作业特定数据版本(如果可用)。

注:

只能从 ArcGIS Pro 运行此步骤类型。 要获取与在 ArcGIS Workflow Manager Web 应用程序中相似的体验,使用打开 Web 页面步骤。

运行该步骤时,ArcGIS Pro 工程中将打开在该步骤中定义的项目。 如果启用了查看错误检查器,将显示错误检查器窗格并向地图添加包含错误要素的图层。 如果为步骤配置了帮助文本,该文件将在作业切片的底部显示。

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

  • The step can be paused by clicking Pause.
  • The step can be finished by clicking Finish.
注:

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

配置步骤

可以向步骤添加 ArcGIS Pro 地图、布局、Web 地图和任务的任意组合。 项目在 ArcGIS Pro 中的打开顺序取决于其添加至步骤的顺序。

To configure the step, do the following:

  1. Create or edit a workflow diagram to access the Step Library panel.
  2. 打开 Pro 工程项目步骤库面板拖至工作流画布上步骤的连接箭头。

    The Step Details panel appears.

  3. Provide a name for the step in the Step Name text box.
  4. 参数部分中,单击编辑

    ArcGIS Pro 制图步骤对话框随即显示。

  5. 打开项目部分中,单击打开新项目以添加要在工程中打开的项目。
    注:

    运行步骤时,项目必须位于 ArcGIS Pro 工程中,否则步骤将失败。

  6. 名称文本框中,提供要使用的项目的名称。
  7. 类型下拉列表中,选择要使用的项目的类型。
  8. 如果在工作流逻辑示意图中使用创建版本步骤创建作业特定数据版本,则选中重新指向版本复选框以在运行步骤时使制图项目数据图层重新指向至作业特定版本。
    注:

    重新指向版本复选框不适用于任务项目。

  9. (可选)重复步骤 5 到 8 添加更多项目。
    注:

    要删除项目,将光标悬停在项目上,然后单击删除项目按钮 Delete Item

  10. (可选)单击完成选项卡,然后选中重置为默认值复选框以在完成步骤时使制图项目数据图层重新指向原始版本。
    注:

    重置为默认值复选框不适用于任务项目。

  11. (可选)单击高级选项卡,然后根据需要配置选项。
    • 缩放至位置 - 如果定义了作业位置,将地图项目缩放至作业位置
    • 查看错误检查器 - 打开错误检查器窗格,以查看地图上的错误要素。

      对于要素服务数据源,错误图层必须在服务中存储并且必须使用验证功能对数据源进行分支版本化。

  12. Click Save.
    注:

    The Save button isn't available when parameters are configured with invalid values.

  13. Click the Options tab.
  14. 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

  15. Optionally, check the Enabled check box in the Step Commenting section to allow a user to add a comment when the step is run.
  16. Optionally, if you enabled step commenting, check the Required check box in the Step Commenting section to require a comment.
  17. 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) + '.'
  18. Optionally, click the Style tab to change the shape and color of the step.
  19. 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

S000001

The step completed successfully.

F000001

The step failed to complete successfully.

相关主题


在本主题中
  1. 配置步骤
  2. Return value