- はじめに
- スタート アップ ガイド
- 任意のキャンバスで構築する
- 大文字と小文字で構築
- フローを利用した構築
- BPMN で構築する
- オペレーティング
- 監視
- 最適化中
- 最適化を理解する
- [最適化] ビュー
- プロセス最適化アプリにアクセスする
- Process Mining でのプロセス最適化アプリ
- 外部データでプロセスの最適化を強化する
- 参考情報
外部データでプロセスの最適化を強化する
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.
-
Process Mining ポータルに移動します。
-
プロセス最適化アプリのアプリ カードを見つけて、コンテキスト メニューから [開発モードで編集] を選択します。
-
外部データをアップロードするには、アクション メニューから [開発データをアップロード] を選択します。
- [直接接続を使用] オプションを使用して、Salesforce または ServiceNow からデータを読み込みます。
- または、[データをアップロード] オプションを使用して、ソース システムからエクスポートした
CSVファイルまたはTSVファイルをアップロードします。たとえば、ローン組成プロセスで使用するために、Salesforce の Contact テーブルおよび Opportunity テーブルからデータを読み込む場合などです。詳しくは、「データをアップロードする」をご覧ください。
注:(ファイルまたは直接接続によって) 作成された入力テーブルは、[データ変換] の [入力] セクションで確認できます。テーブルを選択してデータをプレビューできます。 詳しくは「入力データ」をご覧ください。
-
[データ変換] に移動します。
-
[変換] セクションで models フォルダーを見つけ、
Objects.sqlファイルを編集します。 -
Objects.sqlファイルのObject_ID値と外部システムのテーブルの ID フィールドを比較します。注:All object tables from external sources must join on this
Object_IDfield. Maestro Orchestrate, populates theObject_IDfield based on the underlying object of the activity. For example, an IS activity for the Contact table will log theContact_IDas theObject_IDin theAutomation_eventstable). If you want to connect a Contact table from Salesforce, ensure theContact_IDis the same format as theObject_ID. The following code block shows an example SQL statement that can be used inObjects.sqlto match theObject_IDto theContact_IDfield. assignmentSUBSTRING(Automation_events."Object_ID",0,LEN(Automation_events."Object_ID") - 3) as "Object_ID".ヒント:このプロセスを使用して、複数のソースを 1 つのプロセス最適化アプリに結合できます。たとえば、Salesforce、ServiceNow、プロセス最適化のデータをすべて同じアプリに結合する場合などです。
-
After confirmation of the Object_ID field from the
Automation_eventstable and externalObject_ID, join the tables on the ID fields. Add theTrace_IDas 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にキャストする必要があります。 -
[データ変換] の [出力] セクションに移動し、[データ モデル] を選択して、プロセス最適化アプリのデータ モデルを表示します。
-
新しい外部オブジェクトとイベント テーブルをデータ モデルに追加します。外部オブジェクト テーブルに
Trace_IDフィールドが入力され、結合されていることを確認します。詳しくは「データ モデル」をご覧ください。次の図に、Salesforce から新たに追加された
opportunity_dataテーブルとcontact_dataテーブルを使用したデータ モデルの例を示します。 -
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.
-
[ダッシュボードに適用] を選択し、データをダッシュボードで使用できるようにします。
-
ダッシュボードを編集して外部データを可視化し、プロセス最適化アプリをパブリッシュします。
結果
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 の外部データを使用したプロセス グラフの例を示しています。