Skip To Content

添加和配置声明版本

“声明版本”步骤用于将一个或多个特定于作业的数据版本所有者更改为当前用户。 这允许在执行作业期间将数据所有权从一个用户转移至另一个用户。 例如,编辑者运行创建版本步骤创建特定于作业的数据版本,然后运行打开 Pro 工程项目步骤添加和编辑要素。 在编辑者完成该步骤时,作业将分配给质量控制 (QC) 群组以供检查。 当 QC 群组中的用户运行“声明版本”步骤时,特定于作业的数据版本的所有权将从编辑者转移至 QC 用户,以允许其对数据进行更改。

运行该步骤时,会将特定于作业的数据版本的所有权更改为当前用户。 如果特定于作业的数据版本不存在,则作业切片中将显示一条错误消息。

配置步骤

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. 数据源部分中,选择以下选项之一:
    • 全部 - 选择此选项可声明在工作流逻辑示意图中配置的所有数据源版本。
    • 选择源 - 选择此选项,然后单击添加源可选择要声明的数据源。
      提示:

      要删除数据源,单击删除按钮 Delete

    • Arcade 表达式 - 选择此选项并提供返回数据源的项目 ID 的 ArcGIS Arcade 表达式,可动态确定运行该步骤时声明的数据源版本。
      提示:

      Click the This input supports Arcade Expressions button This input supports Arcade expressions and choose an ArcGIS Arcade expression to add it to its associated text box.

  5. Click the Options tab.
  6. 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

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

    You can also use ArcGIS Arcade expressions to provide a dynamic value for the step help. If the step help contains plain text and Arcade expressions, you'll need to format the text as follows:

    'For further assistance, please contact ' + JobCreator($Job) + '.'

  8. Optionally, click the Style tab to change the shape and color of the step.
  9. 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