Communications Mining
最新
  • 概要
    • Communications Mining アクティビティについて
  • リリース ノート
  • Communications Mining アクティビティ
  • Communications Mining Dispatcher Framework
    • Communications Mining Dispatcher Framework
Communications Mining アクティビティ
Last updated 2024年6月28日

Communications Mining Dispatcher Framework

Communications Mining Dispatcher Framework は、公式にサポートされている UiPath® テンプレートであり、Communications Mining を使用したプロジェクトの開発を迅速化します。

このフレームワークを使用すると、Communications Mining ストリームを簡単に利用できます。「ストリーム」をご覧ください。構成情報とビジネス ロジックを入力すると、ストリームの消費と Orchestrator キューの作成はフレームワークによって処理されます。

注: Communications Mining でストリームが構成済みであることを確認してください。「ストリームを作成する」の手順をご覧ください。

このフレームワークには、Studio のオフィシャル テンプレートから直接アクセスできます。

構成

Start by configuring the settings within the Config.xlsx file in the Data folder. There are 5 settings in the Settings tab:

設定

説明

備考

CommunicationsMiningProjectNameデータセットを含むプロジェクトの名前です。N/A
CommunicationsMiningDatasetNameストリームを含むデータセットの名前です。N/A
CommunicationsMiningStreamNameストリームの名前です。N/A
RunContinuouslyストリームが空の場合にプロセスをアクティブな状態に維持するには、True に設定します。 継続的にポーリングし、新しいコミュニケーションがストリームに追加されるまで待機します。
PollWaitTimeストリームのポーリング間の一時停止の時間です (秒単位)。継続的に実行中の場合にのみ適用されます。
注: プロジェクト、データセット、ストリームの API 名を使用するようにしてください。プロセスを正しく実行するために、タイトルの使用は避けることをお勧めします。

上記の情報を Config.xlsx で設定すると、Dispatcher Framework は設定したストリームを対象にするようになります。次に、どのコミュニケーションをどの Orchestrator のキューに送るかを判断するビジネス ロジックを定義します。

ビジネス ロジック

ビジネス ロジックは [Framework] フォルダーの [GetDestinationQueue] ページで設定します。

[GetDestinationQueue] ページには、以下の情報があります。

  • One input: Communications Mining StreamResult that is currently being processed.
  • Two outputs: the Destination Queue Name and the Destination Queue Folder.

このページでビジネス ロジックを構成し、この 2 つの出力をユース ケースに適した値に設定できます。

Communications Mining の StreamResult の型では、ユーザーを支援する関数がいくつか提供されています。以下に例を示します。

  • in_Communication.Prediction.ContainsLabelExtraction("Address Change") - Use this syntax to check if an extraction has been made for the given label.
  • in_Communication.Prediction.GetLabelExtraction("Address Change") - Use this syntax to retrieve a list of extractions that have been made for the given label. The results are stored in the LabelExtraction type , which also has a set of helper functions that you can use.
  • in_Communication.Prediction.ContainsGeneralField("policy-number") - Use this syntax to check if a given general field has been predicted for the current communication.
  • in_Communication.Prediction.GetEntity("policy-number").FieldValue = "123" - Use this syntax to check if a general field has a specific value.
The LabelExtraction type, that returns when using the in_Communication.Prediction.GetLabelExtraction("Address Change") function, allows you to check the following information about the given extraction:
  • LabelExtraction.OccuranceConfidence.HasExceededThreshold("stream") - Use this syntax to check if the given extraction has exceeded the threshold that you configured in your stream.
  • LabelExtraction.FieldExists("policy-number") - Use this syntax to check if a field has been predicted for the given extraction.
  • LabelExtraction.GetFieldValue("policy-number") - Use this syntax to get the value of a field that has been predicted for the given extraction.

Apply these helper functions to your own business logic to decide which communications to add to specific Orchestrator queues. Set the Destination Queue Name and Destination Queue Folder values accordingly.

プロセスを実行する

To run the process, ensure you have configured the inputs in the Data.xlsx spreadsheet and built your own business logic on the GetDestinationQueue page.

Note: By default, streams only return communications added to a dataset after you created the stream. If you don’t see any communications when running your process, you may need to reset your stream. For more information, check the reset a stream page.
  • 構成
  • ビジネス ロジック
  • プロセスを実行する

Was this page helpful?

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