UiPath Documentation
coding-agents
2026.10
false
UiPath for Coding Agents 用户指南

方法:使用 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​

  1. 在空项目文件夹中打开编码智能体。

  2. 描述任务并为模板命名:

    "使用 REFramework 模板创建新的 RPA 项目,以处理 Orchestrator 中的Invoices队列中的项目。对于每个项目,读取发票字段,将其过账到我们的财务系统,设置事务状态,并在失败时重试。”

  3. Review the Init, Get Transaction Data, Process Transaction, and End Process states, and the configuration file in the Data folder.

  4. Ask the agent to add the business logic to Process Transaction.

  5. 设置队列、重试计数和资产,但无需将其硬编码:

    • Config.json project: retry count in Config.json, queue on Get Transaction Item in Framework\GetTransactionData.xaml, assets through Get Asset or Get Credential.
    • Config.xlsx project: all three in Config.xlsx.
  6. 要求智能体运行工作流分析器和单个测试事务。

  7. Confirm the processed item moved to the expected status: Successful, Failed, or Retried. Untouched items stay New.

  8. Confirm exceptions are logged.

  • 先决条件​
  • Process items from a queue​

此页面有帮助吗?

连接

需要帮助? 支持(opens in new window)

想要了解详细内容? UiPath Academy(opens in new window)

有问题? UiPath 论坛(opens in new window)

保持更新