Skip To Content

ジョブ バージョンの設定の追加と構成

ジョブ バージョンの設定ステップでは、既存のブランチ バージョンをジョブの現在のバージョンとして設定できます。 ステップを実行すると、ジョブ バージョンが指定したバージョンで上書きされます。 指定されたバージョンが存在しないか、ステップを実行しているユーザーがそのバージョンへのアクセス権を持たない場合は、ステップは失敗し、ジョブ タイルにエラー メッセージが表示されます。

ステップの [管理対象のワークフロー] を有効にすると、Workflow Manager はブランチ バージョンを管理し、バージョンの要求ステップとクリーンナップ ステップはバージョンの変更や削除に使用できます。

ステップの構成

ステップを構成するには、次の手順に従います。

  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. [データ ソース] セクションで、次のオプションを選択します。
    • [ソースの選択] - [ソースの選択] ドロップダウン矢印をクリックし、設定したいバージョンを含むデータ ソースを選択します。
    • [Arcade 式] - 設定したいバージョンを含むデータ ソースのアイテム ID を返す ArcGIS Arcadeを指定します。
      ヒント:

      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.

    注意:

    このステップでは、1 つのデータ ソースのみ使用できます。 複数のデータ ソースのジョブ バージョンを設定する必要がある場合、ワークフロー ダイアグラムでジョブ バージョンの設定ステップをさらに構成します。

  5. [バージョン] セクションでオプションを選択します。
    • [バージョン GUID] - 使用したいブランチ バージョンの GUID を指定します。 これはパフォーマンスを向上するため、推奨される方法です。
    • [バージョン名] - 使用したいブランチ バージョンの完全修飾バージョン名を指定します (WORKFLOWUSER.JOB_44 など)。
  6. 必要に応じて [管理対象のワークフロー] チェックボックスをオンにし、Workflow Manager がブランチ バージョンを管理できるようにします。

    これにより バージョンの要求ステップとクリーンナップ ステップも有効になるため、バージョンの変更または削除も行えます。

  7. Click the Options tab.
  8. 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

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

  10. Optionally, click the Style tab to change the shape and color of the step.
  11. 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 lists the step's output values:

出力説明

バージョン

設定されたバージョンの配列が返されます。

dataSource

バージョンが正常に設定されたデータ ソースの URL の配列が返されます。


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