Skip To Content

高度な割り当ての追加および構成

高度な割り当てステップでは、ステップの出力値に基づいて後続のステップをユーザーに割り当てることができます。 また、ジョブの位置を使用するようステップを構成し、ユーザーまたはグループのリストを含むフィールドを含んでいる参照レイヤーを検索してユーザーまたはグループを後続のステップに自動的に割り当てることもできます。 ステップが完了したら、後続のステップを選択されたユーザーまたはグループに自動的に割り当てることができます。

ステップが実行されると、後続のステップの割り当て先を選択するよう求められます。 参照レイヤーを使用してステップを構成すると、後続のステップが割り当てられるユーザーまたはグループは自動的に決定されます。

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

  • The step can be finished by clicking Proceed.
  • The step can be canceled by clicking Cancel.
注意:

ステップがオプションでない場合、ステップが完了する前に実行する必要があります。

ステップの構成

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. Optionally, add the message you want to appear when the step is run in the User Prompt text box.

    If the user prompt contains plain text and Arcade expressions, you'll need to format the text as follows:

    'This job is currently assigned to ' + JobOwner($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. グループのステップ割り当てを構成するには、[グループ割り当てを強制的に実行] チェックボックスをオンにし、ステップを実行しているユーザーがグループのメンバーであっても、ステップが常にグループに割り当てられるようにします。
  7. 次の [割り当て方法] オプションの中から 1 つを選択します。
    • [ユーザー定義] - 後続のステップが割り当てられるユーザーを手動で選択します。
    • [空間的] - ジョブの位置を使用してユーザーまたはグループのリストを含むフィールドを含んでいる参照レイヤーを検索して、後続のステップが割り当てられるユーザーまたはグループを決定します。
  8. [ユーザー定義] を選択した場合は、次のいずれかを実行します。
    • [すべてのユーザー] - すべてのユーザーが後続のステップに割り当てられるようにするには、このオプションを選択します。
    • [グループ] - 選択したグループ内のユーザーだけが後続のステップに割り当てられるようにするには、このオプションを選択し、[グループ] ドロップダウン矢印をクリックしてグループを選択します。
  9. [空間的] を選択した場合は、[追加] をクリックして、参照レイヤーを追加します。

    [高度な割り当てステップ] ダイアログ ボックスが表示されます。

    1. 次のオプションのいずれかを選択して、参照レイヤーの配置先を指定します。
      • [この Enterprise] - Workflow Manager と同じポータルでホストされているフィーチャ レイヤー。
      • [ArcGIS Online] - ArcGIS Online でホストされているフィーチャ レイヤー。
      • [その他] - 別のポータルでホストされているフィーチャ レイヤー。
      注意:

      フィーチャ レイヤーはポリゴン レイヤーである必要があります。

    2. [その他] を選択した場合は、[ポータル URL] テキスト ボックスにフィーチャ レイヤーを含むポータルの URL を入力し、Enter キーを押します。

      ArcGIS Enterprise の場合、形式 https://webadaptorhost.domain.com/webadaptorname を使用します。

    3. [アイテム ID] テキスト ボックスに、フィーチャ レイヤーのアイテム ID を入力します。
    4. [レイヤー名] ドロップダウン矢印をクリックして、参照レイヤーとして使用するレイヤーを選択します。
    5. [アサインメント フィールド] ドロップダウン矢印をクリックして、ユーザーまたはグループの割り当ての決定に使用するフィールドを選択します。
      注意:

      選択したフィールドにはユーザーまたはグループのみを含めることができます。

    6. [参照名] テキスト ボックスに参照レイヤーの名前を入力します。

      これがステップの構成に表示される名前になります。

    7. [OK] をクリックします。

      参照レイヤーが [ステップの詳細] パネルに表示されます。

      注意:

      参照レイヤーを編集するには [参照レイヤーの編集] Edit Reference Layer をクリックし、参照レイヤーを削除するには [参照レイヤーの削除] Delete Reference Layer をクリックします。

    8. [参照レイヤー] の下にある [ステップの詳細] パネルで、次のオプションのいずれかを選択します。
      • [ユーザー] - 選択した [アサインメント フィールド] にユーザーが含まれている場合は、このオプションを選択します。
      • [グループ] - 選択した [アサインメント フィールド] にグループが含まれている場合は、このオプションを選択します。
  10. Click the Options tab.
  11. 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

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

Return valueDescription

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 can be used as inputs for other steps throughout the workflow. The following table shows the step's output value:

出力説明

assignment

後続のステップが割り当てられるユーザーまたはグループのユーザー名またはグループ ID を返します。

assignmentMethod

ユーザーまたはグループの割り当てに使用された方法に応じて UserDefined または Spatial を返します。

関連トピック


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