UiPath Documentation
maestro
latest
false
Maestro Orchestrate ユーザー ガイド
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

外部データでプロセスの最適化を強化する

Connect Maestro Orchestrate Process Optimization to external systems such as Salesforce or ServiceNow to extend context and improve process segmentation.

To enhance Process optimization in Maestro Orchestrate, you can extend context and visibility into the underlying business objects by connecting to external source systems—such as Salesforce or ServiceNow—that the process operates on.

プロセスの表現とセグメンテーションを向上させるには、ビジネス オブジェクトとそのステータスを追跡する外部システムから、Process Mining のプロセス最適化アプリにデータをインポートする必要があります。これにより、より詳細な洞察が得られ、改善点を特定できます。

たとえば、サポート チケットが大量にある製品領域の特定や、プロセス マイニングを通じて新たに検出された発注ステップに基づいてプロセスを最適化することなどです。

This page describes the steps to join external data with internal Maestro Orchestrate trace data to achieve this level of insight.

前提条件​

以下のことが前提です。

  • テナントで Process Mining が有効化されている。
  • 内部データ モデル、SQL、Process Mining の機能に精通している。
  • Process Mining Developer ロールが割り当てられている。詳しくは「ユーザーを設定する」をご覧ください。
  • プロセス最適化アプリに対する、データの編集権限、ダッシュボードの編集および表示権限を持っている。詳しくは、「Process Mining アプリのアクセス権を管理する」をご覧ください。
  • You have built, deployed, and ran a Maestro Orchestrate process that has Integration Service activities associated with an external source system (E.g. Loan Origination process that pulls and updates records from Salesforce).

最適化データを強化する方法​

To enrich your Process Optimization app with external data, connect to your source system and join the external tables with the Maestro Orchestrate automation data in Data transformations.

  1. Process Mining ポータルに移動します。

  2. プロセス最適化アプリのアプリ カードを見つけて、コンテキスト メニューから [開発モードで編集] を選択します。

  3. 外部データをアップロードするには、アクション メニューから [開発データをアップロード] を選択します。

    • [直接接続を使用] オプションを使用して、Salesforce または ServiceNow からデータを読み込みます。
    • または、[データをアップロード] オプションを使用して、ソース システムからエクスポートした CSV ファイルまたは TSV ファイルをアップロードします。たとえば、ローン組成プロセスで使用するために、Salesforce の Contact テーブルおよび Opportunity テーブルからデータを読み込む場合などです。詳しくは、「データをアップロードする」をご覧ください。
    注:

    (ファイルまたは直接接続によって) 作成された入力テーブルは、[データ変換] の [入力] セクションで確認できます。テーブルを選択してデータをプレビューできます。 詳しくは「入力データ」をご覧ください。

  4. [データ変換] に移動します。

  5. [変換] セクションで models フォルダーを見つけ、Objects.sql ファイルを編集します。

  6. Objects.sql ファイルの Object_ID 値と外部システムのテーブルの ID フィールドを比較します。

    注:

    All object tables from external sources must join on this Object_ID field. Maestro Orchestrate, populates the Object_ID field based on the underlying object of the activity. For example, an IS activity for the Contact table will log the Contact_ID as the Object_ID in the Automation_events table). If you want to connect a Contact table from Salesforce, ensure the Contact_ID is the same format as the Object_ID. The following code block shows an example SQL statement that can be used in Objects.sql to match the Object_ID to the Contact_ID field. assignment SUBSTRING(Automation_events."Object_ID",0,LEN(Automation_events."Object_ID") - 3) as "Object_ID".

    ヒント:

    このプロセスを使用して、複数のソースを 1 つのプロセス最適化アプリに結合できます。たとえば、Salesforce、ServiceNow、プロセス最適化のデータをすべて同じアプリに結合する場合などです。

  7. After confirmation of the Object_ID field from the Automation_events table and external Object_ID, join the tables on the ID fields. Add the Trace_ID as a field to the table to associate the external object with a Maestro Orchestrate run.

    次のコード ブロックは、contact_data.sql ファイルの結合例を示しており、Contact テーブルを作成してオートメーション データと結合しています。

    select
       contact_data.*,
       Objects."Trace_ID",
       concat('Contact',to_varchar({{ pm_utils.id() }})) as "Unique_ID"
    from {{ source('sources', 'contact_data') }} as contact_data
    left join {{ref('Objects')}} as Objects
    ON contact_data."Contact ID" = Objects."Object_ID"
    select
       contact_data.*,
       Objects."Trace_ID",
       concat('Contact',to_varchar({{ pm_utils.id() }})) as "Unique_ID"
    from {{ source('sources', 'contact_data') }} as contact_data
    left join {{ref('Objects')}} as Objects
    ON contact_data."Contact ID" = Objects."Object_ID"
    
    注:

    .id() 関数を使用して作成したフィールドは、既定では数値です。Automation_events テーブルの Event_ID フィールドのデータ型である varchar にキャストする必要があります。

  8. [データ変換] の [出力] セクションに移動し、[データ モデル] を選択して、プロセス最適化アプリのデータ モデルを表示します。

  9. 新しい外部オブジェクトとイベント テーブルをデータ モデルに追加します。外部オブジェクト テーブルに Trace_ID フィールドが入力され、結合されていることを確認します。詳しくは「データ モデル」をご覧ください。

    次の図に、Salesforce から新たに追加された opportunity_data テーブルと contact_data テーブルを使用したデータ モデルの例を示します。

  10. In the Output section in Data transformations, select Process to view the processes defined for the Process optimization app. Make sure there is a process defined with all events that will combine the events from the Maestro Orchestrate process and the external object events tables. Refer to Adding and editing processes for more information.

  11. [ダッシュボードに適用] を選択し、データをダッシュボードで使用できるようにします。

  12. ダッシュボードを編集して外部データを可視化し、プロセス最適化アプリをパブリッシュします。

結果​

The external data is integrated into the Process Optimization app and available for visualization in dashboards. The process graph reflects the combined Maestro Orchestrate automation data and external object data from the connected source system.

次の図は、Salesforce の外部データを使用したプロセス グラフの例を示しています。

  • 前提条件​
  • 最適化データを強化する方法​
  • 結果​

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

接続

ヘルプ リソース サポート(opens in new window)

学習する UiPath アカデミー(opens in new window)

質問する UiPath フォーラム(opens in new window)

最新情報を取得