Skip To Content

[添付ファイルの追加] の追加および構成

[添付ファイルの追加] ステップでは、ジョブに添付ファイルを追加したり、ジョブにファイルを関連付けたりできます。 ステップが実行されると、ステップの構成に応じて、次のボタンがジョブ タイルに表示されます。

  • [参照] ボタンがジョブ タイルに表示され、ジョブにファイルを添付できます。
    注意:

    ステップに使用可能なファイル タイプのリストが構成されている場合、許可されたファイル タイプのみをジョブに添付できます。

  • ジョブ タイルに [リンク] ボタンが表示され、ジョブにファイルを関連付けることができます。

ステップにヘルプ テキストが構成されている場合、ジョブ タイルの下部に表示されます。

Workflow Manager Web アプリでファイルがアップロードされたり、ジョブに関連付けられたりすると、以下を実行できます。

  • [名前] テキスト ボックスでファイルの名前を更新します。
  • アクション ボタンをクリックすると、添付ファイルの表示、添付ファイルのダウンロード、添付ファイルのファイル パスまたはドキュメント ID のコピーを行うことができます。
  • [添付ファイルの削除] ボタン Delete Attachment をクリックすると、添付ファイルを削除できます。
注意:

ジョブの添付ファイルを Workflow Manager Web アプリの [詳細] パネルで表示するには、[アタッチメント] タブ Attachments をクリックします。

ジョブ アタッチメントの管理の詳細

ArcGIS Pro でファイルがアップロードされたり、ジョブに関連付けられたりすると、以下を実行できます。

  • [名前] テキスト ボックスでファイルの名前を更新します。
  • アクション ボタンをクリックすると、添付ファイルを表示したり、コンピューターのデフォルト アプリケーションで添付ファイルを開いたり、添付ファイルのテキストまたはドキュメント ID をコピーしたりすることができます。
  • [添付ファイルの削除] ボタン Delete Attachment をクリックすると、添付ファイルを削除できます。

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

  • [一時停止] をクリックすると、ステップを一時停止することができます。
    注意:

    ステップが一時停止された場合、追加された添付ファイルはジョブに添付されたままとなり、名前を更新できません。

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

If the step isn't optional, the step must be run or paused at least once before it can be finished.

ステップの構成

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.

    You can also use the following example to display a dynamic value using ArcGIS Arcade expressions:

    'This job is currently assigned to ' + jobOwner($job) + '.'
  5. 必要に応じて、添付ファイルが格納されるフォルダーの名前を [フォルダー] テキスト ボックスに入力します。

    フォルダー名にファイル システム パスまたは特殊文字を含めることはできません。 フォルダー名が入力されていない場合、[General] という名前のフォルダーが自動的に作成されます。

    注意:

    フォルダーは、ワークフロー アイテムに含まれるため、ファイル システム パスではありません。

  6. 必要に応じて、ジョブにファイルを添付できるようにします。
    1. [アタッチメント タイプ] セクションで、[埋め込み] チェックボックスをオンにします。
      注意:

      The maximum file size of each embedded attachment is determined by your feature layer.

    2. [次のファイル タイプへの入力を制限] テキスト ボックスに、添付できるファイル タイプのファイル拡張子のカンマ区切りリストを入力します。
      注意:

      [次のファイル タイプへの入力を制限] テキスト ボックスにファイル拡張子のリストが指定されていない場合、ジョブに添付できるファイル タイプは ArcGIS Enterprise ポータルの構成によって制限されます。

      ArcGIS Enterprise ポータルでサポートされているファイル タイプの詳細

  7. 必要に応じて、ジョブにファイルを関連付けられるようにします。
    1. [アタッチメント タイプ] セクションで、[リンク済み] チェックボックスをオンにします。
    2. リンク済みのファイル オプションの中から 1 つを選択します。
      • [URL] - ファイルの URL をジョブに関連付けます
      • [ファイル パス] - ジョブにファイル パスを関連付けます
      • [テキスト] - ファイル、フォルダー パス、またはドキュメント ID をジョブに関連付けます
  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 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

  10. 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) + '.'
  11. Optionally, click the Style tab to change the shape and color of the step.
  12. 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.

関連トピック


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