Skip To Content

Hinzufügen und Konfigurieren des Schrittes "Auftragseigenschaften aktualisieren"

Mithilfe des Schrittes "Auftragseigenschaften aktualisieren" kann der Benutzer, der einen Auftrag ausführt, die erweiterten Eigenschaften und die folgenden Auftragseigenschaften aktualisieren:

  • job_name
  • start_date
  • due_date
  • priority_rank
  • description
  • owned_by
  • job_status
  • notes
  • parent_job

Wenn der Schritt ausgeführt wird, werden die in dem Schritt konfigurierten Eigenschaften auf der Auftragskachel angezeigt. Wenn zu dem Schritt ein Hilfetext konfiguriert wurde, wird er unten auf der Auftragskachel angezeigt. Die Standard- oder aktuellen Werte werden in einem Textfeld unterhalb jeder Eigenschaft angezeigt, die aktualisiert werden kann.

Wenn eine Eigenschaft einen ungültigen Wert enthält, oder wenn eine erforderliche Eigenschaft keinen Wert enthält, wird die Eigenschaft rot markiert und die Schaltfläche Fortfahren ist nicht verfügbar.

Hinweis:

Wenn eine Eigenschaft automatisch aktualisiert wird und ein Fehler auftritt, schlägt der Schritt fehl und auf der Auftragskachel wird eine Fehlermeldung angezeigt. Der Fehler wird auch in die ArcGIS Server-Protokolle geschrieben.

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.

Konfigurieren des Schrittes

To configure the step, do the following:

  1. Create or edit a workflow diagram to access the Step Library panel.
  2. Ziehen Sie Auftragseigenschaften aktualisieren aus dem Fenster Schrittbibliothek auf den Verbindungspfeil eines Schrittes auf der Workflow-Zeichenfläche.

    The Step Details panel appears.

  3. Provide a name for the step in the Step Name text box.
  4. Optionally, add the message you want to appear when the step is run in the User Prompt text box.

    You can also use the following example to display a dynamic value using ArcGIS Arcade expressions:

    'This job is currently assigned to ' + jobOwner($job) + '.'
  5. Geben Sie im Abschnitt Argumente in das Textfeld Auftragseigenschaft den Tabellennamen und den Feldnamen der Eigenschaft ein, die Sie aktualisieren möchten, und verwenden Sie dabei die folgende Syntax:
    tablename.fieldname
    Hinweis:

    Der Tabellenname für Auftragseigenschaften lautet jobs. Die Tabellennamen der Tabellen mit den erweiterten Eigenschaften finden Sie auf der Registerkarte Erweiterte Eigenschaften der Auftragsvorlage.

  6. Optional klicken Sie auf die Schaltfläche Standardwert anzeigen Show Default Value, um den Standardwert und die Sichtbarkeitseinstellungen der Eigenschaft zu definieren, wenn der Schritt ausgeführt wird.
    1. Wählen Sie eine der folgenden Optionen:
      • Wert: Geben Sie einen statischen Wert ein.
      • Arcade-Ausdruck: Geben Sie einen dynamischen Wert mithilfe eines Arcade-Ausdrucks ein.
    2. Geben Sie einen Standardwert für die Eigenschaft in das Textfeld Wert oder das Textfeld Arcade-Ausdruck ein.
    3. Aktivieren Sie das Kontrollkästchen Sichtbar, damit der Wert geändert werden kann, wenn der Schritt ausgeführt wird.
    Vorsicht:

    Wenn kein Standardwert eingegeben wurde und das Kontrollkästchen Sichtbar nicht aktiviert wurde, wird der aktuelle Wert der Auftragseigenschaft gelöscht, wenn der Schritt ausgeführt wird.

  7. Optional klicken Sie auf Neue Auftragseigenschaft hinzufügen und wiederholen die Schritte 5 und 6, um weitere Eigenschaften hinzuzufügen.
    Hinweis:

    Um eine Auftragseigenschaft zu löschen, bewegen Sie den Mauszeiger darüber und klicken auf die Schaltfläche Eigenschaft löschen Delete Property.

  8. Optionally, hover over a property, click the Reorder Property button Reorder Property, and drag it to the desired location to reorder the properties.
  9. Click the Options tab.
  10. 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.
      Hinweis:

      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

  11. Optionally, check the Enabled check box in the Step Commenting section to allow a user to add a comment when the step is run.
  12. Optionally, if you enabled step commenting, check the Required check box in the Step Commenting section to require a comment.
  13. 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) + '.'
  14. Optionally, click the Style tab to change the shape and color of the step.
  15. Optionally, click the About tab and provide a description for the step in the Step Description text box.
    Hinweis:

    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.

Verwandte Themen