Skip To Content

Ajouter et configurer une étape Open Web Page (Ouvrir une page Web)

L’étape Open Web Page (Ouvrir une page Web) permet d’intégrer des pages Web et des applications Web dans l’application Web ArcGIS Workflow Manager et dans ArcGIS Pro. Cela permet aux utilisateurs Workflow Manager d’interagir facilement avec la page Web ou l’application Web.

Lorsque l’étape est exécutée dans l’application web Workflow Manager, la page web ou l’application web définie dans l’étape s’ouvre dans la page Work (Tâche). Les informations concernant l’étape s’affichent dans le volet Details (Détails) ; vous pouvez les réduire en cliquant sur le bouton Minimize (Réduire) Collapse Panel.

Lorsque l’étape est exécutée dans ArcGIS Pro, la page Web ou l’application Web définie dans l’étape s’ouvre dans ArcGIS Pro.

Remarque :

Lorsque cette étape est exécutée par une autre personne, l’icône Running (En cours d’exécution) Running apparaît sur la tâche.

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.
Remarque :

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

Configurer l’étape

To configure the step, do the following:

Attention :

Afin de réduire les vulnérabilités de sécurité, configurez l’étape Open Web Page (Ouvrir une page Web) uniquement pour des pages Web et des applications Web de confiance.

  1. Create or edit a workflow diagram to access the Step Library panel.
  2. Faites glisser Open Web Page (Ouvrir une page Web) depuis le volet Step Library (Bibliothèque d’étapes) vers une flèche de connexion d’une étape de la zone d’affichage du workflow.

    The Step Details panel appears.

  3. Provide a name for the step in the Step Name text box.
  4. Saisissez l’URL de la page Web ou de l’application Web dans la zone de texte Web Page URL (URL de la page Web).

    Vous pouvez aussi utiliser des expressions ArcGIS Arcade pour fournir une valeur dynamique. Si la valeur Web Page URL (URL de la page web) contient du texte brut et des expressions ArcGIS Arcade, vous devez formater le texte comme suit :

    'https://webadaptorhost.domain.com/webadaptorname/<BranchVersionedFeatureServiceName>/?versions=' + JobVersion($Job, '<DataSourceName>') + '&extent=' + JobLocation($Job)

    Remarque :

    L’étape Open Web Page (Ouvrir une page Web) prend uniquement en charge les URL sans restriction d’intégration, ainsi que les applications Web publiques d’un portail ArcGIS Enterprise. Les applications Web sécurisées d’un portail ArcGIS Enterprise et les pages Web à contenu mixte ne sont pas prises en charge.

  5. Vous pouvez également cocher la case Open In New Browser (Ouvrir dans une nouvelle fenêtre de navigateur) pour ouvrir la page Web ou l’application Web dans une nouvelle fenêtre de navigateur lorsque l’étape est exécutée dans l’application Web Workflow Manager.
  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.
      Remarque :

      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 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) + '.'

  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.
    Remarque :

    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.

Valeur en sortie

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:

SortieDescription

<URL>

Renvoie l’URL de la page Web ou de l’application Web ouverte.

Rubriques connexes