You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A UiPath Coded Action App template for **Loan Application Review** backed by a **Data Fabric** entity. Reviewers can fetch an applicant's record by name, assess the applicant's details, view the bundled Loan Document attachment, and complete the task with an Approve or Reject decision — writing the risk factor, reviewer comments, and approval back to the Data Fabric entity.
4
+
5
+
This template demonstrates how to read from and write to a Data Fabric entity and how to view entity file attachments in coded action apps.
6
+
7
+
---
8
+
9
+
## Pre-requisites
10
+
11
+
-**Node.js** 20.x or later
12
+
-**npm** 8.x or later
13
+
- A **UiPath Automation Cloud** tenant with:
14
+
- A non-confidential **External Application** (OAuth client) registered with the following:
15
+
- Scopes:
16
+
-`DataFabric.Schema.Read` (to read the entity schema)
- Redirect URI `https://cloud.uipath.com/<orgId>/<tenantId>/actions_` (It is added automatically the first time any coded action app using this external application is deployed)
This template expects a Data Fabric entity with the fields described in [`Schema.json`](./Schema.json). Create the entity in **Data Fabric** (or import the schema) before deploying the app. The entity exposes the following fields:
39
+
40
+
| Field | Type | Description |
41
+
|---|---|---|
42
+
|`ApplicantName`| string | Full name of the loan applicant |
3. Click **Debug** and enter the input arguments to run the process — this will create an Action Center task backed by your app.
115
+
4. Open Action Center and complete the task to verify the full flow end-to-end.
116
+
117
+
--- OR ---
118
+
119
+
Create the task using an RPA workflow in **Studio Desktop** that uses the **Create App Task** activity, pointing to your deployed coded action app and passing the required inputs.
1.**Review Form tab** — Fetches the Data Fabric record for the provided applicant name and displays the applicant name, loan amount, and credit score (read-only). The reviewer fills in the **Risk Factor** (integer 0–10, required) and optional **Reviewer Comments**, then clicks **Approve** or **Reject** to complete the task. The risk factor, reviewer comments, and approval decision are written back to the Data Fabric entity.
130
+
131
+
2.**Document tab** — Retrieves and renders the Loan Document attached to the entity record for reference.
132
+
133
+
3.**Theme** — The app initializes in light or dark mode based on the Action Center theme preference and supports toggling via the button in the top-right corner.
134
+
135
+
4.**Read-only mode** — If the task is already completed or the current user does not have edit access, all input fields are disabled and the Approve / Reject buttons are greyed out.
0 commit comments