Skip To Content

[1 対多のジョブ プロパティの更新] の追加および構成

1 対多のジョブ プロパティの更新ステップでは、レコードの作成、およびステップで構成されたジョブの 1 対多のプロパティ テーブルの最新レコードのプロパティの表示および編集を行うことができます。

ステップが実行されると、ステップで構成されたプロパティがジョブ タイルに表示されます。 ステップにヘルプ テキストが構成されている場合、ジョブ タイルの下部に表示されます。 更新可能な各プロパティの下にあるテキスト ボックスに、デフォルト値または現在の値が表示されます。

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

  • 構成されたプロパティは、表示または編集することができます。
  • 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. [1 対多のジョブ プロパティの更新][ステップのライブラリ] パネルからワークフロー キャンバス上のステップの接続矢印にドラッグします。

    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. [引数] セクションの [ジョブ プロパティ] テキスト ボックスに、更新するプロパティのテーブル名とフィールド名を次の構文で入力します。
    tablename.fieldname
    注意:

    拡張プロパティ テーブルのテーブル名は、ジョブ テンプレートの [拡張プロパティ] タブに表示されます。

  7. 必要に応じて、[デフォルト値の表示] Show Default Value をクリックし、ステップが実行される際のプロパティのデフォルト値と表示設定を定義します。
    1. 次のオプションの中から 1 つを選択します。
      • [値] - 静的な値を入力します。
      • [Arcade 式] - Arcade 式を使用して動的な値を入力します。
    2. [値] または [Arcade 式] テキスト ボックスで、プロパティのデフォルト値を入力します。
    3. ステップが実行される際に値を変更できるようにするには、[表示] チェックボックスをオンにします。
      注意:

      [可視] チェックボックスがオンでない場合、デフォルト値を指定する必要があります。

    4. ステップが実行される際に値を編集できるようにするには、[編集可能] チェックボックスをオンにします。
      注意:

      [可視] チェックボックスがオンでない場合、[編集可能] チェックボックスを使用できません。

    注意:

    ステップで [可視] または [編集可能] チェックボックスをオンにすると、拡張プロパティ テーブルの [可視] または [編集可能] チェックボックスの指定がオーバーライドされます。

  8. 必要に応じて、[新しいジョブ プロパティの追加] をクリックし、ステップ 6 と 7 を繰り返して、さらにプロパティを追加します。
    注意:

    ジョブ プロパティを削除するには、そのプロパティの上にカーソルを置き、[プロパティの削除] Delete Property をクリックします。

  9. Optionally, hover over a property, click Reorder Property Reorder Property, and drag it to the desired location to reorder the properties.
  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, check the Enabled check box in the Step Commenting section to allow a user to add a comment when the step is run.
  13. Optionally, if you enabled step commenting, check the Required check box in the Step Commenting section to require a comment.
  14. 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) + '.'

  15. Optionally, click the Style tab to change the shape and color of the step.
  16. 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.

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

出力説明

<ExtendedPropertyRecordId>

作成、表示、または編集された拡張プロパティ テーブル レコードの ID を返します。

関連トピック


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