Skip To Content

質問の追加および構成

[質問] ステップは、ワークフローへの判断ポイントの追加に使用できます。 これにより、ワークフローで実行する次のステップを決定する、事前構成済みの回答を含む質問を定義することができます。

ステップが実行されると、質問が表示され、回答がボタンで表示されます。 ステップにヘルプ テキストが構成されている場合、ジョブ タイルの下部に表示されます。 回答をクリックすると、質問の戻り値が設定され、ステップが完了します。 4 つ以上の回答が構成されている場合は、[続行] ボタンとともにドロップダウン リストに表示されます。

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

  • 回答を選択すると、ステップが完了します。 ステップに 3 つ以上の回答が構成されている場合、ドロップダウン リストで回答を選択できます。
  • The step can be canceled 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. [質問] テキスト ボックスに質問を入力します。

    ArcGIS Arcadeを使用して動的な値を入力することもできます。 質問にプレーン テキストと Arcade 条件式が含まれている場合、次のようにテキストの書式を設定する必要があります。

    'Would you like to edit the job location for ' + JobName($Job) + '?'
    ヒント:

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

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

  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. Click Copy Step ID Copy Step ID to copy the step ID to your clipboard.

リターン値

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:

リターン値説明

<CustomReturnValue>

ステップが正常に完了し、ステップで定義された回答に一致するカスタム戻り値が返されます。

関連トピック


このトピックの内容
  1. ステップの構成
  2. リターン値