Skip To Content


“问题”步骤可用于向工作流添加决策点。 这允许定于具有预配置响应的问题,用于确定要在工作流中运行的下一步。

运行步骤时,将显示问题,响应显示为按钮。 如果为步骤配置了帮助文本,该文件将在作业切片的底部显示。 单击响应时,将设置问题的返回值并完成步骤。 如果配置的响应超过三个,将以下拉列表的形式显示这些响应以及一个继续按钮。

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

  • 可以选择响应来完成步骤。 如果为步骤配置的响应超过两个,可以在下拉列表中选择响应。
  • The step can be cancelled by clicking Cancel.
  • The step can be finished by clicking Proceed.


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. 问题文本框中提供问题。
  5. 答案返回代码文本框中提供预配置答案和返回值。




  6. (可选)单击添加新响应添加多个答案。

    要删除答案,将光标悬停在答案上,然后单击删除答案按钮 Delete Answer

  7. (可选)对答案重新排序。
    1. 将光标悬停在答案上。
    2. 单击重新排序答案按钮 Reorder Answer,然后将其拖至所需位置。
  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, check the Enabled check box in the Step Commenting section to allow a user to add a comment when the step is run.
  11. Optionally, if you enabled step commenting, check the Required check box in the Step Commenting section to require a comment.
  12. 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) + '.'
  13. Optionally, click the Style tab to change the shape and color of the step.
  14. 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.


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 value:





  1. 配置步骤
  2. 返回值