UiPath Documentation
coding-agents
2026.10
false
UiPath for Coding Agents ユーザー ガイド

RPA ワークフロー

RPA workflows with a coding agent: briefing, UI Automation, and human review.

Describe repetitive, rule-based work, and your coding agent produces a runnable Robotic Process Automation (RPA) workflow.

RPA が有効な用途​

Well-defined, deterministic work, especially without a usable API:

  • Files and spreadsheets
  • Data moves between systems
  • API 呼び出し
  • Desktop, web, or virtual application interfaces

For judgment work, use an agent. For a step in a longer process, use a flow in Maestro. Worked examples: RPA recipes.

求めることができるもの​

  • Build from a description, a process document, or a template such as the Robotic Enterprise Framework (REFramework).
  • Refactor or extend an existing workflow.
  • Work in legacy projects, within their constraints.
  • Generate and run test cases with assertions.
  • Review an automation without changing anything.
  • Debug a failing workflow and propose a fix.
  • Publish to Orchestrator, or extract a reusable library.

What to include in a request​

The steps in order, the systems involved, typed inputs and outputs, and the screens or data touched.

Remove real customer data from process documents first. See Working effectively.

ローコードまたはコードの選択​

入力ファイル用途
Low-code.xamlThe default. Reviewable, auditable, widest activity coverage.
コード:.cs (C#)Logic-heavy components: data transforms, parsing, custom types.
  • You can mix both in one project. Choose up front. Without direction, the agent defaults to low-code.
  • A Portable project whose workflows are all .xaml with VB expressions can be edited in Studio Web, delivered as part of a solution.

UI Automation を使用してアプリケーションを推進する​

For systems with no API, the agent drives the interface with UiPath UI Automation. Use an API where one exists.

インターフェイスのキャプチャ方法​

At design time, the agent captures the screen and builds the steps. For desktop applications it uses screenshots and the element tree. Elements are stored as reusable targets in an Object Repository.

レジリエンス(回復力)の維持​

  • Selector healing: adapts a target when the interface shifts.
  • Diagnosis: explains a failure from logs, recordings, and screenshots.
  • Screenplay: AI-powered computer vision. Runtime fallback for unpredictable screens.

稼働中のアプリケーションがない場合​

The agent marks each interaction for a developer to capture in Studio. Either way, treat generated selectors as drafts and confirm them against the real application.

Conventions for your context file​

State RPA house rules once in a context file. Examples:

  • Modern design activities over the classic set.
  • UI activities inside a Use Application/Browser scope.
  • Native activities before Invoke Code.
  • Existing configuration files and recorded workflows left intact.

強みと限界​

Review these more closely, where a generic fallback can creep in:

  • Fragile selectors
  • Bespoke enterprise connectors
  • Unusual activity choices

Prompts for RPA work​

  • REFramework テンプレートから [ BankStatementReconciliationという新しい RPA プロジェクトを作成します。
  • Create an RPA workflow that saves attachments from the latest Outlook email with subject "Invoice" to ./inbox/.
  • Add a Try Catch around the Submit Order step that logs business exceptions and sets the transaction to Failed.

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

接続

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

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

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

最新情報を取得