process-mining
latest
false
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。
Process Mining
Automation CloudAutomation Cloud Public SectorAutomation SuiteStandalone
Last updated 2024年9月18日

オートメーションの連携をセットアップする

はじめに

To trigger automations, you must set up Automation integration. Below is an overview of the steps to set up an Automation integration for a Process Mining process app.



Manually triggered and automatically triggered automations

There are two different types of automations that can be triggered from a process app.

  1. Manually triggered automations are initiated by business users from the process app dashboards.

  2. Automatically triggered automations are initiated when predefined conditions, determined by tags, are met during data ingestion for the process app.

注:

Manual triggers can be done from both the development and published app. Automatic triggers are only applied when running ingestions on a published app.

[メールを送信] の例

Send_Email_example_files.zip ファイルをダウンロードすると、オートメーションの連携を簡単に設定してご自身でメールを送信できます。

Send_Email_example_files.zip ファイルの内容は以下のとおりです。

  • SendEmail.zipファイル。Studio にインポートできるオートメーション ワークフロー プロジェクトが含まれます。
    注:

    このオートメーション ワークフローは v2022.10.5 の UiPath Studio で構築されています。

  • simpleschema.json ファイル。このファイルを使用して Orchestrator キューを設定できます。

手順 1: オートメーション ワークフローを作成する

ヒント:
Studio でのオートメーションの構築を、オートメーション マネージャーから直接開始できます。
  1. In Process Mining open the process app for which you want to enable automation integration in the Dashboard editor. Refer to Working with the dashboard editor for details.

  2. ダッシュボード エディター[オートメーション マネージャー] オプションを選択し、オートメーション マネージャーを開きます。

  3. Select Build automation to open Studio. Refer to Automation manager for details.

オートメーションの連携をセットアップするには、まず Studio でオートメーション ワークフローを作成します。たとえば、アイテムが Orchestrator のキューに追加されたときにメールを送信するオートメーションをセットアップできます。たとえば、このオートメーションを使用して、Process Mining で検出された支払遅延ケースに関する通知メールを送信できます。オートメーション ワークフローの例は、以下の画像でご確認ください。



キューからのアイテムのプルを有効化する場合は、オートメーション ワークフローで [トランザクション アイテムを取得] アクティビティを定義します。以下の画像に例を示します。



上の例では: [変数の値を設定] アクティビティを使用して、引数を、メールで使用可能な変数に設定します。Microsoft Office 365: [メールを送信] アクティビティを使用して、オートメーションから通知メールを送信します。

  1. Studio でオートメーションをパブリッシュし、Orchestrator で利用できるようにします。

手順 2: Orchestrator のキューを設定する

1. Orchestrator で、固有データ JSON スキーマを使用して新しいキューを作成します。データ JSON スキーマでは、オートメーションに必要な入力データを定義します。JSON スキーマがオートメーションで定義された引数と一致することを確認してください。

重要:

Process Mining では、Orchestrator の固有データ JSON スキーマ ファイルを含むキューのみがサポートされています。以下に、Process Mining との連携を設定するために使用する固有データ JSON スキーマの例を示します。

{  "definitions": {},
   "$schema": "http://json-schema.org/draft-07/schema#",
   "$id": "http://example.com/root.json",
   "type": "object",
   "title": "The Root Schema", 
   "properties":{
           "CaseID":
            {  "type": "string"
        },
            "Supplier": 
            {  "type": "string"
        },
            "Value":
            {  "type": "number"
        },
            "Email": 
            {  "type": "string" 
        }
   }
 }{  "definitions": {},
   "$schema": "http://json-schema.org/draft-07/schema#",
   "$id": "http://example.com/root.json",
   "type": "object",
   "title": "The Root Schema", 
   "properties":{
           "CaseID":
            {  "type": "string"
        },
            "Supplier": 
            {  "type": "string"
        },
            "Value":
            {  "type": "number"
        },
            "Email": 
            {  "type": "string" 
        }
   }
 }


2. キューにトリガーを追加し、Studio で作成したオートメーション ワークフローを、関連付けられたプロセスとして選択します。





Orchestrator にキューを作成済みである場合、そのキューを Process Mining プロセス アプリから参照できます。

手順 3: Process Mining でオートメーションの連携を設定する

  1. Process Miningダッシュボード エディターで、オートメーションの連携を有効化するプロセス アプリを開きます。詳しくは、「ダッシュボード エディターを使用する」をご覧ください。

  2. ダッシュボード エディター[オートメーション マネージャー] ボタンを選択し、オートメーション マネージャーを開きます。詳しくは、「オートメーション マネージャー」をご覧ください。

  3. 新しいオートメーションを追加して、Orchestrator キューを選択します。

    • Select +Connect automation.
      注:

      オートメーションを作成していない場合は、[オートメーションを構築] オプションを選択して Studio を開き、オートメーションの構築を開始できます。

    • [キューを追加] ダイアログで、使用する Orchestrator キューを選択します。Orchestrator キュー用の Data JSON スキーマ ファイルに定義されたデータ スキーマが読み込まれます。Process Mining では、固有データ JSON スキーマ ファイルを含む、Orchestrator 内のキューのみが利用可能です。
    • オートメーションの入力フィールドをプロセス アプリで利用できる適切なデータ フィールドにマッピングします。
      重要:

      固有データ JSON スキーマで定義されているキュー入力フィールドのデータ型を確認し、正しい入力型を持つ Process Mining データ フィールドに入力フィールドをマップしてください。詳しくは、「アプリ テンプレート」をご覧ください。

      注:
      特定のケース フィールドにマッピングする代わりに、テキスト入力フィールドに [Business user input] オプションを選択できます。これにより、ビジネス ユーザーはオートメーションのトリガー時にフリー テキストを入力できます。たとえば、説明やメール アドレスなどです。[Analyst input] オプションでは、ビジネス ユーザーに読み取り専用で表示されるカスタム テキストを入力できます。


      The Business user input option is only applicable to Manual triggers.
    • [一度に送信するケースの最大数] を入力すると、Orchestrator に送信できるケースの数を制限できます。

      注:

      As an analyst, it is important to consider limiting the number of cases a business user can send to Orchestrator based on the specific use case. By default, the system allows 50 cases to be sent to the queue, but the range can be adjusted from 1 to 1000, providing flexibility for different scenarios.



    • Select the type of the trigger for the automation from the Trigger list box.

      If you want to configure an Automatic trigger for an automation, add the tags to define the trigger conditions. A case that meets a condition when the filter is evaluated will be sent to Orchestrator.

      注:

      Each trigger condition is evaluated separately. For example, Case 001 has tags A and B. When you have set the trigger conditions for both A and B, this case will be sent to Orchestrator twice (one based on condition A and one based on condition B).

  4. Publish the process app to make the automation available in the published process app.

    • [パブリッシュ] を選択します。
    The automation is now available in the process app.

Manually triggered automations

When you select the Manual trigger type for the automation, business users can trigger the automation from the published process app. The Trigger an automation option is available on most dashboards and charts. Check the illustration below for an example.



When the user has selected cases that are candidate for automation ,the Trigger an automation option can be selected to enter the input data for the automation. Check the illustration below for an example.



For every case that is selected, a Queue item is created in the Orchestrator queue that will trigger the automation defined in Studio.



Refer to Triggering an automation from a process app for details on how to trigger an automation from a published process app.

Automatically triggered automations

Automated triggers can trigger automations when specific events occur within the process. This allows for immediate attention to a case for enhanced efficiency and streamlined workflows.

When you select the Automatic trigger type for the automation, the automation is triggered automatically when the trigger conditions have met. The trigger conditions are determined by tags that are evaluated any time data for the process app is ingested. Each case that meets the conditions creates a Queue item in the Orchestrator queue, which initiates the automation defined in Studio.

手順 4: オートメーションを実行する

ロボットがオートメーションを選択し、オートメーションで定義されたアクションを実行します。

このページは役に立ちましたか?

サポートを受ける
RPA について学ぶ - オートメーション コース
UiPath コミュニティ フォーラム
Uipath Logo White
信頼とセキュリティ
© 2005-2024 UiPath. All rights reserved.