@uipath/skills 1.206.0 → 1.206.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/.cursor-plugin/plugin.json +1 -1
- package/CODEOWNERS +34 -7
- package/README.md +2 -2
- package/package.json +2 -2
- package/skills/uipath-genome/SKILL.md +35 -88
- package/skills/uipath-genome/references/build-guide.md +61 -0
- package/skills/uipath-genome/references/completion-report-guide.md +93 -0
- package/skills/uipath-genome/references/composite-interactions-guide.md +39 -0
- package/skills/uipath-genome/references/configuration-questions-guide.md +68 -0
- package/skills/uipath-genome/references/execution-guide.md +45 -166
- package/skills/uipath-genome/references/execution-parts-guide.md +84 -17
- package/skills/uipath-genome/references/genome-reading-guide.md +153 -0
- package/skills/uipath-genome/references/live-application-guide.md +23 -9
- package/skills/uipath-genome/references/offline-definition-workarounds-guide.md +4 -4
- package/skills/uipath-genome/references/open-items-guide.md +3 -3
- package/skills/uipath-genome/references/package-doc-errata-guide.md +8 -0
- package/skills/uipath-genome/references/refactor-guide.md +38 -39
- package/skills/uipath-genome/references/selector-matching-guide.md +59 -0
- package/skills/uipath-genome/references/selector-translation-guide.md +13 -66
- package/skills/uipath-genome/references/selector-translation-sap-guide.md +7 -5
- package/skills/uipath-genome/references/selector-translation-web-guide.md +2 -2
- package/skills/uipath-genome/references/source-frameworks-guide.md +21 -0
- package/skills/uipath-genome/references/source-migration-guide.md +48 -19
- package/skills/uipath-genome/references/test-execution-guide.md +8 -7
- package/skills/uipath-genome/references/transactional-execution-guide.md +41 -13
- package/skills/uipath-genome/references/ui-target-migration-guide.md +12 -49
- package/skills/uipath-genome/references/ui-verification-guide.md +9 -1
- package/skills/uipath-maestro-case/SKILL.md +7 -7
- package/skills/uipath-maestro-case/references/evals/evals.json +5 -5
- package/skills/uipath-maestro-case/references/planning.md +5 -5
- package/skills/uipath-maestro-case/references/plugins/conditions/task-entry-conditions/planning.md +2 -2
- package/skills/uipath-maestro-case/references/plugins/sla/planning.md +1 -1
- package/skills/uipath-maestro-case/references/registry-discovery.md +3 -3
- package/skills/uipath-planner/SKILL.md +80 -199
- package/skills/uipath-planner/assets/templates/agent-sdd-template.md +17 -17
- package/skills/uipath-planner/assets/templates/api-workflow-sdd-template.md +15 -13
- package/skills/uipath-planner/assets/templates/bpmn-sdd-template.md +19 -19
- package/skills/uipath-planner/assets/templates/case-sdd-task-details-template.md +173 -0
- package/skills/uipath-planner/assets/templates/{case/case-sdd-template.md → case-sdd-template.md} +51 -229
- package/skills/uipath-planner/assets/templates/coded-app-sdd-template.md +16 -14
- package/skills/{uipath-genome → uipath-planner}/assets/templates/component-genome-template.md +9 -5
- package/skills/uipath-planner/assets/templates/flow-sdd-template.md +17 -15
- package/skills/{uipath-genome → uipath-planner}/assets/templates/process-genome-template.md +11 -7
- package/skills/uipath-planner/assets/templates/rpa-sdd-template.md +50 -73
- package/skills/uipath-planner/references/author/author-guide.md +119 -0
- package/skills/uipath-planner/references/author/genome-from-sdd-guide.md +36 -0
- package/skills/uipath-planner/references/author/scenario-proposal-guide.md +30 -0
- package/skills/uipath-planner/references/decompose/decompose-guide.md +223 -0
- package/skills/uipath-planner/references/{asdd-crosswalk-guide.md → design/asdd-crosswalk-guide.md} +6 -4
- package/skills/uipath-planner/references/{business-rules-guide.md → design/business-rules-guide.md} +3 -3
- package/skills/uipath-planner/references/design/caller-request-guide.md +92 -0
- package/skills/uipath-planner/references/design/case-data-and-time-guide.md +292 -0
- package/skills/uipath-planner/references/design/case-product-guide.md +243 -0
- package/skills/uipath-planner/references/design/case-review-and-conformance-guide.md +166 -0
- package/skills/uipath-planner/references/design/design-guide.md +296 -0
- package/skills/uipath-planner/references/{package-selection-guide.md → design/package-selection-guide.md} +16 -13
- package/skills/uipath-planner/references/{rpa-product-guide.md → design/rpa-product-guide.md} +23 -53
- package/skills/uipath-planner/references/design/scope-recommendation-guide.md +134 -0
- package/skills/uipath-planner/references/design/sdd-writing-guide.md +235 -0
- package/skills/uipath-planner/references/design/solution-composition-guide.md +153 -0
- package/skills/uipath-planner/references/edit/edit-guide.md +66 -0
- package/skills/uipath-planner/references/extract/extract-guide.md +230 -0
- package/skills/uipath-planner/references/extract/source-frameworks-guide.md +22 -0
- package/skills/uipath-planner/references/extract/uipath-non-rpa-signals-guide.md +121 -0
- package/skills/uipath-planner/references/extract/uipath-rpa-signals-guide.md +88 -0
- package/skills/uipath-planner/references/extract/uipath-source-guide.md +193 -0
- package/skills/uipath-planner/references/shared/component-placement-guide.md +99 -0
- package/skills/{uipath-genome/references → uipath-planner/references/shared}/defect-verification-guide.md +4 -4
- package/skills/{uipath-genome/references → uipath-planner/references/shared}/extracted-genome-guide.md +15 -14
- package/skills/uipath-planner/references/shared/extraction-parts-guide.md +66 -0
- package/skills/{uipath-genome/references → uipath-planner/references/shared}/genome-format-guide.md +63 -34
- package/skills/uipath-planner/references/{multi-skill-patterns-guide.md → shared/multi-skill-patterns-guide.md} +28 -27
- package/skills/uipath-planner/references/{pdd-analysis-guide.md → shared/pdd-analysis-guide.md} +27 -72
- package/skills/uipath-planner/references/{plan-and-tasks-format.md → shared/plan-and-tasks-format.md} +43 -67
- package/skills/uipath-planner/references/{platform-availability-guide.md → shared/platform-availability-guide.md} +56 -1
- package/skills/uipath-planner/references/shared/product-selection-guide.md +202 -0
- package/skills/{uipath-genome/references → uipath-planner/references/shared}/skill-mapping-guide.md +24 -4
- package/skills/uipath-planner/references/{tenant-library-search-guide.md → shared/tenant-library-search-guide.md} +10 -8
- package/skills/{uipath-genome/references → uipath-planner/references/shared}/transactional-shape-guide.md +39 -8
- package/skills/uipath-planner/scripts/check-genome.mjs +801 -0
- package/skills/uipath-planner/scripts/sdd-fingerprint.mjs +71 -0
- package/skills/uipath-planner/scripts/sdd-to-docx.mjs +87 -0
- package/skills/uipath-test/SKILL.md +3 -3
- package/version-manifest.json +1 -1
- package/skills/uipath-genome/CLAUDE.md +0 -85
- package/skills/uipath-genome/assets/examples/artemis-2-mission-monitor-genome.md +0 -126
- package/skills/uipath-genome/assets/examples/classify-document-and-create-validation-genome.md +0 -117
- package/skills/uipath-genome/assets/examples/invoice-processing-genome/exception-triage-agent-genome.md +0 -96
- package/skills/uipath-genome/assets/examples/invoice-processing-genome/invoice-extraction-genome.md +0 -128
- package/skills/uipath-genome/assets/examples/invoice-processing-genome/invoice-orchestration-genome.md +0 -115
- package/skills/uipath-genome/assets/examples/invoice-processing-genome.md +0 -136
- package/skills/uipath-genome/assets/examples/purchase-requisition-entry-genome.md +0 -224
- package/skills/uipath-genome/assets/examples/salesforce-accounts-and-contacts-genome.md +0 -151
- package/skills/uipath-genome/references/authoring-guide.md +0 -98
- package/skills/uipath-genome/references/editing-guide.md +0 -57
- package/skills/uipath-genome/references/extraction-guide.md +0 -166
- package/skills/uipath-genome/references/extraction-parts-guide.md +0 -45
- package/skills/uipath-genome/references/parts-guide.md +0 -22
- package/skills/uipath-genome/references/uipath-source-guide.md +0 -404
- package/skills/uipath-genome/scripts/check-genome.py +0 -670
- package/skills/uipath-planner/assets/templates/case/sdd-viewer.html +0 -1530
- package/skills/uipath-planner/references/case/case-design-lane-guide.md +0 -327
- package/skills/uipath-planner/references/case/case-design-layers-guide.md +0 -503
- package/skills/uipath-planner/references/case/case-sdd-conformance-checklist.md +0 -123
- package/skills/uipath-planner/references/non-pdd-lane-guide.md +0 -196
- package/skills/uipath-planner/references/pdd-driven-lane-guide.md +0 -210
- package/skills/uipath-planner/references/product-selection-guide.md +0 -673
- package/skills/uipath-planner/references/sdd-generation-guide.md +0 -613
- package/skills/uipath-planner/scripts/docx-extract.ps1 +0 -59
- package/skills/uipath-planner/scripts/docx-extract.sh +0 -54
- package/skills/uipath-planner/scripts/sdd-to-docx.ps1 +0 -74
- package/skills/uipath-planner/scripts/sdd-to-docx.sh +0 -76
- /package/skills/uipath-planner/references/{attended-reauth-pattern-guide.md → design/attended-reauth-pattern-guide.md} +0 -0
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
# UiPath Source Guide — Non-RPA Signals
|
|
2
|
+
|
|
3
|
+
Read after [uipath-source-guide.md](uipath-source-guide.md); read the § Signals sections below whose artifact type the inventory holds.
|
|
4
|
+
|
|
5
|
+
## Signals — Flow
|
|
6
|
+
|
|
7
|
+
| Signal | Path | Tells you |
|
|
8
|
+
|---|---|---|
|
|
9
|
+
| Trigger node `type` | `nodes[].type`: `core.trigger.manual`, `core.trigger.scheduled` (`inputs.timerPreset`), `uipath.connector.trigger.*`, `core.trigger.voice` | How the flow starts |
|
|
10
|
+
| Resource node `type` | `uipath.core.rpa-workflow.<key>`, `uipath.core.agent.<key>`, `uipath.core.api-workflow.<key>`, `uipath.core.flow.<key>`, `uipath.core.agentic-process.<key>`, `uipath.core.human-task.<key>`, `core.subflow` | Component kind invoked — handoff edge in process genome |
|
|
11
|
+
| `definitions[].model.bindings.{resourceKey, resourceSubType, serviceType}` and top-level `bindings[]` (`name`, `folderPath`, `default`) | definitions / bindings | Concrete Orchestrator process, agent, or API workflow invoked |
|
|
12
|
+
| `core.logic.decision` (`inputs.expression`), `core.logic.switch` (`inputs.cases`), `core.logic.loop` (`inputs.collection`, `parallel`), `core.logic.merge` | nodes | Business rules and iteration |
|
|
13
|
+
| `uipath.human-in-the-loop.quick-form` (`inputs.schema.fields[]`, `outcomes[]`, `recipient`) | nodes | Inline approval — HITL checkpoint |
|
|
14
|
+
| `core.action.script` (`inputs.script`), `core.action.http.v2` (`method`, `url`, `branches`), `core.action.transform`, `core.action.queue.create[-and-wait]`, `core.datafabric.*`, `uipath.connector.*`, `uipath.ixp.*`, `uipath.agent.autonomous` | nodes | Embedded logic, HTTP targets, queue and Data Fabric use, connectors, inline agents |
|
|
15
|
+
| `core.logic.terminate` vs `core.control.end` (`outputs`) | nodes | Fatal abort vs normal completion and flow outputs |
|
|
16
|
+
| `edges[]` `{sourceNodeId, sourcePort, targetNodeId}`; ports `true`/`false`, `case-<id>`/`default`, `success`/`error`, `completed` | edges | Graph and branch semantics; `error` port is an error-handling path |
|
|
17
|
+
| `inputs.errorHandlingEnabled: true` | action node | Step has an error escape path |
|
|
18
|
+
| `variables.nodes[]` (`<nodeId>.<outputId>`) | top level | Data flow between nodes |
|
|
19
|
+
|
|
20
|
+
## Signals — BPMN
|
|
21
|
+
|
|
22
|
+
Confirm `xmlns:uipath="http://uipath.org/schema/bpmn"` on `<bpmn:definitions>`.
|
|
23
|
+
|
|
24
|
+
| Signal | Where | Tells you |
|
|
25
|
+
|---|---|---|
|
|
26
|
+
| `<uipath:variables>` → `<uipath:inputOutput id name type>` | process `extensionElements` | Process data schema |
|
|
27
|
+
| `<uipath:type value="…">` inside a task's `extensionElements` | `Orchestrator.StartJob` (RPA), `Orchestrator.StartAgentJob` (agent), `Orchestrator.ExecuteApiWorkflowAsync`, `Actions.HITL`, `Intsvc.ActivityExecution` (connector), `Intsvc.UnifiedHttpRequest`, `A2A.AgentExecution`, `Orchestrator.StartAgenticProcess`, `Orchestrator.StartCaseMgmtProcess`, `BPMN.ScriptTask` | What the step invokes — each a handoff edge to a component or external system |
|
|
28
|
+
| `<uipath:context>` → `<uipath:input name value>` | inside the activity | Bound resource: `releaseKey` / `folderPath` / `name`, `appId`, `connectorKey` / `connection` / `operation` |
|
|
29
|
+
| `<uipath:input target="bodyField">`, `<uipath:output var source>` | inside the activity | Argument mapping in and out |
|
|
30
|
+
| `bpmn:userTask` / `serviceTask` / `sendTask` / `receiveTask` / `scriptTask` / `businessRuleTask` / `callActivity` | process children | Coarse step class: user = HITL, service = job/agent/API, receive = wait for event, callActivity = another Maestro process |
|
|
31
|
+
| `bpmn:lane` / `laneSet` | process | Actors (human lanes) and system lanes → Actors and Systems |
|
|
32
|
+
| `startEvent` with `Intsvc.EventTrigger` / `Intsvc.TimerTrigger`; `endEvent` with `terminateEventDefinition` | process | Triggers and terminal outcomes |
|
|
33
|
+
| `exclusiveGateway default=`, `parallelGateway`, `inclusiveGateway`, `eventBasedGateway` | process | Branch semantics |
|
|
34
|
+
| `sequenceFlow sourceRef targetRef` + `conditionExpression` (`=vars.X == "…"`) | process | Graph edges and branch predicates → Business Rules |
|
|
35
|
+
| `boundaryEvent attachedToRef cancelActivity` + `timerEventDefinition` / `errorEventDefinition` (`errorRef` → `<bpmn:error errorCode>`) | process | Timeouts and error paths per step |
|
|
36
|
+
| `<uipath:retry maxRetryCount retryBackoff>`, `<uipath:errorMapping>` | activity | Retry policy per step |
|
|
37
|
+
| `subProcess triggeredByEvent`, `multiInstanceLoopCharacteristics isSequential` + `<uipath:loopCharacteristics inputCollection inputElement>` | process | Event subprocesses and batch loops |
|
|
38
|
+
|
|
39
|
+
Skip `bpmndi:` diagram elements.
|
|
40
|
+
|
|
41
|
+
## Signals — Case
|
|
42
|
+
|
|
43
|
+
| Signal | Path | Tells you |
|
|
44
|
+
|---|---|---|
|
|
45
|
+
| `metadata.caseIdentifier`, `caseIdentifierType` | top | Case ID scheme |
|
|
46
|
+
| `nodes[type=uipath.case.trigger].data.inputs.serviceType` | trigger | `None` (manual), `Intsvc.EventTrigger`, `timer` |
|
|
47
|
+
| `nodes[type=case-management:Stage]`, `data.stageType` (`secondary` = exception stage) | nodes | Stages → Process Map |
|
|
48
|
+
| `data.tasks` (2-D array: inner = parallel, consecutive = sequential) | stage | Task order and parallelism |
|
|
49
|
+
| task `type`: `process`, `rpa`, `agent`, `api-workflow`, `action` (human), `case-management`, `execute-connector-activity`, `wait-for-connector`, `wait-for-timer` | tasks | Component kind invoked — handoff edges |
|
|
50
|
+
| `isRequired`, `skipCondition`, `shouldRunOnlyOnce`, `entryConditions[].rules` (DNF), `exitConditions[].{type, exitToStageId}` | tasks / stage | Business rules and gating |
|
|
51
|
+
| `metadata.slaRules[]`, `nodes[].data.slaRules[]` (`count`, `unit`, `escalationRule[]` with `triggerInfo.type`, `atRiskPercentage`, `recipients`) | metadata / stage | SLAs and escalation → Business Rules and Error Handling |
|
|
52
|
+
| `metadata.caseExitRules[].marksCaseComplete` | metadata | Case completion |
|
|
53
|
+
| `variables.{inputs, outputs, inputOutputs}`, `bindings[]` | top | Interface and platform resources |
|
|
54
|
+
|
|
55
|
+
## Signals — Low-code Agent
|
|
56
|
+
|
|
57
|
+
| Signal | Path | Tells you |
|
|
58
|
+
|---|---|---|
|
|
59
|
+
| `"type": "lowCode"`, `metadata.isConversational`, `settings.engine` | `agent.json` | Autonomous vs conversational |
|
|
60
|
+
| `messages[role=system].content` | `agent.json` | Agent instructions — primary source of business rules; paraphrase, never quote verbatim |
|
|
61
|
+
| `messages[role=user].content` with `{{input.x}}`, `@{tools.X}`, `@{contexts.X}`, `@{escalations.X}` | `agent.json` | Inputs used and resources referenced |
|
|
62
|
+
| `inputSchema`, `outputSchema` (`$ref: job-attachment` = file) | `agent.json`, mirrored in `entry-points.json` | Interface |
|
|
63
|
+
| `settings.{model, maxIterations, temperature}` | `agent.json` | Model → Configuration Question, since the tenant decides which models are available; loop budget and temperature → Business Rules |
|
|
64
|
+
| `resources/<Name>/resource.json` `$resourceType: "tool"`, `type`: `process`, `agent`, `api`, `processOrchestration`, `internal`; `location` (`solution` / `external`), `referenceKey`, `properties.{processName, folderPath}` | resources | Tools = handoff edges to other components; `external` = deployed dependency |
|
|
65
|
+
| `$resourceType: "escalation"` with `channel.type: actionCenter`, `channel.properties.folderName` | resources | HITL escalation |
|
|
66
|
+
| `$resourceType: "mcp"` (`availableTools`), `"context"` | resources | MCP servers and context-grounding indexes |
|
|
67
|
+
| `guardrails[]`, tool `guardrail.policies` | `agent.json`, resources | Policy checks → Business Rules |
|
|
68
|
+
| `features/<Name>/feature.json` | features | Memory spaces |
|
|
69
|
+
|
|
70
|
+
## Signals — Coded Agent
|
|
71
|
+
|
|
72
|
+
| Signal | File | Tells you |
|
|
73
|
+
|---|---|---|
|
|
74
|
+
| `langgraph.json` `graphs` (`"agent": "./main.py:graph"`), `llama_index.json`, `openai_agents.json` | root | Framework and where graph starts |
|
|
75
|
+
| `StateGraph`, `add_node`, `add_edge`, `add_conditional_edges` | graph module | Step topology and branching |
|
|
76
|
+
| `Input` / `Output` / `State` Pydantic or TypedDict classes | graph module | Interface (also in `entry-points.json`) |
|
|
77
|
+
| `sdk.processes.invoke`, `sdk.queues.*`, `sdk.assets.retrieve`, `sdk.buckets.*`, `sdk.tasks.create`, `sdk.context_grounding.*`, `sdk.connections.retrieve`, `sdk.mcp.*` | any `.py` | Tools and side effects → handoff edges, platform resources |
|
|
78
|
+
| `interrupt(InvokeProcess / CreateTask / CreateEscalation(...))`, `EscalateAction(app_name=…)` | any `.py` | HITL checkpoints |
|
|
79
|
+
| System prompt strings passed to the model | any `.py` | Business rules — paraphrase |
|
|
80
|
+
| `bindings.json` `resources[]` (`resource`: `asset`, `queue`, `process`, `bucket`, `app`, `index`, `connection`, `mcpServer`) | root | Platform resources |
|
|
81
|
+
| `evaluations/eval-sets/*.json`, `evaluations/evaluators/*.json` | evaluations | Expected behaviour → acceptance criteria |
|
|
82
|
+
| `pyproject.toml` `[project].dependencies` | root | Framework packages |
|
|
83
|
+
|
|
84
|
+
## Signals — API Workflow
|
|
85
|
+
|
|
86
|
+
| Signal | Path | Tells you |
|
|
87
|
+
|---|---|---|
|
|
88
|
+
| `document.dsl`, `evaluate.language` | top | Serverless Workflow 1.0, JavaScript expressions |
|
|
89
|
+
| `input.schema.document`, `output.schema.document` | top | Interface |
|
|
90
|
+
| `document.metadata.variables.schema.document.properties` | top | Variables and defaults |
|
|
91
|
+
| `do[]` single-key tasks; `metadata.activityType`: `Sequence`, `Assign`, `JsInvoke`, `If`, `ForEach`, `DoWhile`, `Break`, `TryCatch`, `Wait`, `Response`, `Connector`, `FileToBase64`, `Base64ToFile` | top | Steps and control flow |
|
|
92
|
+
| `metadata.isTransparent: true` (`WorkflowStart`) | first task | Generated — skip |
|
|
93
|
+
| `call: "UiPath.Http"` + `with.bodyParameters.{method, url}` | HTTP task | Real verb and URL (outer `with.method` is always POST) → Target Applications |
|
|
94
|
+
| `call: "UiPath.IntSvc"` + `with.{connector, connectionId, endpoint}` | connector task | Integration Service connector and operation |
|
|
95
|
+
| `run.script.code` | JsInvoke | Embedded logic → Business Rules |
|
|
96
|
+
| `try` / `catch` blocks | TryCatch | Error handling |
|
|
97
|
+
| `response` on the final task | Response | Output |
|
|
98
|
+
| `httpRetryConfig` | top | Retry policy |
|
|
99
|
+
|
|
100
|
+
## Signals — Coded Function
|
|
101
|
+
|
|
102
|
+
| Signal | File | Tells you |
|
|
103
|
+
|---|---|---|
|
|
104
|
+
| `functions` map (`"main": "main.py:my_function"`) | `uipath.json` | Entry points |
|
|
105
|
+
| Pydantic `Input` / `Output` (Python) or `defineFunction({ input: defineSchema<Input>(), output: … })` (TS/JS) | entry module | Interface |
|
|
106
|
+
| `method` + `path` on `defineFunction` | TS/JS | HTTP endpoint vs run-as-job |
|
|
107
|
+
| `UiPath()` SDK calls (Python), `ctx.platform.*` (TS/JS) | code | Platform side effects |
|
|
108
|
+
| Body logic (conditions, calculations) | code | Business rules |
|
|
109
|
+
| `entry-points.json` `entryPoints[].{type: "function", input, output}`, `bindings_v2.json` `HttpTrigger` | generated | Confirms interface and trigger |
|
|
110
|
+
|
|
111
|
+
## Signals — Coded App
|
|
112
|
+
|
|
113
|
+
| Signal | File | Tells you |
|
|
114
|
+
|---|---|---|
|
|
115
|
+
| `project.uiproj` `ProjectType: "AppV2"`; `webAppManifest.json` `config.isActionApp` | root | In-solution app; Action app vs Web app |
|
|
116
|
+
| `action-schema.json` `inputs` / `outputs` / `inOuts` / `outcomes` | root | Human-task data contract → Interface, HITL handoff |
|
|
117
|
+
| `package.json` deps `@uipath/coded-action-app`, `@uipath/uipath-typescript` | root | App flavour |
|
|
118
|
+
| `sdk.processes.*`, `sdk.queues.*`, `sdk.entities.*`, `sdk.tasks.*`, `sdk.assets.*`, `sdk.buckets.*`, `sdk.maestro.*`, `sdk.conversations.*` | `src/**/*.ts(x)` | Platform data read and written → Platform Dependencies, handoffs |
|
|
119
|
+
| Route and page components, forms, tables | `src/**` | Workflow steps as user actions ("reviewer opens…, edits…, submits…") |
|
|
120
|
+
| Widget imports (Validation Station, PDF viewer, DataTable, chat) | `src/**` | Capabilities to name in Overview |
|
|
121
|
+
| `.uipath/app.config.json` `appType`, `appName` | root | Deployed identity |
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# UiPath Source Guide — RPA Signals
|
|
2
|
+
|
|
3
|
+
Read after [uipath-source-guide.md](uipath-source-guide.md); read the § Signals sections below whose artifact type the inventory holds.
|
|
4
|
+
|
|
5
|
+
## Signals — XAML
|
|
6
|
+
|
|
7
|
+
`project.json` fields first: `name`, `main`, `entryPoints[]` (`filePath`, `input`, `output`), `dependencies` (package IDs), `designOptions.outputType` (`Process` / `Library` / `Tests`), `expressionLanguage` (`VisualBasic` / `CSharp`), `targetFramework` (`Windows` / `Portable` / `Legacy`), `runtimeOptions.isAttended`, `runtimeOptions.requiresUserInteraction`, `globalHandler`.
|
|
8
|
+
|
|
9
|
+
| Signal | Where | Tells you | Example |
|
|
10
|
+
|---|---|---|---|
|
|
11
|
+
| Root element inside `<Activity>` | `<Sequence>`, `<Flowchart>`, `<StateMachine>` | Control-flow style; a `<StateMachine>` root in `Main.xaml` beside a `Framework/` folder is the REFramework (§ REFramework projects below) | `<StateMachine>` |
|
|
12
|
+
| `xmlns` declarations on `<Activity>` | root | Packages in use → target applications | `xmlns:umam="clr-namespace:UiPath.MicrosoftOffice365.Activities.Mail…"` |
|
|
13
|
+
| Activity elements in the body | e.g. `<ui:NTypeInto>`, `<umam:GetNewestEmail>`, `<p:ReadRange>`, `<ui:NClick>` | Business action of each step; `DisplayName` is best plain-language hint | `DisplayName="Read invoice sheet"` |
|
|
14
|
+
| `<x:Members>` → `<x:Property Type="InArgument(x:String)">` | header | Workflow interface: In / Out / InOut arguments | `Name="in_InvoicePath"` |
|
|
15
|
+
| `<If Condition>`, `<Switch>`, `<FlowDecision Condition>`, `<FlowSwitch>` | body | Business rules and routing | `Condition="[Amount > 10000]"` |
|
|
16
|
+
| `<TryCatch>` + `<Catch x:TypeArguments>`, `<RetryScope NumberOfRetries>`, `<Rethrow>`, `<Throw>` | body | Error handling per step | `NumberOfRetries="3"` |
|
|
17
|
+
| `<ForEach>`, `<While>`, `<DoWhile>`, `<ForEachRow>`, `<ui:ForEachUiElement>` | body | Iteration over items, rows, elements | |
|
|
18
|
+
| `<InvokeWorkflowFile FileName>` + `<Argument>` children | body | Call-graph edge and data passed | `FileName="ProcessInvoice.xaml"` |
|
|
19
|
+
| `ConnectionId` attribute, `<isactr:ConnectorActivity UiPathActivityTypeId>` | body | Integration Service connector call; resolve service from namespace or type id | `uipath-salesforce-sfdc` |
|
|
20
|
+
| Queue activities (`AddQueueItem`, `GetTransactionItem`, `SetTransactionStatus`), asset activities (`GetAsset`, `GetCredential`), `StartJob`, `CreateFormTask` / `WaitForFormTaskAndResume`, `Persistence` activities | body | Platform resources and HITL waits | queue name attribute |
|
|
21
|
+
| `<Variable x:TypeArguments Name>` | `.Variables` blocks | Data flow hints only — never in genome body | |
|
|
22
|
+
| Object Repository references (`uix:TargetAnchorable`, `uix:TargetApp`, `Descriptor` elements) | body | UI targets; name screen and application, never selector. `TargetApp Url` / `ScopeSelectorArgument url=` give target system's base URL → Configuration Question | `Url="https://<org>.lightning.force.com/…"` |
|
|
23
|
+
| `uix:NApplicationCard` / `ui:OpenBrowser` / `ui:OpenApplication` | body | Application scope: browser type, attach vs launch, one scope per application session | `BrowserType="Chrome" AttachMode="ByInstance"` |
|
|
24
|
+
| `DelayBefore` / `DelayAfter`, `WaitForReadyArgument`, `EmptyFieldMode` | UIA activity attributes | Timing and field-clearing behaviour → Error Handling wording ("waits for the dialog to settle", "replaces the pre-filled value") — never attribute names | `EmptyFieldMode="SingleLine"` |
|
|
25
|
+
| `SearchSteps="SemanticSelector"` with `SemanticSelectorArgument` | target | Element located by natural-language description, usually because no stable selector exists → Source Map note | |
|
|
26
|
+
|
|
27
|
+
Designer view state and layout sizes are not logic ([uipath-source-guide.md § Reading the Project](uipath-source-guide.md)).
|
|
28
|
+
|
|
29
|
+
### REFramework projects
|
|
30
|
+
|
|
31
|
+
A project built on the Robotic Enterprise Framework template is recognised by its shape, not by a manifest flag: `Main.xaml` is a `<StateMachine>` whose states are Init, Get Transaction Data, Process Transaction and End Process; a `Framework/` folder holds the framework workflows. The framework **is** the Transactional Shape ([transactional-shape-guide.md](../shared/transactional-shape-guide.md)); the business logic is the Workflow. Which file feeds which row:
|
|
32
|
+
|
|
33
|
+
| Source | Feeds | How |
|
|
34
|
+
|---|---|---|
|
|
35
|
+
| The queue and folder *Get Transaction Item* reads in `Framework/GetTransactionData.xaml`, set on the activity or from the configuration's settings | Transactional Shape As-is item store; Platform Dependencies (queue) | A queue name that the item-fetch workflow actually reads → `queue` mode, name kept as the source value. Blank, or the template's sample `ProcessABCQueue` beside a customised item fetch → `direct` mode, data source from that fetch |
|
|
36
|
+
| Settings and Constants rows — `MaxRetryNumber`, `MaxConsecutiveSystemExceptions`, and every custom row (URLs, paths, thresholds) | Sorted per [genome-format-guide.md § Configuration Questions](../shared/genome-format-guide.md): an environment row (URL, path, mailbox, folder) is a Configuration Question with the file's value as default; the two counts go in the outcomes table; every other row goes in the step or rule that uses it | `logF_BusinessProcessName`, `TransactionNumber`, `RetryNumberGetTransactionItem`, `RetryNumberSetTransactionStatus` are framework plumbing — no question |
|
|
37
|
+
| Assets the configuration lists, and the asset and credential activities | Platform Dependencies | One row per asset name; Credential when the description or the consuming activity says so, otherwise Text |
|
|
38
|
+
| `Framework/InitAllApplications.xaml` (`GetAppCredentials.xaml` in older templates) | Once-per-run steps; credential assets | Open and sign-in per application |
|
|
39
|
+
| `Framework/Process.xaml` (root `Process.xaml` in older templates) and every workflow it invokes | Per-item steps — the Workflow's numbered steps | The call graph starts here, not at `Main.xaml` |
|
|
40
|
+
| `Throw` of a `BusinessRuleException` inside the per-item workflows | Business Rules (the condition) and the business-exception row of the outcomes table | The exception message is the reason wording |
|
|
41
|
+
| `Framework/GetTransactionData.xaml` when customised — a table row, a file, a screen list instead of the queue item | Mode `direct` and its source; the once-per-run read | The shipped queue fetch is plumbing |
|
|
42
|
+
| `Framework/SetTransactionStatus.xaml` when customised — write-back to a column, a file, a reporting queue | Traceability line of the Transactional Shape | The shipped three status updates are plumbing |
|
|
43
|
+
| `Framework/CloseAllApplications.xaml`, `Framework/KillAllProcesses.xaml` | At-the-end steps; Error Handling § Global (forced close between retries) | |
|
|
44
|
+
| `Main.xaml` and its transitions, `InitAllSettings.xaml`, `RetryCurrentTransaction.xaml`, `TakeScreenshot.xaml`, the template's `Tests/`, `Exceptions_Screenshots/`, `Documentation/` | **Not steps.** Source Map row `Framework files` listing them; `Tests/` is test-coverage evidence | The build recreates them from the template when the shape is applied |
|
|
45
|
+
|
|
46
|
+
A **dispatcher** is recognised the other way round: a plain project (Sequence or Flowchart root) whose loop reads a source and adds one queue item per row with a reference; the queue name — a literal or a configuration value — joins it to the performer that consumes it ([uipath-source-guide.md § Call Graph Rules](uipath-source-guide.md) rule 3). A REFramework project whose initialisation adds the items its own item fetch then takes from the same queue is both at once: its producer steps are the initialisation's reads and adds, its consumer is the rest of the framework, and the As-is is one process holding both roles over a queue — the shape Split option C keeps ([transactional-shape-guide.md](../shared/transactional-shape-guide.md) rule 3). A guard in that initialisation (a unique reference, a check that the day's items already exist) is the Coordination row's once-guard.
|
|
47
|
+
|
|
48
|
+
## Signals — Coded C#
|
|
49
|
+
|
|
50
|
+
| Signal | Pattern | Tells you |
|
|
51
|
+
|---|---|---|
|
|
52
|
+
| `[Workflow]` on a method | entry point of a coded workflow |
|
|
53
|
+
| `[TestCase]` on a method | test — evidence for acceptance criteria, not a component step |
|
|
54
|
+
| Service properties: `system.`, `excel.`, `mail.`, `office365.`, `uiAutomation.`, `testing.` | Which UiPath service, hence which application |
|
|
55
|
+
| `connections.<Connector>.<Connection>` | Integration Service connection; connector name in property chain |
|
|
56
|
+
| `workflows.<Name>(…)` | Call-graph edge to another workflow |
|
|
57
|
+
| `try` / `catch (<Type>)` / `finally`, `Polly`-style loops | Error handling |
|
|
58
|
+
| `if` / `switch` / `foreach` / `while` / LINQ `Where` | Business rules and iteration |
|
|
59
|
+
| Method signature and `.cs.json` `arguments[]` (`name`, `type`, `direction`) | Interface |
|
|
60
|
+
| `BuildClient("Orchestrator")`, `HttpClient` | Orchestrator API or external REST |
|
|
61
|
+
| `Descriptors.<Screen>.<Element>` | UI targets from Object Repository |
|
|
62
|
+
|
|
63
|
+
## Signals — Project settings
|
|
64
|
+
|
|
65
|
+
`.settings/<profile>/settings-<hash>.json`, one file per activity package; each key `<package>.<activity or group>.<property>` holds the project's value for that property. An activity that sets the property itself overrides it; every activity that leaves it unset takes it. Profiles: `Release` is the Run scenario (a published or unattended run), `Debug` applies when debugging from Studio, `Design` holds the values Studio writes into an activity or target when it is added — the workflow already carries them. Read `Release`, and `Debug` only where the source's behaviour is described for Studio runs.
|
|
66
|
+
|
|
67
|
+
| Setting group | Tells you | Genome |
|
|
68
|
+
|---|---|---|
|
|
69
|
+
| Input method per technology (web, Edge, desktop window, Java, SAP) | How each UI step without its own input method acts | The step, or one cross-cutting rule when most steps rely on it |
|
|
70
|
+
| Timeout, delays before and after, wait-for-ready, delay between keys, check-state timeout, hover and highlight time | Waits and budgets of steps that set none | Where they act ([genome-format-guide.md § Configuration Questions](../shared/genome-format-guide.md)) |
|
|
71
|
+
| Click before typing, field emptying, typing through the clipboard, post-action verification | How type and click steps behave | The steps they shape |
|
|
72
|
+
| Application scope open, close, attach and resize modes, runtime browser, browser user data folder | How application scopes start and end | The scope steps |
|
|
73
|
+
| Browser dialog handling (dismiss alerts, confirms, prompts; default answers) | What happens to a dialog no step answers | Error Handling, or the step that opens the page |
|
|
74
|
+
| Model per semantic or agent activity, iteration limit, trace settings | Which model and budget each AI step uses | A Configuration Question, since the tenant decides which models exist |
|
|
75
|
+
| Service endpoints and keys (OCR, AI services) | An external service the project calls | Target Applications; the key is a secret, never copied — a Credential asset per [genome-format-guide.md § Platform Dependencies](../shared/genome-format-guide.md) |
|
|
76
|
+
|
|
77
|
+
## Signals — Test projects
|
|
78
|
+
|
|
79
|
+
`designOptions.outputType: Tests` in `project.json` (`ProjectType: Tests` in `project.uiproj`), or test cases registered in a process project.
|
|
80
|
+
|
|
81
|
+
| Signal | Where | Tells you |
|
|
82
|
+
|---|---|---|
|
|
83
|
+
| `designOptions.fileInfoCollection[]` entries with `testCaseType: TestCase` — `fileName`, `testCaseId`, `executionTemplatePath`, `executionTemplateInvokeIsolated`, `dataVariationFilePath` | `project.json` | The test cases a test run starts, one entry point each, identified by `testCaseId` ([uipath-source-guide.md § Provenance](uipath-source-guide.md)); a file carrying `[TestCase]` with no entry is never started — dead code |
|
|
84
|
+
| Execution template: a workflow holding a placeholder activity, named by the entries' `executionTemplatePath` | `.templates/*.xaml` | Steps each case whose entry names it runs around its own — preparation, finalization, a timeout, a skip — written once in the shared component, never per case; an entry naming no template runs its case bare |
|
|
85
|
+
| A skip or filter deciding by the case's name, folder, machine or Orchestrator folder | the template or a helper it calls | Where each case runs: replay the rule over every registered case and state the outcome per group of cases; the folder then carries behaviour, and a rebuild that moves a case changes where it runs |
|
|
86
|
+
| Verification activities (Verify Expression, Verify Control Attribute, …), `testing.Verify…` calls, xUnit `Assert` in coded cases, a throw under a condition | case bodies, helpers | Checkpoints: what is asserted, the operator and the expected literal |
|
|
87
|
+
| Attach Document, `testing.AttachDocument`, screenshot activities | case bodies, template | Evidence policy (extraction's Step 3) |
|
|
88
|
+
| Data variations | `.variations/` | [uipath-source-guide.md § Test Data](uipath-source-guide.md) |
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
# UiPath Source Guide
|
|
2
|
+
|
|
3
|
+
Read this guide whole, and every § Signals section of the two files below, except a § Signals section whose artifact type is absent from the inventory:
|
|
4
|
+
|
|
5
|
+
| Artifact types (§ Inventory and Exclusions) | § Signals sections | File |
|
|
6
|
+
|---|---|---|
|
|
7
|
+
| XAML, coded C# workflows, project activity defaults, test projects | Signals — XAML (with REFramework projects), Coded C#, Project settings, Test projects | [uipath-rpa-signals-guide.md](uipath-rpa-signals-guide.md) |
|
|
8
|
+
| Flow, BPMN, Case, low-code agent, coded agent, API workflow, coded function, coded app | Signals — Flow, BPMN, Case, Low-code Agent, Coded Agent, API Workflow, Coded Function, Coded App | [uipath-non-rpa-signals-guide.md](uipath-non-rpa-signals-guide.md) |
|
|
9
|
+
|
|
10
|
+
## Reading the Project
|
|
11
|
+
|
|
12
|
+
A UiPath project is its own raw form. No inventory script renders it: extraction reads the files, and a suspected source defect is verified in one pass — the cited workflow re-read in full with its disabled activities, both directions of its argument bindings and the workflow it invokes (extraction's defect verification). Read in this order:
|
|
13
|
+
|
|
14
|
+
1. **Manifest** — `project.json` (fields: [uipath-rpa-signals-guide.md § Signals — XAML](uipath-rpa-signals-guide.md); test registrations: [uipath-rpa-signals-guide.md § Signals — Test projects](uipath-rpa-signals-guide.md)), or the solution's `.uipx` (§ Detection) and each project's manifest.
|
|
15
|
+
2. **Inventory** with Glob per § Inventory and Exclusions — files per folder and per artifact type, the counts § Provenance names.
|
|
16
|
+
3. **Project activity defaults** in `.settings/` ([uipath-rpa-signals-guide.md § Signals — Project settings](uipath-rpa-signals-guide.md)), before any workflow: they decide every property a workflow leaves unset.
|
|
17
|
+
4. **Every workflow in full** — `.xaml`, `.cs` with its `.cs.json`. Designer data fills up to half of an older project's XAML, and an Integration Service connector activity carries its connector's cached object schema — every field of the object with its search operators and picklist values — which can fill nine tenths of a connector-heavy file. Read the files through this filter, which drops view state, namespace and assembly lists, layout sizes, the cached schemas and the compressed design configuration only, keeping every activity, property, annotation, `IdRef`, `xmlns`, expression and every field the activity sets (a field it sets carries a child value element, so its line is never a self-closed one):
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
sed -e '/<TextExpression.NamespacesForImplementation>.*<\/TextExpression.NamespacesForImplementation>/d; /<TextExpression.NamespacesForImplementation>/,/<\/TextExpression.NamespacesForImplementation>/d' \
|
|
21
|
+
-e '/<TextExpression.ReferencesForImplementation>.*<\/TextExpression.ReferencesForImplementation>/d; /<TextExpression.ReferencesForImplementation>/,/<\/TextExpression.ReferencesForImplementation>/d' \
|
|
22
|
+
-e '/<sap:WorkflowViewStateService.ViewState>.*<\/sap:WorkflowViewStateService.ViewState>/d; /<sap:WorkflowViewStateService.ViewState>/,/<\/sap:WorkflowViewStateService.ViewState>/d' \
|
|
23
|
+
-e '/<sap2010:WorkflowViewState.ViewStateManager>.*<\/sap2010:WorkflowViewState.ViewStateManager>/d; /<sap2010:WorkflowViewState.ViewStateManager>/,/<\/sap2010:WorkflowViewState.ViewStateManager>/d' \
|
|
24
|
+
-e '/<uibi:BusinessEntity.SearchableFields>.*<\/uibi:BusinessEntity.SearchableFields>/d; /<uibi:BusinessEntity.SearchableFields>/,/<\/uibi:BusinessEntity.SearchableFields>/d' \
|
|
25
|
+
-e '/<uibi:BusinessEntity.EntityMetadata>.*<\/uibi:BusinessEntity.EntityMetadata>/d; /<uibi:BusinessEntity.EntityMetadata>/,/<\/uibi:BusinessEntity.EntityMetadata>/d' \
|
|
26
|
+
-e '/<uiisi:OperationEntityField.EnumValues>.*<\/uiisi:OperationEntityField.EnumValues>/d; /<uiisi:OperationEntityField.EnumValues>/,/<\/uiisi:OperationEntityField.EnumValues>/d' \
|
|
27
|
+
-e '/^ *<uiisi:OperationEntityField [^>]*\/> *$/d' \
|
|
28
|
+
-e 's/ Configuration="H4sI[^"]*"/ Configuration="(compressed)"/g' \
|
|
29
|
+
-e 's/ sap:VirtualizedContainerService.HintSize="[^"]*"//g' "<XAML_FILE>"
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
A generic connector activity (`isactr:ConnectorActivity`) names its connector, object, operation, path and page size only inside that compressed configuration (base64 of gzip JSON). Print them, one line per activity in file order, leaving out the schema it also holds:
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
node -e "const fs=require('fs'),zlib=require('zlib');for(const m of fs.readFileSync(process.argv[1],'utf8').matchAll(/Configuration=\"(H4sI[^\"]+)\"/g)){const c=JSON.parse(zlib.gunzipSync(Buffer.from(m[1],'base64')));delete c.FieldsContainer;console.log(JSON.stringify(c))}" "<XAML_FILE>"
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
5. **Object Repository** by its node files, never its descriptors: every node folder under `.objects/` holds `.type` (`Library`, `App`, `AppVersion`, `Screen`, `Element`) and `.metadata` (JSON: `Name`, `Id`, `Reference`) — application, screen and element names for Target Applications, counts for the Source Map.
|
|
39
|
+
6. **Deployed state**, when the user gave its folder or an export of it, or the bindings name a folder of the signed-in tenant (§ Deployed State).
|
|
40
|
+
|
|
41
|
+
## Detection
|
|
42
|
+
|
|
43
|
+
| Signal | Meaning |
|
|
44
|
+
|---|---|
|
|
45
|
+
| `<Name>.uipx` in the root (JSON with `Projects[]`) | UiPath **solution** — multi-component. Process genome. Component list: `Projects[].Type` and `Projects[].ProjectRelativePath`. |
|
|
46
|
+
| Several sibling folders each with `project.json` / `project.uiproj` and no `.uipx` | Loose multi-project bundle — treat as a solution; flag `*[Inferred]*` in Deployment. |
|
|
47
|
+
| Single `project.json` (RPA) or `project.uiproj` (Flow, BPMN, Case, Api, Agent, AppV2) | One **component**. Component genome — except a test project holding several test-case groups (§ Component Detection). |
|
|
48
|
+
| Only `.xaml` / `.cs` files, no manifest | RPA project with missing metadata — extract, flag name and settings `*[Inferred]*`. |
|
|
49
|
+
| `pyproject.toml` with `langgraph.json` / `llama_index.json` / `openai_agents.json` | Coded Python agent component. |
|
|
50
|
+
| `uipath.json` with a `functions` map | Coded Function component (Python if `pyproject.toml`, JS/TS if `package.json`). |
|
|
51
|
+
| `package.json` depending on `@uipath/uipath-typescript` or `@uipath/coded-action-app`, plus `webAppManifest.json` or `.uipath/app.config.json` | Coded app component. |
|
|
52
|
+
|
|
53
|
+
`.uipx` fields: `Projects[].{Id, Type, ProjectRelativePath}`, `SolutionId`, `StudioMinVersion`, `AutomationHubIdeaUrl`. `resources/solution_folder/**` mirrors `Projects[]`, generated — never read for logic.
|
|
54
|
+
|
|
55
|
+
## Inventory and Exclusions
|
|
56
|
+
|
|
57
|
+
| Pattern | Artifact type | Signals section |
|
|
58
|
+
|---|---|---|
|
|
59
|
+
| `*.xaml` | XAML workflow | [uipath-rpa-signals-guide.md § Signals — XAML](uipath-rpa-signals-guide.md) |
|
|
60
|
+
| `*.cs` with `[Workflow]` / `[TestCase]` | Coded workflow | [uipath-rpa-signals-guide.md § Signals — Coded C#](uipath-rpa-signals-guide.md) |
|
|
61
|
+
| `*.cs.json` | Coded workflow argument metadata | read with the `.cs` |
|
|
62
|
+
| `*.flow` | Maestro Flow | [uipath-non-rpa-signals-guide.md § Signals — Flow](uipath-non-rpa-signals-guide.md) |
|
|
63
|
+
| `*.bpmn` | Maestro BPMN process | [uipath-non-rpa-signals-guide.md § Signals — BPMN](uipath-non-rpa-signals-guide.md) |
|
|
64
|
+
| `caseplan.case` / `caseplan.json` | Maestro Case plan | [uipath-non-rpa-signals-guide.md § Signals — Case](uipath-non-rpa-signals-guide.md) |
|
|
65
|
+
| `agent.json` (`"type": "lowCode"`) + `resources/*/resource.json` | Low-code agent | [uipath-non-rpa-signals-guide.md § Signals — Low-code Agent](uipath-non-rpa-signals-guide.md) |
|
|
66
|
+
| `langgraph.json` / `llama_index.json` / `openai_agents.json` + `*.py` | Coded agent | [uipath-non-rpa-signals-guide.md § Signals — Coded Agent](uipath-non-rpa-signals-guide.md) |
|
|
67
|
+
| `Workflow.json` (`document.dsl`) | API workflow | [uipath-non-rpa-signals-guide.md § Signals — API Workflow](uipath-non-rpa-signals-guide.md) |
|
|
68
|
+
| `uipath.json` `functions` map + `*.py` or `functions/*.ts` | Coded Function | [uipath-non-rpa-signals-guide.md § Signals — Coded Function](uipath-non-rpa-signals-guide.md) |
|
|
69
|
+
| `webAppManifest.json`, `action-schema.json`, `src/**/*.ts(x)` | Coded app | [uipath-non-rpa-signals-guide.md § Signals — Coded App](uipath-non-rpa-signals-guide.md) |
|
|
70
|
+
| `bindings_v2.json`, `entry-points.json`, `project.json` `dependencies` | Platform resources and interfaces | § Platform Resources |
|
|
71
|
+
| `.objects/**` (Object Repository) | Application, screen, and element **names** only — never selectors | read for Target Applications and Source Map notes (§ Reading the Project) |
|
|
72
|
+
| `.settings/<profile>/settings-*.json` | Project activity defaults | [uipath-rpa-signals-guide.md § Signals — Project settings](uipath-rpa-signals-guide.md) |
|
|
73
|
+
| `.templates/*.xaml`, `designOptions.fileInfoCollection[]` in `project.json` | Test execution template, test-case registrations | [uipath-rpa-signals-guide.md § Signals — Test projects](uipath-rpa-signals-guide.md) |
|
|
74
|
+
| `AGENTS.md`, `README.md`, `.claude/rules/project-context.md` | Author-written intent, known gotchas, run instructions | evidence for Overview and Error Handling; verify every claim against code before use |
|
|
75
|
+
|
|
76
|
+
Skip entirely: `.local/`, `.codedworkflows/`, `.storage/` (UI Automation's target-image and ancestry caches), `.tmh/`, `.screenshots/`, `.project/`, `node_modules/`, `dist/`, `source/dist/`, `.venv/`, `__pycache__/`, `resources/solution_folder/`, `userProfile/`, `.git/`, `.app/` (generated trigger XAML), `*.Generated.xaml`.
|
|
77
|
+
|
|
78
|
+
Generated boilerplate, never a source of logic: `CodedWorkflow.cs`, `ConnectionsManager.cs`, `ConnectionsFactory.cs`, `ObjectRepository.cs`, `WorkflowRunnerService.cs`, `Triggers.Generated.xaml`, `AppsRequestTrigger.xaml`.
|
|
79
|
+
|
|
80
|
+
## Component Detection
|
|
81
|
+
|
|
82
|
+
| Marker | Component Type | Skill | Rationale |
|
|
83
|
+
|---|---|---|---|
|
|
84
|
+
| `project.json` with `.xaml` and/or `[Workflow]` `.cs` (`.uipx` Type `Process`, `Library`, `Test`) | RPA process / library | `uipath-rpa` | Owns both XAML and coded workflows |
|
|
85
|
+
| `project.uiproj` + `.flow` (`.uipx` Type `Flow`) | Flow | `uipath-maestro-flow` | |
|
|
86
|
+
| `project.uiproj` + `.bpmn` (`.uipx` Type `ProcessOrchestration`) | BPMN process | `uipath-maestro-bpmn` | |
|
|
87
|
+
| `caseplan.case` / `caseplan.json` | Case plan | `uipath-maestro-case` | |
|
|
88
|
+
| `agent.json` lowCode (`.uipx` Type `Agent`) | Low-code agent | `uipath-agents` | |
|
|
89
|
+
| `pyproject.toml` + framework json | Coded agent | `uipath-agents` | |
|
|
90
|
+
| `Workflow.json` (`.uipx` Type `Api`) | API workflow | `uipath-api-workflow` | |
|
|
91
|
+
| `uipath.json` `functions` map | Coded Function | `uipath-functions` | |
|
|
92
|
+
| `project.uiproj` `ProjectType: "AppV2"` or standalone coded app markers | Coded app (Web or Action per `webAppManifest.json` `config.isActionApp`) | `uipath-coded-apps` | |
|
|
93
|
+
| `element.json` + `element-metadata.json` | Custom connector | `uipath-connector-builder` | |
|
|
94
|
+
|
|
95
|
+
The project folder is the part of a workflow's path the project stands for; the rest, the project-relative path the step table's Source objects cell carries (§ Provenance), is the workflow's path in the rebuild.
|
|
96
|
+
|
|
97
|
+
A test project (`.uipx` Type `Test`, `[TestCase]`-only `.cs`, `designOptions.outputType: Tests`) beside the projects it tests is evidence, not a component: record "test coverage present" in the Source Map and use its assertions as acceptance-criteria evidence. When the source holds only test projects, the suite is what the genome documents: its test-case groups are test components, and its execution template with the helpers the cases share is one shared component of the same project ([genome-format-guide.md § Two Levels](../shared/genome-format-guide.md) rule 1; signals: [uipath-rpa-signals-guide.md § Signals — Test projects](uipath-rpa-signals-guide.md)).
|
|
98
|
+
|
|
99
|
+
## Target Resolution
|
|
100
|
+
|
|
101
|
+
1. **XAML activity → application:** resolve from `xmlns` namespace (`UiPath.MicrosoftOffice365.Activities.Mail` → Outlook / Office 365; `UiPath.GSuite.Activities` → Gmail / Google Workspace; `UiPath.Excel.Activities` → Excel; `UiPath.Database.Activities` → database named in connection string; `UiPath.UIAutomation.Activities` → application named in target's `DisplayName` or Object Repository screen; `UiPath.PDF.Activities` / `UiPath.IntelligentOCR.Activities` / `UiPath.DocumentUnderstanding.*` → Document Understanding; `UiPath.Persistence.Activities` → Action Center; `UiPath.Web.Activities` → REST endpoint host).
|
|
102
|
+
2. **Connector key → service:** `uipath-salesforce-sfdc` → Salesforce; `uipath-microsoft-outlook365` → Outlook; `uipath-atlassian-jira` → Jira; `uipath-servicenow` → ServiceNow; `uipath-slack` → Slack. Key not listed: strip `uipath-` prefix, use vendor name.
|
|
103
|
+
3. **`ConnectionId` GUID alone** → look up `bindings_v2.json` `resources[resource=connection].metadata.connector`; if absent, activity's namespace decides; if still unknown, write "Integration Service connector *[Inferred]*" in Source Map notes and best-guess service in body.
|
|
104
|
+
4. **Process / release references** (`releaseKey`, `processName`, `resourceKey`, `referenceKey`) → component with matching project name in same solution; otherwise external dependency listed in Platform Dependencies as `Deployed process: <name>`.
|
|
105
|
+
5. **Orchestrator folders** → Platform Dependencies row's Notes; never a Target Application.
|
|
106
|
+
|
|
107
|
+
## Call Graph Rules
|
|
108
|
+
|
|
109
|
+
1. Entry point: `project.json` `main` (RPA), `entryPoints[]` for multi-entry processes; `.flow` trigger node with `isDefaultEntryPoint`; BPMN `startEvent`; Case trigger node; `langgraph.json` graph; `Workflow.json` root `do[]`; `uipath.json` `functions`.
|
|
110
|
+
2. Edges inside a component: `<InvokeWorkflowFile FileName>`, `workflows.<Name>()` (`<Name>` is the workflow's file name without extension, whatever its class is called), `core.subflow`, BPMN `callActivity`, Case sub-stages. Depth-first from entry point; order siblings top-to-bottom (Sequence), left-to-right (Flowchart), by `edges[]` order (Flow), by `sequenceFlow` order (BPMN).
|
|
111
|
+
3. Edges across components (handoffs): Flow resource nodes, BPMN `uipath:type` values that start a job or agent, Case task types `process` / `rpa` / `agent` / `api-workflow` / `action`, agent tools with `type` `process` / `api` / `agent`, `sdk.processes.invoke`, `StartJob` activities, queue producers and consumers sharing a queue name, Action Center task creation and the coded app that renders it.
|
|
112
|
+
4. Missing entry point: `outputType: Library` → each public workflow is an independent capability, listed as separate steps; `Process` without `main` → `Main.xaml` / `Main.cs` by convention, else alphabetical with `*[Inferred]*`.
|
|
113
|
+
5. Unreachable workflows are unused parts: steps or the Source Map's `Unused` row, as the Unused parts answer decides ([extract-guide.md](extract-guide.md) Step 1).
|
|
114
|
+
6. Test project: the execution template invokes every registered case through its placeholder, so its steps are shared steps of every case ([uipath-rpa-signals-guide.md § Signals — Test projects](uipath-rpa-signals-guide.md)). A workflow belongs to the component whose folder holds it; a call from another component's case is a cross-component edge, never a copy of the callee.
|
|
115
|
+
7. REFramework / StateMachine: the Workflow's call graph starts at the per-item process workflow and adds the once-per-run and at-the-end workflows as steps of their own ([uipath-rpa-signals-guide.md § Signals — XAML › REFramework projects](uipath-rpa-signals-guide.md)); the state machine, its transitions and the framework's retry and status workflows are not steps. The queue is a Platform Dependency; the business/system outcome classification and the counts go to the Transactional Shape ([transactional-shape-guide.md](../shared/transactional-shape-guide.md)).
|
|
116
|
+
|
|
117
|
+
## Expression Translation
|
|
118
|
+
|
|
119
|
+
Check `project.json` `expressionLanguage` before reading XAML. VisualBasic: `AndAlso` / `OrElse` / `&` / `=` / `<>` / `Not`. CSharp: `&&` / `||` / `+` / `==` / `!=` / `!`. Flow, BPMN, and API workflow expressions are JavaScript (`===`, `&&`, `||`, `?.`); BPMN predicates are `=`-prefixed. Case conditions are `=js:` prefixed. Translate all with the table in [genome-format-guide.md § Business Rules](../shared/genome-format-guide.md). `DateTime.Now.AddDays(-30)` style arithmetic → "more than 30 days old". String concatenation → describe resulting text. The text is what sits inside the quotes: in `"exists for " + name` the second space stands between the closing quote and the operator, so it is code, and the logged text has one space.
|
|
120
|
+
|
|
121
|
+
## Platform Resources
|
|
122
|
+
|
|
123
|
+
| Where | Resource rows |
|
|
124
|
+
|---|---|
|
|
125
|
+
| `bindings_v2.json` `resources[]` (`resource`: `process`, `queue`, `asset`, `bucket`, `connection`, `app`, `index`, `mcpServer`, `Entity`; `key`; `value.*.defaultValue`; `metadata.connector`) | One Platform Dependencies row each, default name and folder as source value |
|
|
126
|
+
| `bindings.json` (coded agents) | Same mapping |
|
|
127
|
+
| `.flow` top-level `bindings[]` | Processes, agents, API workflows invoked; folders |
|
|
128
|
+
| XAML queue / asset / credential / bucket / StartJob activities; `.cs` `system.` calls | Queues, assets, credentials, buckets, jobs |
|
|
129
|
+
| `project.json` `dependencies` that are libraries (packages published from another automation project, not activity packages); feeds in the project's `NuGet.config` | One row per library: package, version, feed. Steps describe the library workflows they call by behaviour, from their arguments; a library's bodies are read only when its project is given as a related resource |
|
|
130
|
+
| Assets a REFramework configuration lists | One Platform Dependencies row per asset name; Credential when the configuration's description or the consuming activity says so, otherwise Text |
|
|
131
|
+
| BPMN `<uipath:context>` inputs (`folderPath`, `releaseKey`, `appId`, `connection`) | Processes, HITL apps, connections |
|
|
132
|
+
| `entry-points.json` | Interface inputs and outputs per component |
|
|
133
|
+
| Triggers: `.flow` scheduled/connector trigger nodes, BPMN start event types, Case trigger `serviceType`, `bindings_v2.json` `HttpTrigger` | Deployment → Entry points and triggers |
|
|
134
|
+
|
|
135
|
+
## Deployed State
|
|
136
|
+
|
|
137
|
+
A package runs as Orchestrator processes, and what runs is the process: each binds one package version, can override any binding of the package, and owns its triggers. When the user names the folder that runs it — or the package's bindings name it and this session is signed in to that tenant, which a refactor or migration needs, since what runs decides the split — read it with `uipath-platform`'s read commands — or, without that skill, the read-only `uip or processes list|get`, `uip or triggers list`, `uip or queues list|get` and `uip or assets list` with `--output json` — each process record with all its fields (its binding overrides are among them), the triggers, the assets and queues the workflows name, the job history, the other processes sharing them — and write nothing; an export of those records the user gives is read the same way.
|
|
138
|
+
|
|
139
|
+
| Read | Tells you | Genome |
|
|
140
|
+
|---|---|---|
|
|
141
|
+
| Processes per package: entry point, package version, runtime, job priority | which entry points run, and where; two processes of one package bound to different versions run different code | Deployment; a version difference is a Source Map row naming the files that differ, and each process's steps are described from the version it runs |
|
|
142
|
+
| Binding overrides of each process | the connection, folder, file, queue or asset each binding resolves to at run time — one package binding can resolve differently in two processes | the override is the value that runs: an environment-bound value's default is the override, the package's value goes to the Source Map |
|
|
143
|
+
| The connection behind each binding: connector, the account it signs in as, its folder | the identity every read and write runs as; a connection's name in the XAML is its name at design time | Platform Dependencies, identity in the purpose; a person's account is a Source Map finding |
|
|
144
|
+
| Triggers: type, schedule and time zone, queue and its job limits, event (connector, object, event, filter) | how each entry point starts | Workflow step 1, Deployment. An event trigger is read here and never inferred from the entry point's event arguments, which show only that an event starts it |
|
|
145
|
+
| Assets the workflows read, the queues' settings | values (never a credential's secret); unique reference, retries, retention | Configuration Question defaults; the Transactional Shape's As-is |
|
|
146
|
+
| Job history of a window: runs, faults grouped by message and step, durations, items per run | whether an entry point is used, its volumes, what a fault does on real data | the Source Map's runtime row; a consequence the history shows is a fact, not `*[Inferred]*` |
|
|
147
|
+
| The other processes of the folder and of each folder a binding resolves to: their declared resources, their triggers, and their packages' workflows when the declared resources leave a name blank or the package declares none | who else adds items to each queue the component uses or reads them, starts it or is started by it, and uses its assets, buckets and connections; a name another package builds from an expression is unresolved, never matched to one | each Platform Dependencies row names the processes sharing it and how; the processes read and the unresolved names go to the Source Map's deployed-state row |
|
|
148
|
+
|
|
149
|
+
Without the deployed state, Platform Dependencies and Deployment come from the package, a trigger the package does not hold is `*[Inferred]*`, and the Source Map's deployed-state row says it was not read.
|
|
150
|
+
|
|
151
|
+
## Test Data
|
|
152
|
+
|
|
153
|
+
| Where | What | Data catalog derived at execution |
|
|
154
|
+
|---|---|---|
|
|
155
|
+
| `.variations/*.json`, registered in `project.json` → `designOptions.fileInfoCollection[].dataVariationFilePath` | data rows per test case, keyed by argument name | one recordset per file, rows as-is; process inventory maps test case → file |
|
|
156
|
+
| Test Data Queues (`test-data add-queue` argument named after the queue), Data Service entities | external data sources | Platform Dependencies rows (queue, entity), not rows in artifact |
|
|
157
|
+
| `GetRobotCredential` / `GetRobotAsset` asset names, `GetCredential` | credentials and configuration already in Orchestrator | keep asset names ([genome-format-guide.md § Platform Dependencies](../shared/genome-format-guide.md)); no secret present in source, none written |
|
|
158
|
+
| Default values on test-case arguments (`this:<Class>.<Arg>` root attributes) | single-row data | recordset's only row |
|
|
159
|
+
|
|
160
|
+
Variation row holding a password-looking field (`*password*`, `*pwd*`, `*secret*`, `*token*`) is redacted and reported; field is expected to become a credential asset name.
|
|
161
|
+
|
|
162
|
+
## Provenance
|
|
163
|
+
|
|
164
|
+
What the Source Map rows of [extracted-genome-guide.md § Source Map](../shared/extracted-genome-guide.md) carry for a UiPath source:
|
|
165
|
+
|
|
166
|
+
| Identity of | Carried as |
|
|
167
|
+
|---|---|
|
|
168
|
+
| The source | Project path, `projectId`, `projectVersion`; a solution's `.uipx` `SolutionId` with each project's `projectId`; the repository commit when the project sits in one |
|
|
169
|
+
| A workflow step | The workflow's project-relative path — unique in a project; a solution prefixes the project folder: `` `Folder/Workflow.xaml` `` in the step table's Source objects cell |
|
|
170
|
+
| A test case | Its path plus `testCaseId`, `` `Tests/Case.xaml` (<testCaseId>) ``; a checkpoint inside it by its activity `IdRef` |
|
|
171
|
+
| A step's data set | The data variation file's project-relative path, `` `.variations/<Case>.json` ``, in the step table's Data sets cell |
|
|
172
|
+
| Inventory | Workflows per artifact type, test cases, data files and rows, Object Repository applications, screens and elements, accounts |
|
|
173
|
+
| Deployed state | The folder and the date read; per process its package version, runtime and triggers, and each binding override with the package value it replaces; the other processes read, and each name another package builds from an expression; or "not read" (§ Deployed State) |
|
|
174
|
+
| Runtime | The job-history window: per process the runs, the faults grouped by message and step, the durations; an entry point with no run named |
|
|
175
|
+
|
|
176
|
+
No inventory script derives a process inventory or a recordset list, so a UiPath source gets no mechanical export check, and extraction's Step 6b file-search check takes its place.
|
|
177
|
+
|
|
178
|
+
## Framework Pitfalls
|
|
179
|
+
|
|
180
|
+
1. Designer view state and `HintSize` attributes look like content and are layout only (§ Reading the Project).
|
|
181
|
+
2. `xmlns` declarations are package imports, not steps. Many are declared and unused.
|
|
182
|
+
3. Flow resource-node instances carry no `model`; the resource is in `definitions[]` and `bindings[]`.
|
|
183
|
+
4. BPMN `uipath:type` decides what a task does; the BPMN element name (`serviceTask`) is only a hint.
|
|
184
|
+
5. Low-code agent tools are files under `resources/`, not an array in `agent.json`.
|
|
185
|
+
6. API workflow HTTP tasks: the real verb and URL are in `with.bodyParameters`, not the outer `with`.
|
|
186
|
+
7. `bindings.json` and `bindings_v2.json` are different files with different consumers; a coded agent may have both.
|
|
187
|
+
8. `.app/` and `*.Generated.xaml` are generated trigger plumbing for apps and Action Center — skip.
|
|
188
|
+
9. `resources/solution_folder/**` mirrors the manifest and is regenerated; read `.uipx` instead.
|
|
189
|
+
10. A `[TestCase]` `.cs` file or `Test` project beside the projects it tests is evidence, not a component (§ Component Detection).
|
|
190
|
+
11. The REFramework template's sample values survive customisation: `ProcessABCQueue` in the settings sheet of a project whose item fetch reads rows, the template's own `Tests/` cases, `Exceptions_Screenshots/`. A queue is evidence only when the item fetch actually reads it ([uipath-rpa-signals-guide.md § Signals — XAML › REFramework projects](uipath-rpa-signals-guide.md)).
|
|
191
|
+
12. Framework workflows look like logic and are the template: the state machine, the retry counter, the three status updates and the screenshot on exception describe the Transactional Shape, not steps — transcribing them doubles the shape in the genome.
|
|
192
|
+
13. A `DisplayName` is a hint the author may have copied with the activity: a branch named after a sibling's test ("check if vendor form" on a test of another field) describes the sibling. The condition decides what the step does, and a container with no `DisplayName` (an `If` around a whole file) can hold its structure — a search by names misses it, a full read does not.
|
|
193
|
+
14. The connection and folder names a connector activity shows are the ones it was designed with. The deployed process's overrides decide what runs (§ Deployed State).
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# Component Placement Guide
|
|
2
|
+
|
|
3
|
+
Per-task component placement and Level 3 capability add-ons of product selection. Levels 0–1 and the Constraint Gate: [product-selection-guide.md](product-selection-guide.md).
|
|
4
|
+
|
|
5
|
+
## Per-task component placement (the to-be, per step)
|
|
6
|
+
|
|
7
|
+
Type each step and place it on the component that fits — the canonical UiPath placement model. Applied **twice**: at Phase 1 Step 3.5 to build the step→executor map that feeds Level 1 (layer 2 before layer 3), and at Phase 2 Steps 3–4 of the [Design Guide](../design/design-guide.md) to record each placement in the template's inventory table and flag non-primary components as integrated components. This is how the SDD says **where** API / RPA / Agents / DU / DMN / HITL / Maestro are each needed.
|
|
8
|
+
|
|
9
|
+
| Task type (verb) | Best-fit component | Routes to |
|
|
10
|
+
|---|---|---|
|
|
11
|
+
| **Validate / Transfer** — deterministic, rule-based | RPA, or Integration Service / API Workflow if a stable API exists and is reachable from that runtime (rule 5) | `uipath-rpa` / `uipath-platform` / `uipath-api-workflow` |
|
|
12
|
+
| **Read / write / transform machine-local data** — Excel/Office files, files & folders on local or network storage, on-prem databases, desktop email | RPA (Excel / Database / Mail activities) — cloud runtimes cannot reach these; API Workflow / Function only when the source is cloud-reachable (rule 5) or the Function is robot-hosted (on-prem endpoints — desktop apps and interactive UI stay RPA) | `uipath-rpa` |
|
|
13
|
+
| **Collect** from semi-structured documents | Document Understanding / IXP | `uipath-ixp` (or a DU activity inside RPA/Flow) |
|
|
14
|
+
| **Decide / classify** — judgment | AI Agent; or a Business Rules project (DMN decision table) for threshold / eligibility logic | `uipath-agents` / `uipath-rules` |
|
|
15
|
+
| **Create / author / summarize** free-form | AI Agent; simple generation with no decisioning = an LLM activity inside the host project (no separate project or task) | `uipath-agents` (standalone Agent only) |
|
|
16
|
+
| **Review / Escalate / sign-off**, exception handling | HITL — host-aware: Flow host → HITL skill; coded Agents → escalation wired by `uipath-agents` (per the HITL skill's own deferral); BPMN → inline userTask by the BPMN specialist; Case → inline `action` task detail block in the Case Blueprint; RPA → Action Center / long-running | `uipath-human-in-the-loop` (Flow hosts only) |
|
|
17
|
+
| **Wait / approve inside ONE process** | Long-running RPA (persistence + Action Center); an ordinary scheduled or queue-triggered run is just RPA + an Orchestrator trigger — never Maestro | `uipath-rpa` (trigger config → `uipath-platform`) |
|
|
18
|
+
| **Sequence / coordinate MULTIPLE automations** — real orchestration only: state outliving a run, parallel / event branches, end-to-end visibility. Synchronous in-run child calls are light orchestration absorbed by the host (Decision table) | Maestro orchestration (Flow / BPMN / Case) | `uipath-maestro-flow` / `-bpmn` / `-case` |
|
|
19
|
+
| **Transform / compute** — atomic deterministic custom logic (parsing, scoring, custom-auth API call, ERP query via IS connection) | Host-native code first (rule 6); a Coded Function (TypeScript / JavaScript / Python) when extraction is justified — typed input → deterministic code → typed output; invoked from Maestro / agents / Orchestrator. Runs serverless or robot-hosted — robot-hosted Functions execute inside the environment and reach on-prem endpoints; interactive UI / desktop-app / attended work stays RPA | `uipath-functions` |
|
|
20
|
+
| **Aggregate / persist shared data across systems** | Data Fabric entities are the **persistence**, not an executor — the aggregation logic runs in an API Workflow / Function / RPA query that reads and writes the entities | executor per this table + `uipath-platform` (entities) |
|
|
21
|
+
|
|
22
|
+
Rules:
|
|
23
|
+
1. **DU / IXP is extraction from semi-structured documents — NOT free-form authoring** (that's an Agent). Route document-heavy `Collect` to `uipath-ixp`.
|
|
24
|
+
2. **Business Rules / DMN** is its own BusinessRules project (`uipath-rules`), deployed in the solution and called by Maestro (BPMN business rule task, Case `business-rule` task) or RPA. Each deterministic decision table that a deployed rule evaluates is a separate project and task routed to `uipath-rules`; rule logic an Agent reasons over stays in the Agent.
|
|
25
|
+
3. **Data Fabric / Data Service is storage, never an executor** — entities hold the shared data (`uipath-platform`); the computation over them is always placed on an executor (API Workflow / Function / RPA).
|
|
26
|
+
4. **Coded Functions are components, not primaries** — a Function is consumed by Maestro / agents / Orchestrator callers; a request that is *only* a Function is a single-project deferral to `uipath-functions`, not a plan.
|
|
27
|
+
5. Never default deterministic `Validate` / `Transfer` to RPA when a stable API / connector exists **and is reachable from that executor's runtime** — use Integration Service / API Workflow (API-first). On-prem HTTP(S) APIs can be reached from Automation Cloud via **Automation Relay** (Integration Service + API Workflows only; needs Unified Standard/Enterprise or Flex Standard/Advanced licensing plus a Relay client deployed on-network) — offer it and confirm with the user; unconfirmed → RPA + `[SME REVIEW]`. Non-HTTP local interfaces (file shares, desktop apps, raw database connections, terminals) are robot-only → RPA.
|
|
28
|
+
6. **Extraction test — a separate deployed component must be justified.** Default is host-native: RPA runs Invoke Code, coded Agents use their own Python, API Workflows use script activities, Maestro transforms data between nodes. Mint a separate component (Coded Function, API Workflow) only when at least one holds: (a) the host's surface cannot express the logic or call (low-code IS-only surface, custom auth the host cannot do); (b) 2+ consumers share it; (c) it needs a lifecycle independent of the host — separate versioning, scaling, or ownership. One consumer + host-capable → keep it in the host; no new project, no new task. A call to a third-party system is not subject to this test: it follows the [Integration Service](#integration-service) tiers, so a system with no catalog connector gets a custom connector even for one consumer. Inverse guard: a headless deterministic compute step needing no UI, no activities, and no attended context prefers a Coded Function over minting an RPA process — RPA is not the default home for pure code.
|
|
29
|
+
|
|
30
|
+
## Level 3 — Capability Add-ons
|
|
31
|
+
|
|
32
|
+
These are capabilities added to the primary product, not standalone products. When detected, flag them in the appropriate template section. The genome reads the flags from the SDD and routes the work to the correct skill.
|
|
33
|
+
|
|
34
|
+
### HITL (Human-in-the-Loop)
|
|
35
|
+
|
|
36
|
+
**Scope:** Adds approval gates, exception escalation, and write-back validation. **Only Flow hosts route to `uipath-human-in-the-loop`** (in a single-project request the Flow specialist authors the inline node itself — the HITL-skill task applies to planner-generated multi-project plans). Every other host owns HITL itself: coded Agents → escalation wired by `uipath-agents` (the HITL skill's own deferral); BPMN → inline userTask authored by `uipath-maestro-bpmn`; Case → inline `action` task detail block authored by `uipath-maestro-case`; RPA → Action Center / long-running workflow.
|
|
37
|
+
|
|
38
|
+
**Signals the PDD needs HITL:**
|
|
39
|
+
- "Approval before..."
|
|
40
|
+
- "Human reviews..."
|
|
41
|
+
- "If confidence is low, escalate..."
|
|
42
|
+
- "Validate before writing back..."
|
|
43
|
+
- "Fills in missing data..."
|
|
44
|
+
|
|
45
|
+
**How to flag:** Add a "HITL Touchpoints" line in the host template's relevant section (node table, agent description). For Flow hosts the planner adds an "Add HITL node per §X" task routed to `uipath-human-in-the-loop`; for coded-Agent hosts the escalation is part of the `uipath-agents` build task; for BPMN / Case / RPA hosts the touchpoint stays with the host's own specialist — no HITL-skill task.
|
|
46
|
+
|
|
47
|
+
### Integration Service
|
|
48
|
+
|
|
49
|
+
**Scope:** Adds connector activities (Salesforce, Jira, ServiceNow, Slack, etc.) to RPA, Flow, Case Management, or Agents. IS connectors are the standard integration surface for **API Workflows, Maestro (Flow / BPMN / Case), and Agents** — these consume connector activities, not raw UI. A system with no catalog connector gets a custom connector, not a raw API call.
|
|
50
|
+
|
|
51
|
+
**Signals the PDD needs Integration Service:**
|
|
52
|
+
- Third-party SaaS system mentioned (not a custom web app): Salesforce, Jira, ServiceNow, Slack, HubSpot, Workday, Zendesk, etc.
|
|
53
|
+
- "Create a ticket in...", "Post a message to...", "Read records from..."
|
|
54
|
+
|
|
55
|
+
**Check availability — reuse before build.** For each required integration, retrieve the catalog before assuming a connector exists (auth required; best-effort like tenant library discovery):
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
uip is connectors list --output json # full catalog
|
|
59
|
+
uip is connectors list --filter "<KEYWORD>" --output json # narrow by system name
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
- **Connector exists →** reuse it, whether or not a connection is configured yet. Flag `Access Method = Integration Service — <CONNECTOR_SLUG>`; the planner adds a "Configure <X> connector" task routed to `uipath-platform`, and a missing connection is an `[SME REVIEW]` provisioning item.
|
|
63
|
+
- **No connector, and the API is REST+JSON →** build a **custom connector**, for every consumer, including one that could call HTTP itself. Flag `Access Method = Custom connector — <CONNECTOR_SLUG>`; the task is routed to `uipath-connector-builder` and ordered before its consumers. Do not fall back to a direct HTTP call or an API Workflow wrapper because only one host consumes the API. An unverified connector is an `[SME REVIEW]` item — never assume one exists. The connector is an integrated component — scope is unchanged ([derived-component rule](product-selection-guide.md#solution-signals)).
|
|
64
|
+
- **No connector, and a custom connector cannot cover the API** (not REST+JSON, or an auth scheme the connector builder cannot express) → a direct authenticated call (tier 4 below). Flag `Access Method = Direct HTTP`, keep the key in a `Credential` asset, and write the justification in the SDD.
|
|
65
|
+
|
|
66
|
+
#### Integration mechanism — connection before raw API call
|
|
67
|
+
|
|
68
|
+
For each third-party system the design talks to, pick the highest tier that works and record it in the SDD:
|
|
69
|
+
|
|
70
|
+
| Tier | Approach | Use when |
|
|
71
|
+
|---|---|---|
|
|
72
|
+
| 1 | IS **connector activity** | A catalog connector covers the operation |
|
|
73
|
+
| 2 | HTTP request through that connector's **IS connection** | Connector exists, activity missing |
|
|
74
|
+
| 3 | **Build a custom connector** (`uipath-connector-builder`) | No catalog connector; REST+JSON API |
|
|
75
|
+
| 4 | Direct authenticated call, key in a `Credential` asset | Nothing above fits; justify it in the SDD |
|
|
76
|
+
|
|
77
|
+
A `Credential` asset keeps the secret safe, not the integration managed: a tier-4 call is absent from `uip is connections list` and cannot be re-pointed per environment. A missing catalog connector argues for tier 3, not tier 4.
|
|
78
|
+
|
|
79
|
+
### API Workflow (as integrated component)
|
|
80
|
+
|
|
81
|
+
**Scope:** When API Workflow is NOT the primary but is called by the primary (Maestro Flow, Maestro BPMN, Case Management, Agent, another API Workflow).
|
|
82
|
+
|
|
83
|
+
**Signals** (must also pass the extraction test — [placement rule 6](#per-task-component-placement-the-to-be-per-step)):
|
|
84
|
+
- The primary product invokes a callable system-to-system integration with structured JSON input/output (not UI), AND at least one extraction justifier holds: the host cannot make the call natively (IS-only surface), 2+ consumers share the integration, or it needs independent versioning / scaling / ownership.
|
|
85
|
+
|
|
86
|
+
A third-party API with no catalog connector gets a custom connector (see Integration Service above), not an API Workflow wrapper.
|
|
87
|
+
|
|
88
|
+
**How to flag:** In the primary product's template, list API Workflow invocations in the relevant section (Flow nodes, BPMN Activities Inventory serviceTask rows, Agent tools, Case tasks). The planner picks this up and creates a per-API-Workflow task that routes to `uipath-api-workflow`. Scope is unchanged ([derived-component rule](product-selection-guide.md#solution-signals)).
|
|
89
|
+
|
|
90
|
+
### Reusability & shared assets
|
|
91
|
+
|
|
92
|
+
Design for reuse — a modular solution built from small automations is cheaper to build and maintain. For each candidate shared asset, **reuse before build**, and when building new, treat it as its own buildable project built **before** its consumers:
|
|
93
|
+
|
|
94
|
+
- **RPA Library** — shared/common workflows (date/string/mapping helpers, app wrappers) extracted into a Library (Level 1.5 sub-type). **Reuse:** discover deployed tenant libraries via the [Tenant Library Search](tenant-library-search-guide.md) (Phase 1 Step 2.5) and reference them in §Packages. **Build new:** a new Library is its own RPA project routed to `uipath-rpa`, consumed by others.
|
|
95
|
+
- **Custom connector** — when the catalog has no Integration Service connector (see [Integration Service](#integration-service) above), build a reusable custom connector via `uipath-connector-builder`; one connector serves many projects.
|
|
96
|
+
- **Reusable components** — shared components from the Marketplace / org repo (reuse) or new-to-build. List both in the SDD's **Reusable Components** section (reused existing + new reusable).
|
|
97
|
+
- **Shared scope / modularity** — an asset used by 2+ projects (Library, custom connector, IS connection, asset, queue) lives at the **parent-folder / solution level**, built once and referenced by all — never duplicated per project.
|
|
98
|
+
|
|
99
|
+
Flag every reused and new-to-build shared asset in the SDD; the planner emits a build task for each new one (Library → `uipath-rpa`; custom connector → `uipath-connector-builder`), ordered before its consumers.
|
|
@@ -22,11 +22,11 @@ Classify each finding by what the two passes show, and write it accordingly:
|
|
|
22
22
|
| Finding | When | Genome | Also |
|
|
23
23
|
|---|---|---|---|
|
|
24
24
|
| **Rendering artefact** | the source differs from the rendering | write the behaviour from the source; no defect | report the renderer defect for the pack, with the object and the field |
|
|
25
|
-
| **Source defect** | rendering and source agree, and the behaviour contradicts the evident intent — the source's own comment or log text, a sibling copy, the step's purpose | marked **Source defect** per [extracted-genome-guide.md § Source Defects](extracted-genome-guide.md); evidence in the Source Map | the consequence traced through the source; the parts that depend on data, configuration, platform or package behaviour flagged `*[Inferred]*` |
|
|
25
|
+
| **Source defect** | rendering and source agree, and the behaviour contradicts the evident intent — the source's own comment or log text, a sibling copy, the step's purpose | marked **Source defect** per [extracted-genome-guide.md § Source Defects](extracted-genome-guide.md); evidence in the Source Map | the consequence traced through the source; the parts that depend on data, configuration, source platform or package behaviour flagged `*[Inferred]*` |
|
|
26
26
|
| **Source rule** | rendering and source agree, and the source's comment or design shows the behaviour is intended | the rule, unmarked | nothing |
|
|
27
|
-
| **Unresolved** | the structure is certain, but the behaviour turns on a setting or platform or package semantics that neither the export, the pack, the vendor's documentation nor the platform's own code settles | both readings stated, the one the rebuild follows marked `*[Inferred]*` | report the undocumented semantics for the pack |
|
|
27
|
+
| **Unresolved** | the structure is certain, but the behaviour turns on a setting or source platform or package semantics that neither the export, the pack, the vendor's documentation nor the source platform's own code settles | both readings stated, the one the rebuild follows marked `*[Inferred]*` | report the undocumented semantics for the pack |
|
|
28
28
|
|
|
29
|
-
Semantics the vendor's documentation or the platform's own code settles — a default both the rendering and the export leave out, what a node does with an empty input — are facts, not unresolved: write them at the step, name the page, or the file and line, in the finding's Source Map row, and report them for the pack when its source guide lacks them.
|
|
29
|
+
Semantics the vendor's documentation or the source platform's own code settles — a default both the rendering and the export leave out, what a node does with an empty input — are facts, not unresolved: write them at the step, name the page, or the file and line, in the finding's Source Map row, and report them for the pack when its source guide lacks them.
|
|
30
30
|
|
|
31
31
|
Each finding gets its own Source Map row, with the object ids, the line numbers and the classification. Each component also gets one Verification row saying that both passes were made and whether the rendering matched the source. A finding nobody verified is not written as a defect. When time does not allow both passes, or a verdict does not come back, it is written as the behaviour the rendering shows, flagged `*[Inferred]*`, with its Source Map row saying which pass is missing.
|
|
32
32
|
|
|
@@ -43,4 +43,4 @@ Each finding gets its own Source Map row, with the object ids, the line numbers
|
|
|
43
43
|
|
|
44
44
|
In a run in parts, each part runs both passes itself ([extraction-parts-guide.md](extraction-parts-guide.md) rule 7). A further suspicion the subagent meets comes back unverified, with its line, as a new finding. A fact returned without its line is unverified, and a verdict that arrives cut off is asked for again, never completed from the part received. When a verdict contradicts what extraction read in the rendering, extraction re-reads the cited line with the direct read before writing. Without subagents, extraction runs both passes itself.
|
|
45
45
|
|
|
46
|
-
**Writing while the verdicts are out.** Where the subagents run in the background, extraction does not wait for them. It goes on with the remaining steps and writes the files, each finding's step stating the behaviour the rendering shows, with no marker, no intent and no defect-index row. As each verdict arrives, extraction edits it in where the table above says: the step (the marker, the behaviour rewritten from the source, or both readings), the finding's Source Map row, and, for a defect, the process genome's index row; then the component's Verification row. Once the last verdict is in, the Source Map check ([
|
|
46
|
+
**Writing while the verdicts are out.** Where the subagents run in the background, extraction does not wait for them. It goes on with the remaining steps and writes the files, each finding's step stating the behaviour the rendering shows, with no marker, no intent and no defect-index row. As each verdict arrives, extraction edits it in where the table above says: the step (the marker, the behaviour rewritten from the source, or both readings), the finding's Source Map row, and, for a defect, the process genome's index row; then the component's Verification row. Once the last verdict is in, the Source Map check ([extract-guide.md](../extract/extract-guide.md) Step 6b) runs again, and only then are edits offered.
|