Skip To Content

添加和配置“打开 Web 页面”

“打开 Web 页面”步骤可用于在 ArcGIS Workflow Manager Web 应用程序和 ArcGIS Pro 中集成 Web 页面和 Web 应用程序。 这样 Workflow Manager 用户可以与 Web 页面或 Web 应用程序进行无缝交互。

Workflow Manager Web 应用程序中运行步骤时,工作页面中将打开在步骤中定义的 Web 页面或 Web 应用程序。 步骤信息在详细信息面板中显示,并且可通过单击最小化按钮 Collapse Panel 进行最小化。

ArcGIS Pro 中运行步骤时,ArcGIS Pro 的视图中将打开在步骤中定义的 Web 页面或 Web 应用程序。

注:

当其他人正在执行该步骤时,作业上将显示正在运行图标 Running

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.

配置步骤

To configure the step, do the following:

警告:

为了减少安全漏洞,应仅为受信任的 web 页面和 web 应用程序配置“打开 Web 页面”步骤。

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

    The Step Details panel appears.

  3. Provide a name for the step in the Step Name text box.
  4. Web 页面 URL 文本框中,键入 web 页面或 web 应用程序的 URL。

    还可以在 Web 页面 URL 文本框中使用 ArcGIS Arcade 表达式。 例如,'https://webadaptorhost.domain.com/webadaptorname/<BranchVersionedFeatureServiceName>/?versions='+jobVersion($job,'<DatasourceName>')+'&extent='+jobLocation($job)

    了解有关动态作业属性的详细信息

    注:

    “打开 Web 页面”步骤仅支持无嵌入限制的 URL 以及 ArcGIS Enterprise 门户中的公共 Web 应用程序。 不支持 ArcGIS Enterprise 门户中的受保护 Web 应用程序以及包含混合内容的 Web 页面。

  5. (可选)选中在新浏览器中打开复选框以当在 Workflow Manager Web 应用程序中运行步骤时在新浏览器窗口中打开 web 页面或 web 应用程序。
  6. Click the Options tab.
  7. 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

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

输出值

When the step is completed, its output value is stored and can be used to determine the path the workflow follows or be used as inputs for other steps throughout the workflow. The following table shows the step's output value:

输出描述ArcGIS Arcade 表达式语法

<URL>

返回已打开的 web 页面或 web 应用程序的 URL。

jobOutputValue($job, '<step_id>')

相关主题