Skip To Content

[ジョブの作成] の追加および構成

ワークフローの一部としてジョブを作成することで、複雑かつ定期的なワークフローの拡張性と管理性が向上し、ワークフローが理解および実行しやすくなります。 [ジョブの作成] ステップでは、依存関係を自動的に生成し、ジョブ間の親子関係を設定することで、ビジネス プロセスの各パートが維持および考慮されるようにすることができます。

ステップが実行されると、ステップで構成されたジョブ テンプレートから新しいジョブが作成され、ステップの構成に応じて、新しいジョブと現在のジョブの間にリレーションシップが生成されます。 ステップにヘルプ テキストが構成されている場合、ジョブ タイルの下部に表示されます。

ステップの構成

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. [ジョブ タイプ] ドロップダウン矢印をクリックし、作成するジョブのタイプに対応するジョブ タイプを選択します。
  5. 必要に応じて、[子ジョブとして作成] チェックボックスをオンにし、作成したジョブをアクティブなジョブの子ジョブにすることができます。
  6. 必要に応じて、[依存関係として作成] チェックボックスをオンにし、作成したジョブをアクティブなジョブの依存関係にすることができます。

    現在のジョブの次のステップが完了する前に、すべてのジョブの依存関係が完了する必要があります。

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

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

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.

出力値

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:

出力説明ArcGIS Arcade 式の構文

<JobID>

作成されたジョブの JobID を返します。

jobOutputValue($job, '<step_id>')

関連トピック


このトピックの内容
  1. ステップの構成
  2. Return value
  3. 出力値