- はじめに
- ベスト プラクティス
- 機能
- スキル
- CLI
- 例
- Advanced (カスタム)
- ヘルプ
レシピ: REFramework を使用したキューベースのプロセス
Build a REFramework process that pulls items from an Orchestrator queue, with retries, logging, and exception handling.
Build a transactional process from the Robotic Enterprise Framework (REFramework) template that processes Orchestrator queue items.
前提条件
- Install and set up complete, and you are signed in.
- 少なくとも 2 つのサンプル アイテムを含む Orchestrator のキュー、またはエージェントによるサンプル アイテムの作成リクエスト
Process items from a queue
-
空のプロジェクト フォルダーでコーディング エージェントを開きます。
-
タスクについて説明し、テンプレートに名前を付けます。
REFramework テンプレートから、Orchestrator で
Invoicesキューのアイテムを処理する新しい RPA プロジェクトを作成する。各アイテムについて、請求書のフィールドを読み取って財務システムに転記し、トランザクションのステータスを設定して、失敗した場合はリトライします。 -
Review the Init, Get Transaction Data, Process Transaction, and End Process states, and the configuration file in the
Datafolder. -
Ask the agent to add the business logic to Process Transaction.
-
キュー、リトライ回数、アセットをハードコーディングせずに設定します。
Config.jsonproject: retry count inConfig.json, queue on Get Transaction Item inFramework\GetTransactionData.xaml, assets through Get Asset or Get Credential.Config.xlsxproject: all three inConfig.xlsx.
-
ワークフロー アナライザーと 1 つのテスト トランザクションを実行するようエージェントに指示します。
-
Confirm the processed item moved to the expected status: Successful, Failed, or Retried. Untouched items stay New.
-
Confirm exceptions are logged.