@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.
Files changed (115) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.cursor-plugin/plugin.json +1 -1
  4. package/CODEOWNERS +34 -7
  5. package/README.md +2 -2
  6. package/package.json +2 -2
  7. package/skills/uipath-genome/SKILL.md +35 -88
  8. package/skills/uipath-genome/references/build-guide.md +61 -0
  9. package/skills/uipath-genome/references/completion-report-guide.md +93 -0
  10. package/skills/uipath-genome/references/composite-interactions-guide.md +39 -0
  11. package/skills/uipath-genome/references/configuration-questions-guide.md +68 -0
  12. package/skills/uipath-genome/references/execution-guide.md +45 -166
  13. package/skills/uipath-genome/references/execution-parts-guide.md +84 -17
  14. package/skills/uipath-genome/references/genome-reading-guide.md +153 -0
  15. package/skills/uipath-genome/references/live-application-guide.md +23 -9
  16. package/skills/uipath-genome/references/offline-definition-workarounds-guide.md +4 -4
  17. package/skills/uipath-genome/references/open-items-guide.md +3 -3
  18. package/skills/uipath-genome/references/package-doc-errata-guide.md +8 -0
  19. package/skills/uipath-genome/references/refactor-guide.md +38 -39
  20. package/skills/uipath-genome/references/selector-matching-guide.md +59 -0
  21. package/skills/uipath-genome/references/selector-translation-guide.md +13 -66
  22. package/skills/uipath-genome/references/selector-translation-sap-guide.md +7 -5
  23. package/skills/uipath-genome/references/selector-translation-web-guide.md +2 -2
  24. package/skills/uipath-genome/references/source-frameworks-guide.md +21 -0
  25. package/skills/uipath-genome/references/source-migration-guide.md +48 -19
  26. package/skills/uipath-genome/references/test-execution-guide.md +8 -7
  27. package/skills/uipath-genome/references/transactional-execution-guide.md +41 -13
  28. package/skills/uipath-genome/references/ui-target-migration-guide.md +12 -49
  29. package/skills/uipath-genome/references/ui-verification-guide.md +9 -1
  30. package/skills/uipath-maestro-case/SKILL.md +7 -7
  31. package/skills/uipath-maestro-case/references/evals/evals.json +5 -5
  32. package/skills/uipath-maestro-case/references/planning.md +5 -5
  33. package/skills/uipath-maestro-case/references/plugins/conditions/task-entry-conditions/planning.md +2 -2
  34. package/skills/uipath-maestro-case/references/plugins/sla/planning.md +1 -1
  35. package/skills/uipath-maestro-case/references/registry-discovery.md +3 -3
  36. package/skills/uipath-planner/SKILL.md +80 -199
  37. package/skills/uipath-planner/assets/templates/agent-sdd-template.md +17 -17
  38. package/skills/uipath-planner/assets/templates/api-workflow-sdd-template.md +15 -13
  39. package/skills/uipath-planner/assets/templates/bpmn-sdd-template.md +19 -19
  40. package/skills/uipath-planner/assets/templates/case-sdd-task-details-template.md +173 -0
  41. package/skills/uipath-planner/assets/templates/{case/case-sdd-template.md → case-sdd-template.md} +51 -229
  42. package/skills/uipath-planner/assets/templates/coded-app-sdd-template.md +16 -14
  43. package/skills/{uipath-genome → uipath-planner}/assets/templates/component-genome-template.md +9 -5
  44. package/skills/uipath-planner/assets/templates/flow-sdd-template.md +17 -15
  45. package/skills/{uipath-genome → uipath-planner}/assets/templates/process-genome-template.md +11 -7
  46. package/skills/uipath-planner/assets/templates/rpa-sdd-template.md +50 -73
  47. package/skills/uipath-planner/references/author/author-guide.md +119 -0
  48. package/skills/uipath-planner/references/author/genome-from-sdd-guide.md +36 -0
  49. package/skills/uipath-planner/references/author/scenario-proposal-guide.md +30 -0
  50. package/skills/uipath-planner/references/decompose/decompose-guide.md +223 -0
  51. package/skills/uipath-planner/references/{asdd-crosswalk-guide.md → design/asdd-crosswalk-guide.md} +6 -4
  52. package/skills/uipath-planner/references/{business-rules-guide.md → design/business-rules-guide.md} +3 -3
  53. package/skills/uipath-planner/references/design/caller-request-guide.md +92 -0
  54. package/skills/uipath-planner/references/design/case-data-and-time-guide.md +292 -0
  55. package/skills/uipath-planner/references/design/case-product-guide.md +243 -0
  56. package/skills/uipath-planner/references/design/case-review-and-conformance-guide.md +166 -0
  57. package/skills/uipath-planner/references/design/design-guide.md +296 -0
  58. package/skills/uipath-planner/references/{package-selection-guide.md → design/package-selection-guide.md} +16 -13
  59. package/skills/uipath-planner/references/{rpa-product-guide.md → design/rpa-product-guide.md} +23 -53
  60. package/skills/uipath-planner/references/design/scope-recommendation-guide.md +134 -0
  61. package/skills/uipath-planner/references/design/sdd-writing-guide.md +235 -0
  62. package/skills/uipath-planner/references/design/solution-composition-guide.md +153 -0
  63. package/skills/uipath-planner/references/edit/edit-guide.md +66 -0
  64. package/skills/uipath-planner/references/extract/extract-guide.md +230 -0
  65. package/skills/uipath-planner/references/extract/source-frameworks-guide.md +22 -0
  66. package/skills/uipath-planner/references/extract/uipath-non-rpa-signals-guide.md +121 -0
  67. package/skills/uipath-planner/references/extract/uipath-rpa-signals-guide.md +88 -0
  68. package/skills/uipath-planner/references/extract/uipath-source-guide.md +193 -0
  69. package/skills/uipath-planner/references/shared/component-placement-guide.md +99 -0
  70. package/skills/{uipath-genome/references → uipath-planner/references/shared}/defect-verification-guide.md +4 -4
  71. package/skills/{uipath-genome/references → uipath-planner/references/shared}/extracted-genome-guide.md +15 -14
  72. package/skills/uipath-planner/references/shared/extraction-parts-guide.md +66 -0
  73. package/skills/{uipath-genome/references → uipath-planner/references/shared}/genome-format-guide.md +63 -34
  74. package/skills/uipath-planner/references/{multi-skill-patterns-guide.md → shared/multi-skill-patterns-guide.md} +28 -27
  75. package/skills/uipath-planner/references/{pdd-analysis-guide.md → shared/pdd-analysis-guide.md} +27 -72
  76. package/skills/uipath-planner/references/{plan-and-tasks-format.md → shared/plan-and-tasks-format.md} +43 -67
  77. package/skills/uipath-planner/references/{platform-availability-guide.md → shared/platform-availability-guide.md} +56 -1
  78. package/skills/uipath-planner/references/shared/product-selection-guide.md +202 -0
  79. package/skills/{uipath-genome/references → uipath-planner/references/shared}/skill-mapping-guide.md +24 -4
  80. package/skills/uipath-planner/references/{tenant-library-search-guide.md → shared/tenant-library-search-guide.md} +10 -8
  81. package/skills/{uipath-genome/references → uipath-planner/references/shared}/transactional-shape-guide.md +39 -8
  82. package/skills/uipath-planner/scripts/check-genome.mjs +801 -0
  83. package/skills/uipath-planner/scripts/sdd-fingerprint.mjs +71 -0
  84. package/skills/uipath-planner/scripts/sdd-to-docx.mjs +87 -0
  85. package/skills/uipath-test/SKILL.md +3 -3
  86. package/version-manifest.json +1 -1
  87. package/skills/uipath-genome/CLAUDE.md +0 -85
  88. package/skills/uipath-genome/assets/examples/artemis-2-mission-monitor-genome.md +0 -126
  89. package/skills/uipath-genome/assets/examples/classify-document-and-create-validation-genome.md +0 -117
  90. package/skills/uipath-genome/assets/examples/invoice-processing-genome/exception-triage-agent-genome.md +0 -96
  91. package/skills/uipath-genome/assets/examples/invoice-processing-genome/invoice-extraction-genome.md +0 -128
  92. package/skills/uipath-genome/assets/examples/invoice-processing-genome/invoice-orchestration-genome.md +0 -115
  93. package/skills/uipath-genome/assets/examples/invoice-processing-genome.md +0 -136
  94. package/skills/uipath-genome/assets/examples/purchase-requisition-entry-genome.md +0 -224
  95. package/skills/uipath-genome/assets/examples/salesforce-accounts-and-contacts-genome.md +0 -151
  96. package/skills/uipath-genome/references/authoring-guide.md +0 -98
  97. package/skills/uipath-genome/references/editing-guide.md +0 -57
  98. package/skills/uipath-genome/references/extraction-guide.md +0 -166
  99. package/skills/uipath-genome/references/extraction-parts-guide.md +0 -45
  100. package/skills/uipath-genome/references/parts-guide.md +0 -22
  101. package/skills/uipath-genome/references/uipath-source-guide.md +0 -404
  102. package/skills/uipath-genome/scripts/check-genome.py +0 -670
  103. package/skills/uipath-planner/assets/templates/case/sdd-viewer.html +0 -1530
  104. package/skills/uipath-planner/references/case/case-design-lane-guide.md +0 -327
  105. package/skills/uipath-planner/references/case/case-design-layers-guide.md +0 -503
  106. package/skills/uipath-planner/references/case/case-sdd-conformance-checklist.md +0 -123
  107. package/skills/uipath-planner/references/non-pdd-lane-guide.md +0 -196
  108. package/skills/uipath-planner/references/pdd-driven-lane-guide.md +0 -210
  109. package/skills/uipath-planner/references/product-selection-guide.md +0 -673
  110. package/skills/uipath-planner/references/sdd-generation-guide.md +0 -613
  111. package/skills/uipath-planner/scripts/docx-extract.ps1 +0 -59
  112. package/skills/uipath-planner/scripts/docx-extract.sh +0 -54
  113. package/skills/uipath-planner/scripts/sdd-to-docx.ps1 +0 -74
  114. package/skills/uipath-planner/scripts/sdd-to-docx.sh +0 -76
  115. /package/skills/uipath-planner/references/{attended-reauth-pattern-guide.md → design/attended-reauth-pattern-guide.md} +0 -0
@@ -1,404 +0,0 @@
1
- # UiPath Source Guide
2
-
3
- Read § Reading the Project through § Component Detection, § Call Graph Rules, § Platform Resources, § Deployed State, § Provenance and § Framework Pitfalls in full. Read a § Signals section only for artifact types present in the inventory.
4
-
5
- ## Reading the Project
6
-
7
- 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 ([defect-verification-guide.md](defect-verification-guide.md)). Read in this order:
8
-
9
- 1. **Manifest** — `project.json` (fields: § Signals — XAML; test registrations: § Signals — Test projects), or the solution's `.uipx` (§ Detection) and each project's manifest.
10
- 2. **Inventory** with Glob per § Inventory and Exclusions — files per folder and per artifact type, the counts § Provenance names.
11
- 3. **Project activity defaults** in `.settings/` (§ Signals — Project settings), before any workflow: they decide every property a workflow leaves unset.
12
- 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):
13
-
14
- ```bash
15
- sed -e '/<TextExpression.NamespacesForImplementation>.*<\/TextExpression.NamespacesForImplementation>/d; /<TextExpression.NamespacesForImplementation>/,/<\/TextExpression.NamespacesForImplementation>/d' \
16
- -e '/<TextExpression.ReferencesForImplementation>.*<\/TextExpression.ReferencesForImplementation>/d; /<TextExpression.ReferencesForImplementation>/,/<\/TextExpression.ReferencesForImplementation>/d' \
17
- -e '/<sap:WorkflowViewStateService.ViewState>.*<\/sap:WorkflowViewStateService.ViewState>/d; /<sap:WorkflowViewStateService.ViewState>/,/<\/sap:WorkflowViewStateService.ViewState>/d' \
18
- -e '/<sap2010:WorkflowViewState.ViewStateManager>.*<\/sap2010:WorkflowViewState.ViewStateManager>/d; /<sap2010:WorkflowViewState.ViewStateManager>/,/<\/sap2010:WorkflowViewState.ViewStateManager>/d' \
19
- -e '/<uibi:BusinessEntity.SearchableFields>.*<\/uibi:BusinessEntity.SearchableFields>/d; /<uibi:BusinessEntity.SearchableFields>/,/<\/uibi:BusinessEntity.SearchableFields>/d' \
20
- -e '/<uibi:BusinessEntity.EntityMetadata>.*<\/uibi:BusinessEntity.EntityMetadata>/d; /<uibi:BusinessEntity.EntityMetadata>/,/<\/uibi:BusinessEntity.EntityMetadata>/d' \
21
- -e '/<uiisi:OperationEntityField.EnumValues>.*<\/uiisi:OperationEntityField.EnumValues>/d; /<uiisi:OperationEntityField.EnumValues>/,/<\/uiisi:OperationEntityField.EnumValues>/d' \
22
- -e '/^ *<uiisi:OperationEntityField [^>]*\/> *$/d' \
23
- -e 's/ Configuration="H4sI[^"]*"/ Configuration="(compressed)"/g' \
24
- -e 's/ sap:VirtualizedContainerService.HintSize="[^"]*"//g' "<XAML_FILE>"
25
- ```
26
-
27
- 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:
28
-
29
- ```bash
30
- python3 -c "import base64,gzip,json,re,sys; [print(json.dumps({k: v for k, v in json.loads(gzip.decompress(base64.b64decode(m))).items() if k != 'FieldsContainer'})) for m in re.findall(r'Configuration=\"(H4sI[^\"]+)\"', open(sys.argv[1], encoding='utf-8').read())]" "<XAML_FILE>"
31
- ```
32
-
33
- 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.
34
- 6. **Deployed state**, when the user gave its folder or an export of it (§ Deployed State).
35
-
36
- ## Detection
37
-
38
- | Signal | Meaning |
39
- |---|---|
40
- | `<Name>.uipx` in the root (JSON with `Projects[]`) | UiPath **solution** — multi-component. Process genome. Component list: `Projects[].Type` and `Projects[].ProjectRelativePath`. |
41
- | Several sibling folders each with `project.json` / `project.uiproj` and no `.uipx` | Loose multi-project bundle — treat as a solution; flag `*[Inferred]*` in Deployment. |
42
- | 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). |
43
- | Only `.xaml` / `.cs` files, no manifest | RPA project with missing metadata — extract, flag name and settings `*[Inferred]*`. |
44
- | `pyproject.toml` with `langgraph.json` / `llama_index.json` / `openai_agents.json` | Coded Python agent component. |
45
- | `uipath.json` with a `functions` map | Coded Function component (Python if `pyproject.toml`, JS/TS if `package.json`). |
46
- | `package.json` depending on `@uipath/uipath-typescript` or `@uipath/coded-action-app`, plus `webAppManifest.json` or `.uipath/app.config.json` | Coded app component. |
47
-
48
- `.uipx` fields: `Projects[].{Id, Type, ProjectRelativePath}`, `SolutionId`, `StudioMinVersion`, `AutomationHubIdeaUrl`. `resources/solution_folder/**` mirrors `Projects[]`, generated — never read for logic.
49
-
50
- ## Inventory and Exclusions
51
-
52
- | Pattern | Artifact type | Signals section |
53
- |---|---|---|
54
- | `*.xaml` | XAML workflow | § Signals — XAML |
55
- | `*.cs` with `[Workflow]` / `[TestCase]` | Coded workflow | § Signals — Coded C# |
56
- | `*.cs.json` | Coded workflow argument metadata | read with the `.cs` |
57
- | `*.flow` | Maestro Flow | § Signals — Flow |
58
- | `*.bpmn` | Maestro BPMN process | § Signals — BPMN |
59
- | `caseplan.case` / `caseplan.json` | Maestro Case plan | § Signals — Case |
60
- | `agent.json` (`"type": "lowCode"`) + `resources/*/resource.json` | Low-code agent | § Signals — Low-code Agent |
61
- | `langgraph.json` / `llama_index.json` / `openai_agents.json` + `*.py` | Coded agent | § Signals — Coded Agent |
62
- | `Workflow.json` (`document.dsl`) | API workflow | § Signals — API Workflow |
63
- | `uipath.json` `functions` map + `*.py` or `functions/*.ts` | Coded Function | § Signals — Coded Function |
64
- | `webAppManifest.json`, `action-schema.json`, `src/**/*.ts(x)` | Coded app | § Signals — Coded App |
65
- | `bindings_v2.json`, `entry-points.json`, `project.json` `dependencies` | Platform resources and interfaces | § Platform Resources |
66
- | `.objects/**` (Object Repository) | Application, screen, and element **names** only — never selectors | read for Target Applications and Source Map notes (§ Reading the Project) |
67
- | `.settings/<profile>/settings-*.json` | Project activity defaults | § Signals — Project settings |
68
- | `.templates/*.xaml`, `designOptions.fileInfoCollection[]` in `project.json` | Test execution template, test-case registrations | § Signals — Test projects |
69
- | `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 |
70
-
71
- 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`.
72
-
73
- Generated boilerplate, never a source of logic: `CodedWorkflow.cs`, `ConnectionsManager.cs`, `ConnectionsFactory.cs`, `ObjectRepository.cs`, `WorkflowRunnerService.cs`, `Triggers.Generated.xaml`, `AppsRequestTrigger.xaml`.
74
-
75
- ## Component Detection
76
-
77
- | Marker | Component Type | Skill | Rationale |
78
- |---|---|---|---|
79
- | `project.json` with `.xaml` and/or `[Workflow]` `.cs` (`.uipx` Type `Process`, `Library`, `Test`) | RPA process / library | `uipath-rpa` | Owns both XAML and coded workflows |
80
- | `project.uiproj` + `.flow` (`.uipx` Type `Flow`) | Flow | `uipath-maestro-flow` | |
81
- | `project.uiproj` + `.bpmn` (`.uipx` Type `ProcessOrchestration`) | BPMN process | `uipath-maestro-bpmn` | |
82
- | `caseplan.case` / `caseplan.json` | Case plan | `uipath-maestro-case` | |
83
- | `agent.json` lowCode (`.uipx` Type `Agent`) | Low-code agent | `uipath-agents` | |
84
- | `pyproject.toml` + framework json | Coded agent | `uipath-agents` | |
85
- | `Workflow.json` (`.uipx` Type `Api`) | API workflow | `uipath-api-workflow` | |
86
- | `uipath.json` `functions` map | Coded Function | `uipath-functions` | |
87
- | `project.uiproj` `ProjectType: "AppV2"` or standalone coded app markers | Coded app (Web or Action per `webAppManifest.json` `config.isActionApp`) | `uipath-coded-apps` | |
88
- | `element.json` + `element-metadata.json` | Custom connector | `uipath-connector-builder` | |
89
-
90
- 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.
91
-
92
- 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](genome-format-guide.md) rule 1; signals: § Signals — Test projects).
93
-
94
- ## Signals — XAML
95
-
96
- `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`.
97
-
98
- | Signal | Where | Tells you | Example |
99
- |---|---|---|---|
100
- | 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>` |
101
- | `xmlns` declarations on `<Activity>` | root | Packages in use → target applications | `xmlns:umam="clr-namespace:UiPath.MicrosoftOffice365.Activities.Mail…"` |
102
- | 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"` |
103
- | `<x:Members>` → `<x:Property Type="InArgument(x:String)">` | header | Workflow interface: In / Out / InOut arguments | `Name="in_InvoicePath"` |
104
- | `<If Condition>`, `<Switch>`, `<FlowDecision Condition>`, `<FlowSwitch>` | body | Business rules and routing | `Condition="[Amount > 10000]"` |
105
- | `<TryCatch>` + `<Catch x:TypeArguments>`, `<RetryScope NumberOfRetries>`, `<Rethrow>`, `<Throw>` | body | Error handling per step | `NumberOfRetries="3"` |
106
- | `<ForEach>`, `<While>`, `<DoWhile>`, `<ForEachRow>`, `<ui:ForEachUiElement>` | body | Iteration over items, rows, elements | |
107
- | `<InvokeWorkflowFile FileName>` + `<Argument>` children | body | Call-graph edge and data passed | `FileName="ProcessInvoice.xaml"` |
108
- | `ConnectionId` attribute, `<isactr:ConnectorActivity UiPathActivityTypeId>` | body | Integration Service connector call; resolve service from namespace or type id | `uipath-salesforce-sfdc` |
109
- | Queue activities (`AddQueueItem`, `GetTransactionItem`, `SetTransactionStatus`), asset activities (`GetAsset`, `GetCredential`), `StartJob`, `CreateFormTask` / `WaitForFormTaskAndResume`, `Persistence` activities | body | Platform resources and HITL waits | queue name attribute |
110
- | `<Variable x:TypeArguments Name>` | `.Variables` blocks | Data flow hints only — never in genome body | |
111
- | 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/…"` |
112
- | `uix:NApplicationCard` / `ui:OpenBrowser` / `ui:OpenApplication` | body | Application scope: browser type, attach vs launch, one scope per application session | `BrowserType="Chrome" AttachMode="ByInstance"` |
113
- | `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"` |
114
- | `SearchSteps="SemanticSelector"` with `SemanticSelectorArgument` | target | Element located by natural-language description, usually because no stable selector exists → Source Map note | |
115
-
116
- Designer view state and layout sizes are not logic (§ Reading the Project).
117
-
118
- ### REFramework projects
119
-
120
- 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](transactional-shape-guide.md)); the business logic is the Workflow. Which file feeds which row:
121
-
122
- | Source | Feeds | How |
123
- |---|---|---|
124
- | 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 |
125
- | Settings and Constants rows — `MaxRetryNumber`, `MaxConsecutiveSystemExceptions`, and every custom row (URLs, paths, thresholds) | Sorted per [genome-format-guide.md § Configuration Questions](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 |
126
- | 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 |
127
- | `Framework/InitAllApplications.xaml` (`GetAppCredentials.xaml` in older templates) | Once-per-run steps; credential assets | Open and sign-in per application |
128
- | `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` |
129
- | `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 |
130
- | `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 |
131
- | `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 |
132
- | `Framework/CloseAllApplications.xaml`, `Framework/KillAllProcesses.xaml` | At-the-end steps; Error Handling § Global (forced close between retries) | |
133
- | `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 | Execution recreates them from the template when the shape is applied |
134
-
135
- 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 (§ Call Graph Rules 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](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.
136
-
137
- ## Signals — Coded C#
138
-
139
- | Signal | Pattern | Tells you |
140
- |---|---|---|
141
- | `[Workflow]` on a method | entry point of a coded workflow |
142
- | `[TestCase]` on a method | test — evidence for acceptance criteria, not a component step |
143
- | Service properties: `system.`, `excel.`, `mail.`, `office365.`, `uiAutomation.`, `testing.` | Which UiPath service, hence which application |
144
- | `connections.<Connector>.<Connection>` | Integration Service connection; connector name in property chain |
145
- | `workflows.<Name>(…)` | Call-graph edge to another workflow |
146
- | `try` / `catch (<Type>)` / `finally`, `Polly`-style loops | Error handling |
147
- | `if` / `switch` / `foreach` / `while` / LINQ `Where` | Business rules and iteration |
148
- | Method signature and `.cs.json` `arguments[]` (`name`, `type`, `direction`) | Interface |
149
- | `BuildClient("Orchestrator")`, `HttpClient` | Orchestrator API or external REST |
150
- | `Descriptors.<Screen>.<Element>` | UI targets from Object Repository |
151
-
152
- ## Signals — Project settings
153
-
154
- `.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.
155
-
156
- | Setting group | Tells you | Genome |
157
- |---|---|---|
158
- | 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 |
159
- | 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](genome-format-guide.md)) |
160
- | Click before typing, field emptying, typing through the clipboard, post-action verification | How type and click steps behave | The steps they shape |
161
- | Application scope open, close, attach and resize modes, runtime browser, browser user data folder | How application scopes start and end | The scope steps |
162
- | 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 |
163
- | 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 |
164
- | 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](genome-format-guide.md) |
165
-
166
- ## Signals — Test projects
167
-
168
- `designOptions.outputType: Tests` in `project.json` (`ProjectType: Tests` in `project.uiproj`), or test cases registered in a process project.
169
-
170
- | Signal | Where | Tells you |
171
- |---|---|---|
172
- | `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` (§ Provenance); a file carrying `[TestCase]` with no entry is never started — dead code |
173
- | 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 |
174
- | 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 |
175
- | 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 |
176
- | Attach Document, `testing.AttachDocument`, screenshot activities | case bodies, template | Evidence policy ([extraction-guide.md](extraction-guide.md) Step 3) |
177
- | Data variations | `.variations/` | § Test Data |
178
-
179
- ## Signals — Flow
180
-
181
- | Signal | Path | Tells you |
182
- |---|---|---|
183
- | Trigger node `type` | `nodes[].type`: `core.trigger.manual`, `core.trigger.scheduled` (`inputs.timerPreset`), `uipath.connector.trigger.*`, `core.trigger.voice` | How the flow starts |
184
- | 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 |
185
- | `definitions[].model.bindings.{resourceKey, resourceSubType, serviceType}` and top-level `bindings[]` (`name`, `folderPath`, `default`) | definitions / bindings | Concrete Orchestrator process, agent, or API workflow invoked |
186
- | `core.logic.decision` (`inputs.expression`), `core.logic.switch` (`inputs.cases`), `core.logic.loop` (`inputs.collection`, `parallel`), `core.logic.merge` | nodes | Business rules and iteration |
187
- | `uipath.human-in-the-loop.quick-form` (`inputs.schema.fields[]`, `outcomes[]`, `recipient`) | nodes | Inline approval — HITL checkpoint |
188
- | `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 |
189
- | `core.logic.terminate` vs `core.control.end` (`outputs`) | nodes | Fatal abort vs normal completion and flow outputs |
190
- | `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 |
191
- | `inputs.errorHandlingEnabled: true` | action node | Step has an error escape path |
192
- | `variables.nodes[]` (`<nodeId>.<outputId>`) | top level | Data flow between nodes |
193
-
194
- ## Signals — BPMN
195
-
196
- Confirm `xmlns:uipath="http://uipath.org/schema/bpmn"` on `<bpmn:definitions>`.
197
-
198
- | Signal | Where | Tells you |
199
- |---|---|---|
200
- | `<uipath:variables>` → `<uipath:inputOutput id name type>` | process `extensionElements` | Process data schema |
201
- | `<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 |
202
- | `<uipath:context>` → `<uipath:input name value>` | inside the activity | Bound resource: `releaseKey` / `folderPath` / `name`, `appId`, `connectorKey` / `connection` / `operation` |
203
- | `<uipath:input target="bodyField">`, `<uipath:output var source>` | inside the activity | Argument mapping in and out |
204
- | `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 |
205
- | `bpmn:lane` / `laneSet` | process | Actors (human lanes) and system lanes → Actors and Systems |
206
- | `startEvent` with `Intsvc.EventTrigger` / `Intsvc.TimerTrigger`; `endEvent` with `terminateEventDefinition` | process | Triggers and terminal outcomes |
207
- | `exclusiveGateway default=`, `parallelGateway`, `inclusiveGateway`, `eventBasedGateway` | process | Branch semantics |
208
- | `sequenceFlow sourceRef targetRef` + `conditionExpression` (`=vars.X == "…"`) | process | Graph edges and branch predicates → Business Rules |
209
- | `boundaryEvent attachedToRef cancelActivity` + `timerEventDefinition` / `errorEventDefinition` (`errorRef` → `<bpmn:error errorCode>`) | process | Timeouts and error paths per step |
210
- | `<uipath:retry maxRetryCount retryBackoff>`, `<uipath:errorMapping>` | activity | Retry policy per step |
211
- | `subProcess triggeredByEvent`, `multiInstanceLoopCharacteristics isSequential` + `<uipath:loopCharacteristics inputCollection inputElement>` | process | Event subprocesses and batch loops |
212
-
213
- Skip `bpmndi:` diagram elements.
214
-
215
- ## Signals — Case
216
-
217
- | Signal | Path | Tells you |
218
- |---|---|---|
219
- | `metadata.caseIdentifier`, `caseIdentifierType` | top | Case ID scheme |
220
- | `nodes[type=uipath.case.trigger].data.inputs.serviceType` | trigger | `None` (manual), `Intsvc.EventTrigger`, `timer` |
221
- | `nodes[type=case-management:Stage]`, `data.stageType` (`secondary` = exception stage) | nodes | Stages → Process Map |
222
- | `data.tasks` (2-D array: inner = parallel, consecutive = sequential) | stage | Task order and parallelism |
223
- | 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 |
224
- | `isRequired`, `skipCondition`, `shouldRunOnlyOnce`, `entryConditions[].rules` (DNF), `exitConditions[].{type, exitToStageId}` | tasks / stage | Business rules and gating |
225
- | `metadata.slaRules[]`, `nodes[].data.slaRules[]` (`count`, `unit`, `escalationRule[]` with `triggerInfo.type`, `atRiskPercentage`, `recipients`) | metadata / stage | SLAs and escalation → Business Rules and Error Handling |
226
- | `metadata.caseExitRules[].marksCaseComplete` | metadata | Case completion |
227
- | `variables.{inputs, outputs, inputOutputs}`, `bindings[]` | top | Interface and platform resources |
228
-
229
- ## Signals — Low-code Agent
230
-
231
- | Signal | Path | Tells you |
232
- |---|---|---|
233
- | `"type": "lowCode"`, `metadata.isConversational`, `settings.engine` | `agent.json` | Autonomous vs conversational |
234
- | `messages[role=system].content` | `agent.json` | Agent instructions — primary source of business rules; paraphrase, never quote verbatim |
235
- | `messages[role=user].content` with `{{input.x}}`, `@{tools.X}`, `@{contexts.X}`, `@{escalations.X}` | `agent.json` | Inputs used and resources referenced |
236
- | `inputSchema`, `outputSchema` (`$ref: job-attachment` = file) | `agent.json`, mirrored in `entry-points.json` | Interface |
237
- | `settings.{model, maxIterations, temperature}` | `agent.json` | Model → Configuration Question, since the tenant decides which models are available; loop budget and temperature → Business Rules |
238
- | `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 |
239
- | `$resourceType: "escalation"` with `channel.type: actionCenter`, `channel.properties.folderName` | resources | HITL escalation |
240
- | `$resourceType: "mcp"` (`availableTools`), `"context"` | resources | MCP servers and context-grounding indexes |
241
- | `guardrails[]`, tool `guardrail.policies` | `agent.json`, resources | Policy checks → Business Rules |
242
- | `features/<Name>/feature.json` | features | Memory spaces |
243
-
244
- ## Signals — Coded Agent
245
-
246
- | Signal | File | Tells you |
247
- |---|---|---|
248
- | `langgraph.json` `graphs` (`"agent": "./main.py:graph"`), `llama_index.json`, `openai_agents.json` | root | Framework and where graph starts |
249
- | `StateGraph`, `add_node`, `add_edge`, `add_conditional_edges` | graph module | Step topology and branching |
250
- | `Input` / `Output` / `State` Pydantic or TypedDict classes | graph module | Interface (also in `entry-points.json`) |
251
- | `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 |
252
- | `interrupt(InvokeProcess / CreateTask / CreateEscalation(...))`, `EscalateAction(app_name=…)` | any `.py` | HITL checkpoints |
253
- | System prompt strings passed to the model | any `.py` | Business rules — paraphrase |
254
- | `bindings.json` `resources[]` (`resource`: `asset`, `queue`, `process`, `bucket`, `app`, `index`, `connection`, `mcpServer`) | root | Platform resources |
255
- | `evaluations/eval-sets/*.json`, `evaluations/evaluators/*.json` | evaluations | Expected behaviour → acceptance criteria |
256
- | `pyproject.toml` `[project].dependencies` | root | Framework packages |
257
-
258
- ## Signals — API Workflow
259
-
260
- | Signal | Path | Tells you |
261
- |---|---|---|
262
- | `document.dsl`, `evaluate.language` | top | Serverless Workflow 1.0, JavaScript expressions |
263
- | `input.schema.document`, `output.schema.document` | top | Interface |
264
- | `document.metadata.variables.schema.document.properties` | top | Variables and defaults |
265
- | `do[]` single-key tasks; `metadata.activityType`: `Sequence`, `Assign`, `JsInvoke`, `If`, `ForEach`, `DoWhile`, `Break`, `TryCatch`, `Wait`, `Response`, `Connector`, `FileToBase64`, `Base64ToFile` | top | Steps and control flow |
266
- | `metadata.isTransparent: true` (`WorkflowStart`) | first task | Generated — skip |
267
- | `call: "UiPath.Http"` + `with.bodyParameters.{method, url}` | HTTP task | Real verb and URL (outer `with.method` is always POST) → Target Applications |
268
- | `call: "UiPath.IntSvc"` + `with.{connector, connectionId, endpoint}` | connector task | Integration Service connector and operation |
269
- | `run.script.code` | JsInvoke | Embedded logic → Business Rules |
270
- | `try` / `catch` blocks | TryCatch | Error handling |
271
- | `response` on the final task | Response | Output |
272
- | `httpRetryConfig` | top | Retry policy |
273
-
274
- ## Signals — Coded Function
275
-
276
- | Signal | File | Tells you |
277
- |---|---|---|
278
- | `functions` map (`"main": "main.py:my_function"`) | `uipath.json` | Entry points |
279
- | Pydantic `Input` / `Output` (Python) or `defineFunction({ input: defineSchema<Input>(), output: … })` (TS/JS) | entry module | Interface |
280
- | `method` + `path` on `defineFunction` | TS/JS | HTTP endpoint vs run-as-job |
281
- | `UiPath()` SDK calls (Python), `ctx.platform.*` (TS/JS) | code | Platform side effects |
282
- | Body logic (conditions, calculations) | code | Business rules |
283
- | `entry-points.json` `entryPoints[].{type: "function", input, output}`, `bindings_v2.json` `HttpTrigger` | generated | Confirms interface and trigger |
284
-
285
- ## Signals — Coded App
286
-
287
- | Signal | File | Tells you |
288
- |---|---|---|
289
- | `project.uiproj` `ProjectType: "AppV2"`; `webAppManifest.json` `config.isActionApp` | root | In-solution app; Action app vs Web app |
290
- | `action-schema.json` `inputs` / `outputs` / `inOuts` / `outcomes` | root | Human-task data contract → Interface, HITL handoff |
291
- | `package.json` deps `@uipath/coded-action-app`, `@uipath/uipath-typescript` | root | App flavour |
292
- | `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 |
293
- | Route and page components, forms, tables | `src/**` | Workflow steps as user actions ("reviewer opens…, edits…, submits…") |
294
- | Widget imports (Validation Station, PDF viewer, DataTable, chat) | `src/**` | Capabilities to name in Overview |
295
- | `.uipath/app.config.json` `appType`, `appName` | root | Deployed identity |
296
-
297
- ## Target Resolution
298
-
299
- 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).
300
- 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.
301
- 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.
302
- 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>`.
303
- 5. **Orchestrator folders** → Platform Dependencies row's Notes; never a Target Application.
304
-
305
- ## Call Graph Rules
306
-
307
- 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`.
308
- 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).
309
- 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.
310
- 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]*`.
311
- 5. Unreachable workflows are unused parts: steps or the Source Map's `Unused` row, as the Unused parts answer decides ([extraction-guide.md](extraction-guide.md) Step 1).
312
- 6. Test project: the execution template invokes every registered case through its placeholder, so its steps are shared steps of every case (§ Signals — Test projects). 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.
313
- 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 (§ Signals — XAML › REFramework projects); 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](transactional-shape-guide.md)).
314
-
315
- ## Expression Translation
316
-
317
- 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](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.
318
-
319
- ## Platform Resources
320
-
321
- | Where | Resource rows |
322
- |---|---|
323
- | `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 |
324
- | `bindings.json` (coded agents) | Same mapping |
325
- | `.flow` top-level `bindings[]` | Processes, agents, API workflows invoked; folders |
326
- | XAML queue / asset / credential / bucket / StartJob activities; `.cs` `system.` calls | Queues, assets, credentials, buckets, jobs |
327
- | `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 |
328
- | 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 |
329
- | BPMN `<uipath:context>` inputs (`folderPath`, `releaseKey`, `appId`, `connection`) | Processes, HITL apps, connections |
330
- | `entry-points.json` | Interface inputs and outputs per component |
331
- | Triggers: `.flow` scheduled/connector trigger nodes, BPMN start event types, Case trigger `serviceType`, `bindings_v2.json` `HttpTrigger` | Deployment → Entry points and triggers |
332
-
333
- ## Deployed State
334
-
335
- 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, read it with `uipath-platform`'s read commands — 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.
336
-
337
- | Read | Tells you | Genome |
338
- |---|---|---|
339
- | 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 |
340
- | 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 |
341
- | 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 |
342
- | 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 |
343
- | 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 |
344
- | 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]*` |
345
- | 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 |
346
-
347
- 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.
348
-
349
- ## UI Target Locators
350
-
351
- UiPath sources already hold UiPath targets; nothing translated, everything carried over. Execution reads them from the source project the Source Map names; the derived catalog lists, per project:
352
-
353
- | Where | What | Carry-over at execution |
354
- |---|---|---|
355
- | `.objects/**` (Object Repository store) | applications, screens, elements with their descriptors (strict, fuzzy, anchors, CV, semantic) | copy store into rebuilt project, or consume source UI library package; link activities by element reference. Confidence `high` (captured against live application) |
356
- | `uix:TargetAnchorable` / `uix:TargetApp` inline in `.xaml`, keyed by workflow and activity `IdRef` | targets never promoted to Object Repository | promote to Object Repository when genome makes the workflow a library activity; otherwise carry inline. Confidence `high` |
357
- | `Descriptors.<App>.<Screen>.<Element>` in coded workflows (resolved through `ObjectRepository.cs`) | coded references into same store | store copy covers them; generated file is regenerated by first validate |
358
- | Legacy (`targetFramework: Legacy`) `Selector` attributes on classic activities | classic strict selectors | catalogued with confidence `medium`; rebuild routes through owning skill's legacy guidance; genome flags conversion `*[Inferred]*` |
359
-
360
- Selectors never enter genome body (inventory rule above holds); they travel only in the catalog.
361
-
362
- ## Test Data
363
-
364
- | Where | What | Data catalog derived at execution |
365
- |---|---|---|
366
- | `.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 |
367
- | 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 |
368
- | `GetRobotCredential` / `GetRobotAsset` asset names, `GetCredential` | credentials and configuration already in Orchestrator | keep asset names ([genome-format-guide.md § Platform Dependencies](genome-format-guide.md)); no secret present in source, none written |
369
- | Default values on test-case arguments (`this:<Class>.<Arg>` root attributes) | single-row data | recordset's only row |
370
-
371
- Variation row holding a password-looking field (`*password*`, `*pwd*`, `*secret*`, `*token*`) is redacted and reported; field is expected to become a credential asset name.
372
-
373
- ## Provenance
374
-
375
- What the Source Map rows of [extracted-genome-guide.md § Source Map](extracted-genome-guide.md) carry for a UiPath source:
376
-
377
- | Identity of | Carried as |
378
- |---|---|
379
- | 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 |
380
- | 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 |
381
- | A test case | Its path plus `testCaseId`, `` `Tests/Case.xaml` (<testCaseId>) ``; a checkpoint inside it by its activity `IdRef` |
382
- | A step's data set | The data variation file's project-relative path, `` `.variations/<Case>.json` ``, in the step table's Data sets cell |
383
- | Inventory | Workflows per artifact type, test cases, data files and rows, Object Repository applications, screens and elements, accounts |
384
- | 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) |
385
- | 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 |
386
-
387
- No inventory script derives a process inventory or a recordset list, so the genome check runs without the export check, and [extraction-guide.md](extraction-guide.md) Step 6b's Glob check takes its place.
388
-
389
- ## Framework Pitfalls
390
-
391
- 1. Designer view state and `HintSize` attributes look like content and are layout only (§ Reading the Project).
392
- 2. `xmlns` declarations are package imports, not steps. Many are declared and unused.
393
- 3. Flow resource-node instances carry no `model`; the resource is in `definitions[]` and `bindings[]`.
394
- 4. BPMN `uipath:type` decides what a task does; the BPMN element name (`serviceTask`) is only a hint.
395
- 5. Low-code agent tools are files under `resources/`, not an array in `agent.json`.
396
- 6. API workflow HTTP tasks: the real verb and URL are in `with.bodyParameters`, not the outer `with`.
397
- 7. `bindings.json` and `bindings_v2.json` are different files with different consumers; a coded agent may have both.
398
- 8. `.app/` and `*.Generated.xaml` are generated trigger plumbing for apps and Action Center — skip.
399
- 9. `resources/solution_folder/**` mirrors the manifest and is regenerated; read `.uipx` instead.
400
- 10. A `[TestCase]` `.cs` file or `Test` project beside the projects it tests is evidence, not a component (§ Component Detection).
401
- 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 (§ Signals — XAML › REFramework projects).
402
- 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.
403
- 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.
404
- 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).