@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,224 +0,0 @@
1
- <!-- UIPATH-AUTOMATION-GENOME: component | This file is a build specification for one UiPath automation project.
2
- To build it, invoke the uipath-genome skill (Execute mode): it asks the configuration questions,
3
- then invokes the skills referenced in Build With. Do NOT execute these steps directly, and do NOT
4
- start from a Build With skill. -->
5
-
6
- # Genome: Purchase Requisition Entry
7
-
8
- > RPA process with two entry points: dispatch the day's open requisition rows to a queue, and key each requisition into the Coupa portal, returning the requisition number to the requester.
9
-
10
- > **This is a UiPath automation blueprint.** Do not execute these steps directly. Build it with the **uipath-genome** skill, which hands each part to the skill listed in **Build With** below.
11
-
12
- ## Overview
13
-
14
- The business raises purchase requisitions in a shared workbook on the finance share, and purchasing keys them into the Coupa portal by hand. About 300 rows wait each morning, so the last ones are entered late in the day and requesters wait for a requisition number they need before a supplier will accept the order. This automation keys them instead: it takes the open rows at the start of the business day, enters each one in Coupa, and sends the requester the Coupa requisition number the same morning.
15
-
16
- The work splits over two entry points of one RPA project. Entry point A runs once at 06:00, reads the open rows, puts one item per requisition on the `PR_Requisitions` queue with the requisition number as its reference, and marks the row dispatched with a timestamp so a later run does not queue it a second time. Entry point B runs on three unattended robots that share the queue from 06:30. It signs in to Coupa once with the purchasing robot account, then works items one at a time: it checks the supplier, the cost centre, the mandatory fields and the delivery date, creates the requisition header and one line per line item, submits it, reads the Coupa requisition number back, and emails it to the requester.
17
-
18
- Rejections are a normal outcome rather than a failure. A supplier that is not on the approved list, an unknown or closed cost centre, an empty mandatory field, a delivery date in the past, or a requisition that already exists in Coupa sends the requester the reason and leaves the queue item recorded with it; nothing is created in the portal. At the end of the run entry point B signs out, appends one summary row — taken, created, rejected by reason, failed — to the summary sheet, and emails the same figures to purchasing operations.
19
-
20
- ## Target Applications
21
-
22
- | Application | Role | Notes |
23
- |-------------|------|-------|
24
- | Microsoft Excel (purchasing requisition workbook on the finance share) | Input source and output target | Open-requisitions sheet with the dispatched-timestamp column, approved-supplier sheet, run-summary sheet |
25
- | Coupa (web portal) | Output target | Requisition search, header and line entry, submit; purchasing robot account |
26
- | Exchange Online | Notification channel | Requester notifications, run summary and stop alert to purchasing operations |
27
- | Orchestrator | Queue, assets, triggers | Shared queue for three unattended robots |
28
-
29
- ## Build With
30
-
31
- | Step | Skill | Rationale |
32
- |------|-------|-----------|
33
- | Entry point A (queue the open rows), steps 1-4 | `uipath-rpa` | Spreadsheet reading and write-back on a file share plus queue item creation, all in one XAML workflow; no screen outside Excel and no decision that needs judgement |
34
- | Entry point B (key the requisitions), steps 5-13 | `uipath-rpa` | Browser UI automation against the portal, spreadsheet lookups and mail in the same project; the portal offers no supported interface for requisition creation here, so `uipath-api-workflow` does not apply, and every decision is a deterministic rule against reference data rather than a judgement for `uipath-agents` |
35
-
36
- ## Platform Dependencies
37
-
38
- | Resource | Type | Purpose |
39
- |----------|------|---------|
40
- | PR_Requisitions | Queue | Entry point A writes one item per requisition row; three robots running entry point B share it, and an item survives a failed run |
41
- | Coupa_PurchasingRobot | Credential asset | Portal sign-in for the purchasing robot account on the production Coupa tenant |
42
- | Coupa_PortalUrl | Text asset | Address of the Coupa tenant entry point B opens |
43
- | FinanceShare_RequisitionsPath | Text asset | Location of the requisition workbook and the summary sheet on the finance share |
44
- | Purchasing_Mailbox | Integration Service connection (Exchange Online) | Sends requester notifications, the run summary and the stop alert |
45
- | PR_DispatchSchedule | Time trigger | Starts entry point A every business day at 06:00 |
46
- | PR_RequisitionsQueueTrigger | Queue trigger | Starts entry point B from 06:30 on up to three unattended robots |
47
-
48
- ## Interface
49
-
50
- - **Inputs:** A: none (time trigger); reads the open-requisition rows. B: one queue item per requisition — requisition number, requester email, supplier name, cost centre, delivery date, line items (description, quantity, unit price)
51
- - **Outputs:** A: one queue item per undispatched row, plus the dispatched count and the skipped count. B: per item, the Coupa requisition number or a rejection reason; one run-summary row (taken, created, rejected by reason, failed)
52
- - **Side effects:** requisitions created and submitted in Coupa; emails to requesters and to purchasing operations; dispatched-timestamp column and summary sheet written in the workbook
53
-
54
- ## Configuration Questions
55
-
56
- 1. Which workbook holds the requisitions, and where does it live? (setting; default: the purchasing folder on the finance share, workbook `Purchase Requisitions`)
57
- 2. Which sheets hold the open requisitions, the approved suppliers, and the run summary? (setting; default: `Open Requisitions`, `Approved Suppliers`, `Run Summary`)
58
- 3. Which Orchestrator queue carries the requisitions? (setting; default: `PR_Requisitions`)
59
- 4. Which purchasing portal does entry point B sign in to? (setting; default: the production Coupa tenant address, held as a Text asset)
60
- 5. Which mailbox sends the requester notifications and the run summary? (setting; default: purchasing-robot@contoso.com)
61
- 6. Which address receives the run summary and the stop alert? (setting; default: purchasing-operations@contoso.com)
62
- 7. How many times is a requisition retried after a system exception? (constant; default: 2)
63
- 8. After how many consecutive system exceptions does the run stop and alert purchasing operations? (constant; default: 3)
64
- 9. Where is the supplier checked? (setting; default: the approved-supplier sheet; alternative: the portal's supplier search)
65
- 10. How long does entry point B wait for the portal to return a requisition number before the submit counts as a system exception? (constant; default: 60 seconds)
66
- 11. Is a delivery date equal to the run date accepted? (constant; default: yes — only a date earlier than the run date is rejected)
67
-
68
- ## Workflow
69
-
70
- 1. **Trigger A**: time trigger, every business day at 06:00.
71
- 2. **Read the open requisitions** (input: the requisition workbook on the finance share; output: the rows not yet dispatched): open the open-requisitions sheet and read every row that carries no dispatched timestamp; fields per row are requisition number, requester email, supplier name, cost centre, delivery date, and the line items (description, quantity, unit price).
72
- 3. **Create one work item per requisition** (input: one row; output: one queue item, or a skip):
73
- a. Reference is the requisition number
74
- b. If the requisition number already has an item on `PR_Requisitions` in any state, create nothing and count the row as skipped
75
- c. Otherwise create the item carrying requisition number, requester email, supplier name, cost centre, delivery date and the line items
76
- 4. **Mark the row dispatched** (input: the row and the run timestamp; output: the updated workbook): write the run timestamp into the dispatched column of every row that now has an item — one it created and one it skipped as already queued — and record the dispatched and skipped counts for the run.
77
- 5. **Trigger B**: queue trigger on `PR_Requisitions` from 06:30; up to three unattended robots share the queue.
78
- 6. **Open the portal and load reference data** (input: portal address, purchasing robot credential asset; output: a signed-in session and the two reference lists): open Coupa, sign in as the purchasing robot account, confirm the landing page belongs to that account, then read the approved-supplier list and the cost-centre list once so the per-item checks do not read them again.
79
- 7. **Take the next requisition** (input: `PR_Requisitions`; output: one requisition record): take one item; its reference is the requisition number.
80
- 8. **Validate the requisition** (input: requisition record, approved-supplier list, cost-centre list; output: accepted, or a rejection reason):
81
- a. Supplier name appears on the approved-supplier list and is active → otherwise `supplier-not-approved`
82
- b. Cost centre exists and is open on the run date → otherwise `cost-centre-unknown` when it is absent, `cost-centre-closed` when it is present but closed
83
- c. Requisition number, requester email, supplier name, cost centre, delivery date and at least one line item with a description, a quantity above zero and a unit price are all present → otherwise `mandatory-field-empty` naming the first empty field
84
- d. Delivery date is not earlier than the run date → otherwise `delivery-date-past`
85
- e. On the first failing check, carry the reason to step 12 and skip steps 9-11; nothing is entered in the portal
86
- 9. **Check whether the requisition already exists** (input: requisition number; output: an existing Coupa requisition number, or none): search the portal for the requisition number in the external-reference field; a match carries the reason `already-created` and the existing Coupa requisition number to step 12, and steps 10-11 are skipped.
87
- 10. **Create the requisition** (input: requisition record; output: an unsubmitted requisition):
88
- a. Header: requester, supplier, cost centre, delivery date, and the requisition number in the external-reference field
89
- b. One line per line item, in the order of the source row: description, quantity, unit price
90
- c. Before submitting, the line count and the sum of quantity × unit price must equal the source row
91
- 11. **Submit and read the number back** (input: the unsubmitted requisition; output: the Coupa requisition number): submit the requisition and read the number from the confirmation; no number within the configured wait counts as a system exception.
92
- 12. **Record the outcome and notify the requester** (input: the outcome — Coupa requisition number or rejection reason; output: the recorded item and one email): record the outcome on the queue item; email the requester at the address on the item, naming the requisition number and either the Coupa requisition number or the rejection reason in business language.
93
- 13. **Sign out and report the run** (input: the recorded outcomes of the run; output: one summary row and one email): sign out of the portal and close the browser, append a row to the run-summary sheet with the run date, items taken, created, rejected by reason and failed, and email the same figures to purchasing operations.
94
-
95
- ## Business Rules
96
-
97
- ### Step 2: Read the open requisitions
98
- - A row that already carries a dispatched timestamp is never read again, whatever its outcome was on the earlier run.
99
-
100
- ### Step 3: Create one work item per requisition
101
- - The requisition number is the item's reference and is unique per requisition: a number that already has an item on the queue is never queued a second time, whatever state that item is in.
102
- - A row with no requisition number has no reference: it is left undispatched and counted as skipped so a person can complete it in the workbook.
103
-
104
- ### Step 4: Mark the row dispatched
105
- - The timestamp is written only after the item exists on the queue, so a failure between the two leaves the row to the next run rather than losing the requisition.
106
-
107
- ### Step 8: Validate the requisition
108
- - Supplier names are matched against the approved-supplier list ignoring case and surrounding spaces; a supplier that is absent or marked inactive is rejected.
109
- - The cost centre must both exist and be open on the run date.
110
- - The first failing check decides the reason; the remaining checks do not run, so one reason reaches the requester.
111
- - A rejected requisition is never entered in the portal, and no requisition is created for it later without a new row.
112
-
113
- ### Step 9: Check whether the requisition already exists
114
- - A requisition number that already carries a Coupa requisition is a rejection with reason `already-created` and the existing Coupa requisition number; a second requisition is never created for the same requisition number.
115
-
116
- ### Step 10: Create the requisition
117
- - The requisition number goes into the external-reference field of the header, because that is what step 9 searches on a later run.
118
- - A line count or a total that differs from the source row abandons the unsubmitted requisition rather than submitting a wrong order.
119
-
120
- ### Step 12: Record the outcome and notify the requester
121
- - Every per-item outcome is recorded on the queue item and emailed to the requester: a created requisition names the Coupa requisition number, a rejection names the reason.
122
-
123
- ### General
124
- - Only entry point A writes the dispatched column, and only the end-of-run step writes the summary sheet, so three robots working at once never write the same cells.
125
- - Each requisition is worked by exactly one robot, because the queue hands an item to one robot only.
126
-
127
- ## Error Handling
128
-
129
- ### Step 2: Read the open requisitions
130
- - Workbook locked by another user, or the finance share unreachable: retry 3× with a one-minute wait, then end the run without dispatching and alert purchasing operations; the rows stay undispatched for the next run.
131
- - No undispatched rows on the sheet: end the run with zero items created, record the zero counts, send no alert.
132
-
133
- ### Step 3: Create one work item per requisition
134
- - Queue unavailable: retry 3×, then end the run; rows already queued keep their timestamp and the rest stay undispatched, and purchasing operations are alerted.
135
-
136
- ### Step 6: Open the portal and load reference data
137
- - Portal unreachable, or sign-in refused: close the browser and retry the sign-in twice, then end the run and alert purchasing operations; items stay on the queue for the next run.
138
- - Approved-supplier list or cost-centre list unreadable: end the run before taking any item and alert purchasing operations, rather than rejecting requisitions against missing reference data.
139
-
140
- ### Steps 9-11: Portal lookup, creation and submit
141
- - Portal timeout, lost session, or an expected element not found: capture a screenshot, sign out or close the browser, sign in again, and retry the same requisition 2× (Configuration Question 7); still failing, record the item as failed with the reason and continue with the next item.
142
- - An unsubmitted requisition left behind by a failure is abandoned before the retry, so the retry starts from the search in step 9 and finds nothing to create twice.
143
-
144
- ### Step 12: Record the outcome and notify the requester
145
- - Mail server unavailable: retry the send twice; still failing, record the item as failed with reason `notification-not-sent`, keeping the Coupa requisition number on the record, so the run summary carries the number for purchasing operations to forward. The requisition is not created a second time.
146
-
147
- ### Step 13: Sign out and report the run
148
- - Summary sheet locked or unreachable: retry 3×, then email the figures to purchasing operations and state in the mail that the sheet was not written.
149
- - Sign-out failure: close the browser anyway and finish the run; it is not a run failure.
150
-
151
- ### Global
152
- - Three consecutive system exceptions (Configuration Question 8): stop the run, sign out, close the browser, and alert purchasing operations with the three reasons; untaken items stay on the queue for the next run.
153
- - Every system exception captures a screenshot of the portal before recovery, and the requisition number is recorded with the reason.
154
- - Unhandled exception: capture a screenshot, record the requisition number and the step, sign out and close the portal, record the item as failed, and continue with the next item unless the consecutive-failure threshold is reached.
155
-
156
- ## Transactional Shape
157
-
158
-
159
- **Flows:** Flow 1 — requisition row: steps 1–4 (entry point A) → steps 5–13 (entry point B).
160
-
161
- ### Flow 1 — one requisition row: steps 1–4 → steps 5–13
162
-
163
- **Unit of work:** one requisition row; reference the requisition number, which is unique per requisition and keeps a number from being queued twice; fields as in Interface — requester email, supplier name, cost centre, delivery date, line items (description, quantity, unit price); about 300 a day, dispatched in one run every business day at 06:00 and worked from 06:30; chosen because Coupa accepts or rejects a requisition as a whole, the requisition number identifies it, and re-keying one requisition costs about a minute.
164
- **Alternative units of work:** one requisition line — fits when each line is keyed into a separate order; today Coupa submits a requisition with all its lines at once, so a line cannot be retried without its header.
165
-
166
- **As-is** — how the project handles the requisitions:
167
-
168
- | Aspect | As-is |
169
- |---|---|
170
- | Produced by | Steps 1–4 (entry point A), once every business day at 06:00: read the rows of the open-requisitions sheet that carry no dispatched timestamp; one item per requisition number; a number already on the queue is skipped and counted; queued and skipped rows are both marked with the dispatched timestamp |
171
- | Consumed by | Steps 5–13 (entry point B) on three unattended robots from 06:30; any robot takes the next item in queue order |
172
- | Item store | Orchestrator queue `PR_Requisitions`; per item the status, and as output the Coupa requisition number or the rejection reason |
173
- | Coordination | The dispatched-timestamp column keeps a row from being queued on a second run; nothing joins items to one another |
174
- | Item kinds | One kind |
175
- | Step groups | once per run: steps 5–6; per item: steps 7–12; at the end: step 13 (steps 1–4 are the producer's own) |
176
-
177
- | Outcome | When | Effect |
178
- |---|---|---|
179
- | Success | every per-item step completed | item recorded as done with the Coupa requisition number, which the requester is emailed |
180
- | Business exception | Step 8 rules: supplier not approved, cost centre unknown, cost centre closed, mandatory field empty, delivery date in the past; Step 9 rule: already created | no retry; item recorded with the reason and the requester emailed it; nothing created in the portal; run continues |
181
- | System exception | every other failure — Step 6 and Steps 9-11 handlers: portal unreachable or sign-in refused, portal timeout, lost session, element not found (the step 12 mail handler retries the send only and records `notification-not-sent`, so a created requisition is never entered twice) | portal closed and signed in again, item retried 2× (Configuration Question 7), then recorded as failed with the reason; run stops after 3 consecutive (Configuration Question 8) and purchasing operations are alerted |
182
-
183
- **Split options** — none asserted; runner counts are deployment settings:
184
-
185
- | Unit of work | Option | Requires | Changes against as-is |
186
- |---|---|---|---|
187
- | one requisition row | A | excluded: three robots share the items and an item must survive a failed run | the queue and the 06:30 start disappear; one robot reads the open rows and keys all 300 requisitions in the same job |
188
- | one requisition row | B | entry point A triggered once at 06:00; the dispatched timestamp keeps a second dispatch harmless | none as one project — the as-is, entry points A and B published as two processes; as two projects, two packages and the workbook location and mailbox settings held twice or in a shared library |
189
- | one requisition row | C | a once-guard for the dispatch, since all three robots run it — the dispatched timestamp plus the requisition number the queue refuses twice; both roles on the same robots and schedule | one entry point and one trigger instead of two; keying starts right after the dispatch instead of at 06:30; whichever robot dispatches first writes the dispatched column, the other two find no undispatched rows or wait on the locked workbook (step 2's retry) |
190
- | one requisition line | A | excluded: as for one requisition row | the first line of a requisition creates its header; the requester mail and the total check run after a requisition's last line in the same job |
191
- | one requisition line | B | Coupa accepting lines added to an open requisition | header creation guarded when several robots take lines of one requisition; the requester mail and the total check need all lines of a requisition to be final |
192
- | one requisition line | C | as for B, plus the once-guard for the dispatch on every robot | as for B, with one entry point and one trigger |
193
-
194
- **Evidence:** three unattended robots share the queue from 06:30; the rows are dispatched once per business day at 06:00; an item must survive a failed run and be retried in a later one; Coupa submits a requisition with all its lines at once; purchasing operations need per-item visibility.
195
- **Configuration:** settings — questions 1-6 and 9 (workbook location, sheet names, queue name, portal address, sending mailbox, operations address, supplier lookup source); constants — questions 7, 8, 10 and 11 (item retries, consecutive-failure threshold, submit wait, same-day delivery date); assets — every Credential and Text row of Platform Dependencies, read at the start of the run.
196
- **Traceability:** the queue item's status and history per requisition number, carrying the Coupa requisition number or the rejection reason; a screenshot on every system exception; the dispatched-timestamp column in the workbook for what was queued; one run-summary row (taken, created, rejected by reason, failed) on the summary sheet plus the same figures emailed to purchasing operations.
197
-
198
- ## Acceptance Criteria
199
-
200
- 1. Given 300 open rows with no dispatched timestamp, entry point A creates 300 items on `PR_Requisitions`, one per requisition number, and writes the run timestamp on each row.
201
- 2. Given a row whose requisition number already has an item on the queue, entry point A creates no second item, counts the row as skipped, and still marks it dispatched.
202
- 3. Given the open-requisitions sheet has no undispatched rows, entry point A ends the run with zero items created and sends no alert.
203
- 4. Given the workbook is locked by another user, entry point A retries three times, dispatches nothing, and alerts purchasing operations with the reason.
204
- 5. Given a signed-in portal session, entry point B reads the approved-supplier list and the cost-centre list once for the whole run rather than per requisition.
205
- 6. Given a requisition whose supplier is not on the approved-supplier list, entry point B creates nothing in the portal, records the item with reason `supplier-not-approved`, and emails the requester that reason.
206
- 7. Given a cost centre that is closed on the run date, the item is recorded with reason `cost-centre-closed` and the requester is emailed, while the next item is still worked.
207
- 8. Given a requisition with an empty delivery date, the item is recorded with reason `mandatory-field-empty` naming the delivery date.
208
- 9. Given a delivery date one day before the run date, the item is recorded with reason `delivery-date-past`.
209
- 10. Given a requisition number that already carries a Coupa requisition, entry point B creates no second requisition and records `already-created` with the existing Coupa requisition number.
210
- 11. Given a valid requisition with three line items, entry point B creates a Coupa requisition with three lines matching description, quantity and unit price, submits it, and records the Coupa requisition number.
211
- 12. Given a submitted requisition, the requester receives an email naming both the requisition number and the Coupa requisition number.
212
- 13. Given the portal session is lost while a requisition is being entered, entry point B captures a screenshot, signs in again, retries the same requisition at most twice, and then records it as failed with the reason.
213
- 14. Given a third consecutive system exception, entry point B stops the run, leaves the untaken items on the queue, and alerts purchasing operations with the three reasons.
214
- 15. Given the mail server is unavailable after a requisition was created, the item keeps its Coupa requisition number, is recorded as failed with reason `notification-not-sent`, and no second requisition is created.
215
- 16. Given a completed run, the summary sheet gains one row with items taken, created, rejected by reason and failed, and purchasing operations receives the same figures by email.
216
- 17. Given three robots taking items at the same time, each requisition is worked exactly once.
217
-
218
- ## Complexity
219
-
220
- medium
221
-
222
- ## Tags
223
-
224
- purchasing, requisition, coupa, excel, queues, producer-consumer, transactional, email
@@ -1,151 +0,0 @@
1
- <!-- UIPATH-AUTOMATION-GENOME: component | This file is a build specification for one UiPath automation project.
2
- To build it, invoke the uipath-genome skill (Execute mode): it asks the configuration questions,
3
- then invokes the skills referenced in Build With. Do NOT execute these steps directly, and do NOT
4
- start from a Build With skill. -->
5
-
6
- # Genome: Salesforce Accounts and Contacts
7
-
8
- > Creates the account Get Cloudy in Salesforce Lightning through the browser, adds two contacts to it and logs a call on one of them.
9
-
10
- > **This is a UiPath automation blueprint.** Do not execute these steps directly. Build it with the **uipath-genome** skill, which hands each part to the skill listed in **Build With** below.
11
-
12
- ## Overview
13
-
14
- Completes the hands-on steps of the Trailhead module "Accounts and Contacts for Lightning Experience" in a Salesforce org by driving the Lightning web interface as a learner would. It creates the account Get Cloudy with its phone, account number, site, type, industry and billing city and state. It then adds the contacts Alan Johnson and Leung Chan from that account's page, opens Leung Chan's record and logs a call with a short comment. Every record value is fixed in the automation, so each run enters the same data. It serves a Trailhead learner, or a demonstration of browser automation on Lightning *[Inferred]*.
15
-
16
- The run starts as a job with no input and works in a browser already signed in to the org. It attaches to the open Salesforce tab, or opens the org's home page when no such tab is open, and never signs in itself. Nothing on screen is confirmed beyond finding the next element. The run writes one log line at its start and one after the last record is saved.
17
-
18
- ## Target Applications
19
-
20
- | Application | Role | Notes |
21
- |-------------|------|-------|
22
- | Salesforce Lightning Experience | Output target | Web interface of the org in Configuration Question 1, opened in the browser of question 2 with a session already signed in (question 3). Pages used: the Accounts tab, the New Account form, the account record page with its New Contact action and contact cards, the New Contact form, the contact record page with its Log a Call action. Needs an interactive desktop session, since the browser is driven on screen. |
23
-
24
- ## Build With
25
-
26
- | Step | Skill | Rationale |
27
- |------|-------|-----------|
28
- | Steps 1–7 | `uipath-rpa` | Browser UI automation of Salesforce Lightning in one browser session, with the source's Object Repository targets carried over. The source creates every record through the user interface; an Integration Service connector or an API workflow would create them through the API, which changes the automation rather than rebuilding it. |
29
-
30
- ## Platform Dependencies
31
-
32
- No Orchestrator or Integration Service resources required.
33
-
34
- ## Interface
35
-
36
- Runs unattended with no arguments; outputs are the side effects listed in Workflow.
37
-
38
- ## Configuration Questions
39
-
40
- 1. Which Salesforce org does the run work in — the Lightning home page it opens when no org tab is open, and the Lightning address under which an open tab is accepted? (setting; default: home page `https://<ORG_DOMAIN>.lightning.force.com/lightning/page/home`; open tabs accepted under `https://<ORG_DOMAIN>.lightning.force.com/lightning`)
41
- 2. Which browser does the run use? (setting; default: Chrome)
42
- 3. How does the run get a signed-in Salesforce session, and as which user? (setting; default: the browser's existing signed-in session, as the source expects — no sign-in step and no credential asset; a sign-in instead needs one credential asset for the Salesforce user)
43
-
44
- ## Workflow
45
-
46
- Each value below is entered by clicking its field, emptying it, then typing the value.
47
-
48
- 1. **Trigger** (input: none; output: start log line): Started as a job with no arguments, in an interactive desktop session. Writes the information log line `Starting Trailhead 'Accounts and Contacts for Lightning Experience' automation`.
49
- 2. **Attach to Salesforce in the browser** (input: org address — question 1; output: the org's Lightning tab, in front):
50
- a. Use the open browser tab whose title contains `Salesforce` and whose address starts with the org's Lightning address; when no such tab is open, open the browser at the org's Lightning home page.
51
- b. Do not sign in: the tab must already hold a signed-in session (question 3).
52
- c. Steps 3–6 act in this one tab and bring it to the front before every action.
53
- d. When the run ends, close the browser only when this step opened it; an attached tab stays open.
54
- 3. **Create the account Get Cloudy** (input: none, values fixed below; output: saved account Get Cloudy, its record page open):
55
- a. Open the Accounts tab from the navigation bar.
56
- b. Choose New; the New Account form opens.
57
- c. Set Account Name to `Get Cloudy`, Phone to `<ACCOUNT_PHONE>`, Account Number to `117` and Account Site to `Single Location`.
58
- d. Type picklist (showing `--None--`): open it and pick the option labelled `Customer - Direct`.
59
- e. Industry picklist (showing `--None--`): open it and pick the option labelled `Consulting`.
60
- f. In the Billing Address group, set Billing City to `Reno` and Billing State/Province to `NV`; street, postal code and country stay empty.
61
- g. Save the form. Salesforce opens the new account's record page, where step 4 acts.
62
- h. The run does not look for an existing Get Cloudy account first: every run creates a new one.
63
- 4. **Add the contact Alan Johnson** (input: Get Cloudy's record page; output: saved contact Alan Johnson; an empty contact form open):
64
- a. On the account's record page, choose New Contact. The form opens from the account, which links the contact to Get Cloudy; the run never enters the account in the form *[Inferred]*.
65
- b. Set First Name to `Alan`, Last Name to `Johnson`, Title to `Sales Manager`, Phone to `<CONTACT_PHONE>` and Email to `alan@gogetcloudy.com`.
66
- c. Choose Save & New: Alan Johnson is saved and an empty contact form takes its place, still linked to Get Cloudy *[Inferred]*.
67
- 5. **Add the contact Leung Chan** (input: the empty contact form; output: saved contact Leung Chan; Get Cloudy's record page open):
68
- a. Wait 1 second for the new form to settle, then set First Name to `Leung`.
69
- b. Set Last Name to `Chan`, Title to `Marketing Manager` and Email to `leung@gogetcloudy.com`; Phone stays empty.
70
- c. Save the form; the run is back on Get Cloudy's record page.
71
- 6. **Log a call on Leung Chan** (input: Get Cloudy's record page; output: a call logged on Leung Chan's record):
72
- a. Open Leung Chan's contact record from the contact card named `Leung Chan` on the account's page.
73
- b. On the contact's record page, choose Log a Call. Act on this page's visible button: the tab still holds a hidden Log a Call button from the account page *[Inferred]*.
74
- c. Set Comments to `Discussed account setup and confirmed contact details.`; every other field of the call keeps what Salesforce fills in.
75
- d. Save the call.
76
- 7. **Output** (input: none; output: completion log line): Writes the information log line `Trailhead unit steps completed: account 'Get Cloudy' created with contacts Alan Johnson and Leung Chan, and a call was logged on Leung Chan's record` and ends. The run returns nothing; its results are the account, the two contacts and the logged call in Salesforce.
77
-
78
- ## Business Rules
79
-
80
- No business rules beyond the Workflow substeps.
81
-
82
- ## Error Handling
83
-
84
- ### Step 2: Attach to Salesforce in the browser
85
- - Browser not signed in: the run has no sign-in step. The org's sign-in page is outside the org's Lightning address, so the first action of step 3 finds no tab, fails after its 30-second search and the job ends faulted *[Inferred]*.
86
-
87
- ### Step 5: Add the contact Leung Chan
88
- - New form after Save & New: a fixed 1-second wait before the first field is typed; no other step adds a wait of its own.
89
-
90
- ### Step 6: Log a call on Leung Chan
91
- - Two Log a Call buttons in the tab: the action has to take the visible one on the contact's page. Taking the account page's hidden one fails the step, or logs the call on the account instead of on Leung Chan *[Inferred]*.
92
-
93
- ### Global
94
- - Every UI action waits for the page to become interactive and searches up to 30 seconds for its element, pausing 0.2 seconds before and 0.3 seconds after acting.
95
- - No step confirms a save (no message or record check). Finding the next element is the only sign the previous save worked.
96
- - Unhandled exception: no step catches or retries a failure. The first failed action ends the job faulted, without the completion log line. Records saved before the failure stay in Salesforce. A rerun starts again at step 3 and creates another Get Cloudy account and new contacts; whether the org's duplicate rules warn about them or block them depends on the org *[Inferred]*.
97
- - UI self-healing of a target that is not found follows the job's Healing Agent setting in Orchestrator *[Inferred]*.
98
- - Browser dialogs are not dismissed automatically; the pages used raise none.
99
-
100
- ## Transactional Shape
101
-
102
- Not transactional: the run is one unit of work — one fixed account with its two contacts and one logged call, entered once per run from values fixed in the automation; nothing is iterated.
103
-
104
- ## Acceptance Criteria
105
-
106
- 1. Given a browser tab signed in to the configured org, a run creates an account named Get Cloudy with Phone `<ACCOUNT_PHONE>`, Account Number 117, Account Site Single Location, Type Customer - Direct, Industry Consulting, Billing City Reno and Billing State/Province NV, and with billing street, postal code and country empty.
107
- 2. After the run, Get Cloudy has the contact Alan Johnson with Title Sales Manager, Phone `<CONTACT_PHONE>` and Email alan@gogetcloudy.com.
108
- 3. After the run, Get Cloudy has the contact Leung Chan with Title Marketing Manager, Email leung@gogetcloudy.com and no phone, and Alan Johnson's values were saved before any of Leung Chan's were typed.
109
- 4. After the run, Leung Chan's record shows one logged call whose comment reads exactly `Discussed account setup and confirmed contact details.`; neither Get Cloudy nor Alan Johnson gets a call from the run.
110
- 5. Given a browser tab already open on the org, the run works in that tab and leaves it open at the end.
111
- 6. Given no open tab on the org, the run opens the browser at the org's Lightning home page and closes it at the end.
112
- 7. The job log holds the start line `Starting Trailhead 'Accounts and Contacts for Lightning Experience' automation` first and the completion line quoted in step 7 last, both at information level.
113
- 8. When an element is not found within 30 seconds, the job ends faulted without the completion log line, and the records saved before that action remain in Salesforce.
114
- 9. A second run creates a second Get Cloudy account with its own two contacts and call; it does not reuse the first run's records.
115
-
116
- ## Complexity
117
-
118
- simple
119
-
120
- ## Tags
121
-
122
- crm, salesforce, salesforce-lightning, trailhead, chrome, browser-automation, data-entry, object-repository
123
-
124
- ## Source Map
125
-
126
- | Row | Source artifact | Notes |
127
- |-----|-----------------|-------|
128
- | Source framework | UiPath — Studio 26.0, project schema 4.0, `targetFramework: Windows`, C# expressions; packages `UiPath.System.Activities` 26.6.1, `UiPath.UIAutomation.Activities` 26.10.2 | Process project (`outputType: Process`), unattended (`isAttended: false`) with `requiresUserInteraction: true` |
129
- | Source export | `<SOURCE_DIR>/SalesforceAccountsAndContacts` — project `SalesforceAccountsAndContacts`, projectId `<PROJECT_ID>`, projectVersion 1.0.0 | Not in a git repository |
130
- | UI targets | UiPath: Object Repository store `.objects/` — application `Salesforce Lightning_App` 1.0.0, screen `Salesforce Lightning` | Every UI action references the store; no inline-only targets. Carried over at execution, confidence high (captured against the live org) |
131
- | Project settings | UiPath: the UI Automation and System settings files under `.settings/Release/` | Read for the Release (run) profile: timeout 30 s, wait for ready Interactive, delays 0.2 s before / 0.3 s after, click before typing Single, empty field SingleLine, clipboard typing Never, scope opens if not open and closes only if opened by it, no dialog dismissal. `Debug` and `Design` profiles not used |
132
- | Inventory | 1 XAML workflow (`Main.xaml`), 0 coded workflows, 0 test cases, 0 data files; 30 activities: 1 browser scope, 27 UI actions (9 clicks, 16 type-intos, 2 picklist selections), 2 log lines; Object Repository: 1 application, 1 screen, 22 elements, all used; 0 login accounts (signed-in session) | `.templates/` and `.entities/` empty |
133
- | Not covered | none | The one entry point is the whole Workflow |
134
- | Excluded | UiPath: Object Repository element `Accounts Nav Link` | Orphan: its parent node and the folders above it have no node files; no workflow references it. Generated or cache folders skipped: `.local/`, `.storage/`, `.screenshots/`, `.tmh/`, `.project/` |
135
- | Author notes | UiPath: `AGENTS.md`, `.claude/rules/project-context.md` | Used for the module name (also in the log text) and the hidden Log a Call note. `project-context.md` matches the Object Repository. `AGENTS.md` is stale: it describes an application "Chrome HTML Forms" with one element that `.objects/` no longer holds |
136
- | Inferred | Overview audience; 4a and 4c (contact linked to the account by the form opened from it, kept by Save & New); 6b (hidden button); Error Handling Step 2 (failure when not signed in), Step 6 (wrong button), Global (duplicate rules, healing semantics) | Each turns on Salesforce or package behaviour the project does not hold |
137
- | Verification | UiPath: `Main.xaml` | No source defect arose: one linear sequence with no condition, handler, flag or result binding. `Main.xaml` read in full through the designer-noise filter; the raw file checked for variables, arguments, handlers, retries, verifications, annotations and invocations — none |
138
- | Test coverage | none | No test project, test case or variation file |
139
- | Related resources | none | User gave none |
140
-
141
- ### Steps
142
-
143
- | Step | Source objects | Data sets | Captures | Notes |
144
- |------|----------------|-----------|----------|-------|
145
- | 1 | `Main.xaml` | none | 0 | Log line `LogMessage_1`; the only entry point (`project.json`, `entry-points.json`), no arguments |
146
- | 2 | `Main.xaml` | none | 0 | Browser scope `NApplicationCard_1`, attach by instance; open-if-not-open and close-only-if-opened come from the Project settings row; the scope's healing behaviour defers to the job |
147
- | 3 | `Main.xaml` | none | 0 | `NClick_1`, `NClick_2`, `NTypeInto_1`–`NTypeInto_6`, `NSelectItem_1`, `NSelectItem_2`, `NClick_3`; values are activity literals |
148
- | 4 | `Main.xaml` | none | 0 | `NClick_4`, `NTypeInto_7`–`NTypeInto_11`, `NClick_5`; the contact form's field targets sit in the related-list create panel, which is the basis for the account link inferred in 4a and 4c |
149
- | 5 | `Main.xaml` | none | 0 | `NTypeInto_12`–`NTypeInto_15`, `NClick_6`; `NTypeInto_12` carries the 1-second delay before; no phone action for this contact |
150
- | 6 | `Main.xaml` | none | 0 | `NClick_7`, `NClick_8`, `NTypeInto_16`, `NClick_9`. The Log a Call target takes the second matching button by position among interactive elements; `project-context.md` attributes the first match to a hidden copy the account page leaves in the tab. The target is consistent with that note but cannot be verified offline (6b *[Inferred]*). The position depends on the tab's history: an attached tab that visited other record pages may hold a different number of copies |
151
- | 7 | `Main.xaml` | none | 0 | Log line `LogMessage_2` |
@@ -1,98 +0,0 @@
1
- # Authoring Guide — genome from a description
2
-
3
- Turn a user's free-form automation description, or a goal the agent proposes a scenario for, into a genome. User describes or picks; agent infers, fills UiPath specifics, writes. Content rules and templates: [genome-format-guide.md](genome-format-guide.md).
4
-
5
- ## Step 1 — Receive the description
6
-
7
- Accept anything from one sentence to several pages. Do not ask the user to elaborate before attempting extraction.
8
-
9
- - **One sentence:** infer what you can, then ask one focused round of follow-ups for the largest gaps.
10
- - **Several paragraphs:** extract methodically; follow-ups often unnecessary.
11
- - **Contradictions:** name the specific conflict in the follow-up round. Do not guess which requirement wins.
12
- - **Existing documents (SOP, PDD, process map, transcript):** treat the document as the description — when the user asked for a genome or blueprint; otherwise it is `uipath-planner`'s ([SKILL.md § Mode Detection](../SKILL.md)).
13
- - **A goal, not a process** (a self-paced workshop, a demo, trying a product or an application): propose scenarios first (Step 1a); the picked scenario is the description.
14
-
15
- ## Step 1a — Propose scenarios for a goal
16
-
17
- 1. **Ask one round:** one `AskUserQuestion` batch of two multi-select questions, each skipped when the request already answers it.
18
- - **Products to exercise:** RPA, agents, orchestration (Maestro Flow, BPMN, Case), document extraction, human review and apps.
19
- - **Systems within reach, grouped by the setup they need:** none (local files, Excel, public APIs); a tenant connection (mail, chat, a SaaS system); an application installed or hosted for the user (SAP, an internal web application).
20
-
21
- Group the systems by setup because every connection, account or installation is one more thing that can fail before the scenario runs; the grouping lets the user trade reach against setup.
22
- 2. **Propose up to three scenarios** built for the answers, using only the systems within reach plus sources that need no setup. Each is a card:
23
- - storyline, one sentence: what arrives, what is decided or done, where the result lands
24
- - Components table, `# | Component | Type | Skill | Summary`, skills per Step 5 and [skill-mapping-guide.md](skill-mapping-guide.md); one row makes a component genome
25
- - applications and the setup each needs (connection, account, installation)
26
- - input source (item 3)
27
- - what it exercises: products and skills
28
-
29
- Cover different shapes of [skill-mapping-guide.md § Common Combinations](skill-mapping-guide.md) where the answers allow — one skill on one application, no UI application, several skills across applications — so the pick sets the scope while complexity is still inferred (Step 3). Invent the storyline for the answers: the combinations and [assets/examples/](../assets/examples/) give shapes and depth, not stories. Present the cards as one single-select `AskUserQuestion`, each card in its option's preview; the user merges or amends cards through Other.
30
- 3. **An invented scenario names where its input comes from:** a public source, sample files the build writes as data files, or a generator component in the Components table. A described process brings its inputs; an invented one has none until the scenario gives them. The genome names the source in Target Applications (Actors and Systems in a process genome), and the acceptance criteria take their inputs from it.
31
- 4. **The pick is the description.** Continue at Step 2 with the chosen, merged or amended card.
32
-
33
- ## Step 2 — Choose the level
34
-
35
- Count the buildable projects the description implies and apply [genome-format-guide.md § Two Levels](genome-format-guide.md). Process-genome signals: "end-to-end", "across departments", "the flow kicks off the robot then the agent", "human approval for days", separate schedules or triggers for different parts, more than one deployable unit named.
36
-
37
- ## Step 3 — Infer complexity
38
-
39
- Never ask ([genome-format-guide.md § Complexity](genome-format-guide.md)). Signals:
40
-
41
- | Signal | Complexity |
42
- |---|---|
43
- | One target app, straightforward input-to-output, single sentence or paragraph | simple |
44
- | Multiple systems, field mappings, business rules, conditional logic, explicit "retry" or "exception handling", scheduled or event trigger, "multiple departments" | medium |
45
- | Multi-phase workflow, human approval or escalation, several integrations, orchestration, multiple deployable units | complex |
46
-
47
- "Read Excel, fill a web form" stays simple even when described in detail. A human approval step weighs toward complex without deciding the level alone: the level is where most signals land. It forces a process genome when the approval lives outside the automation.
48
-
49
- ## Step 4 — Extract
50
-
51
- From the description, extract: target applications, human actors, workflow steps in order, business rules, error scenarios, input and output data, triggers and schedules, hardcoded values (paths, addresses, thresholds, names), and:
52
-
53
- - **Who signs in.** Every persona or account that logs into a target system (administrator, recruiter, integration user, a proxied approver) is one credential asset in Platform Dependencies ([genome-format-guide.md § Platform Dependencies](genome-format-guide.md)).
54
- - **What varies per scenario.** When the description implies data-driven runs (per country, per organisation type, per integration, per worker), separate the fields that change per row from the constants; the row schema is what the Interface of a test component lists ([genome-format-guide.md § Interface](genome-format-guide.md)), the constants go to configuration.
55
- - **Whether the application is reachable at build time.** Note it; execution captures UI targets live when it is and ships placeholders when it is not (an authored genome has no source target catalog).
56
- - **What the unit of work is.** When the description iterates over items (each invoice, each row, each ticket, each file), name the item, its identifying reference, the daily volume, what produces the items and what consumes them as described, where they live, whether several robots or several sources are involved, and which other granularities are viable; when items are handed on again as items of their own (a second stage, on its own schedule or robot, consumes what the first produces) or several independent item streams exist, each is its own flow — an item's children (a mail's attachments, a file's rows) are a level of that item, not a flow; this is the Transactional Shape ([transactional-shape-guide.md](transactional-shape-guide.md)) — it describes the as-is and lists the split options with their evidence; the split itself is chosen at execution. A run that succeeds or fails as one has none — the stub.
57
-
58
- ## Step 5 — Suggest platform capabilities
59
-
60
- Add these even when the user did not name them:
61
-
62
- | User mentions | Add |
63
- |---|---|
64
- | PDFs, scanned documents, forms | Document Understanding activities in `uipath-rpa` step; `uipath-ixp` component when custom extraction model needed |
65
- | Clicking, typing, reading a screen, desktop app | UI automation in `uipath-rpa` |
66
- | REST APIs, connectors, SaaS systems | Integration Service connector activities (`uipath-rpa`) or `uipath-api-workflow` component when no UI involved |
67
- | Many items processed independently, retries, resilience, several robots | Transactional Shape with the As-is, the split options and the evidence ([transactional-shape-guide.md](transactional-shape-guide.md)); an Orchestrator queue under Platform Dependencies only when the description itself shares items across robots or runs — otherwise the store follows the split chosen at execution, not imposed |
68
- | Coordinating several automations, waiting on events | `uipath-maestro-flow` (short-lived) or `uipath-maestro-bpmn` (long-running, human lanes) coordinator component |
69
- | Judgement, classification, summarisation, free-text decisions | `uipath-agents` component |
70
- | Human review, approval, sign-off | Human-in-the-loop checkpoint in coordinator; actor row in Actors and Systems |
71
- | Screen for end users, dashboard | `uipath-coded-apps` component |
72
- | Several automations or test suites drive the same application's screens | One `uipath-rpa` library component (screens and shared actions, Interface as per-workflow argument tables) plus consumer components; process genome states the library builds and packs first |
73
- | Regression or test scenarios, "per release", "verify that", data-driven cases | One `uipath-rpa` test-case-group component per business area with data variations, all folders of the single test project ([genome-format-guide.md § Two Levels](genome-format-guide.md) rule 1); Test Manager under Platform Dependencies (`uipath-test`), never in Build With |
74
- | Approvals performed as another user, "proxy as", "impersonate", "on behalf of" | Library step that switches user and stops the switch afterwards; one credential asset per persona that can be proxied |
75
-
76
- ## Step 6 — Ask follow-ups (bounded)
77
-
78
- Group every gap into one message per round. State what you already know so the user does not repeat it. Rounds by complexity: simple 0-1, medium 1-2, complex 2-3. A scenario picked from proposals (Step 1a) gets none: the agent invented every detail, so no gap is left that only the user can fill, and the values left open are Configuration Questions. After the last round, generate with defaults and stubs; never loop.
79
-
80
- Ask only for gaps that change the build: missing target system, unknown trigger, undefined decision outcome, unspecified failure behaviour for a critical step, unclear ownership of a handoff, which persona signs in for a scenario when several are implied, whether items must be shared across robots or survive a run failure when the description leaves it open (evidence for the Transactional Shape's split options; the split itself is chosen at execution), and whether the UI application is reachable at build time (live capture) or not (placeholders, indicated later). Do not ask for values a Configuration Question can carry as a default.
81
-
82
- ## Step 7 — Generate
83
-
84
- Populate every template section per the format guide's population matrix. Build With rows come from the skill mapping guide, one skill per step. Business rules and error handling attach to the step where they fire. The Transactional Shape classifies those rules and handlers into per-item outcomes, describes the as-is roles, store and coordination, and lists the split options for the unit of work and each alternative unit, with what each requires and changes and the evidence — or carries its stub ([transactional-shape-guide.md](transactional-shape-guide.md)). Acceptance criteria derive one-to-one from steps, rules, transformations, and handlers.
85
-
86
- Process genomes: write the process file first (Components table, Process Map, Handoffs), then each component genome with its `Part of:` line and an Interface matching the Handoffs row.
87
-
88
- Interface by component type ([genome-format-guide.md § Interface](genome-format-guide.md)): a library component gets one argument table per public workflow; a test component gets its per-scenario row schema and, separately, its constants; credentials appear as asset names, never values. Deployment records how UI targets will be obtained ("captured at build time against <environment>" or "placeholders until indicated") and that libraries pack before their consumers.
89
-
90
- ## Step 8 — Write, then offer edits
91
-
92
- Write the file named by the slug rule ([genome-format-guide.md § File Naming and Location](genome-format-guide.md)), then check it:
93
-
94
- ```bash
95
- python3 "<SKILL_DIR>/scripts/check-genome.py" <process|component> "<GENOME_MD>" --profile strict
96
- ```
97
-
98
- Use `python` on Windows. A process genome takes the checker to every component genome it links. Fix every `FAIL` line and run it again, at most three rounds, then offer edits ([genome-format-guide.md § Write, Then Offer Edits](genome-format-guide.md)), naming what is left. Edits: [editing-guide.md](editing-guide.md).
@@ -1,57 +0,0 @@
1
- # Editing Guide — change a genome in place
2
-
3
- Content rules for what an edit writes: [genome-format-guide.md](genome-format-guide.md), and for an extracted genome [extracted-genome-guide.md](extracted-genome-guide.md). Edits are targeted and in place, never a regeneration ([genome-format-guide.md § Write, Then Offer Edits](genome-format-guide.md)).
4
-
5
- ## Edits
6
-
7
- ### Any genome
8
-
9
- | Request | Update |
10
- |---|---|
11
- | "Add detail to step X" | Workflow step X; add acceptance criteria if detail is testable |
12
- | "Change complexity" / "complexity should be higher or lower" | Complexity section, then section depth per population matrix |
13
- | "Add/remove an application" | Target Applications, Workflow, Build With, Acceptance Criteria |
14
- | "Use a different skill for step X" | Build With row and rationale, validated against mapping guide |
15
- | "Split this into components" | Promote to process genome: create process file, move component content into component files, add Handoffs |
16
- | "Merge these two components" / "split this one" | Adjust Components, Handoffs, component files; re-check Interface agreement |
17
- | "Scenario X signs in as persona Y" | Platform Dependencies (credential asset for Y), test component's row schema (asset name per row), Configuration Questions |
18
- | "Remove the inferred flags" | Delete every `*[Inferred]*` — user confirmed the content |
19
- | "Make it transactional" / "drop the transactional shape" | Transactional Shape (unit of work, As-is, outcomes, split options, evidence) or its stub; Platform Dependencies (the store the As-is names); Configuration Questions (retry counts) |
20
- | "Step X should be a business exception" | Transactional Shape outcomes table; the rule under Business Rules for step X; an acceptance criterion for the recorded reason |
21
- | "One row per transaction instead of one file" (change the unit of work) | Transactional Shape (Unit of work, Alternative units of work, As-is, outcomes, split options); Interface; Handoffs data passed; Platform Dependencies (store); Acceptance Criteria (duplicate and retry cases) |
22
- | "Split the dispatcher into its own component" / "use one queue" / "apply the REFramework" / "drop the ledger" | Not a genome edit: the split, the store, the template and the fate of the source's coordination stores are execution's configuration answers, chosen from the Split options ([transactional-execution-guide.md § Split questions](transactional-execution-guide.md)). Edit the Transactional Shape only when what it describes changes: in an authored genome the described process itself — a new source, a new item kind, items that must now be shared — and then the As-is, the Evidence and the options; in an extracted genome its As-is or Evidence, when wrong or incomplete |
23
-
24
- ### Extracted genomes
25
-
26
- | Request | Update |
27
- |---|---|
28
- | "This step is wrong / missing" | Workflow, then Build With, Acceptance Criteria, Source Map |
29
- | "Rename / reorder / remove steps" | Workflow and Source Map together, so every step still names its source objects |
30
- | "Drop the Source Map" | Remove section from every file — genome is being shared as a blueprint; say target and data migration will no longer be possible from it |
31
- | "Here is the PDD too" | [extraction-guide.md](extraction-guide.md) Step 3, **Related resources** |
32
- | "Is this really a defect?" / "check it against the source" | Rerun both passes of [defect-verification-guide.md](defect-verification-guide.md) for that finding, and re-mark it in the body and its Source Map row by what the passes show |
33
- | "Fix this defect in the rebuild" / "keep the source's behaviour" | A ruling: written at the step after the source fact, cited in the defect index's Rebuild follows cell, and carried into the step's Workflow lines, criteria and Source Map row ([extracted-genome-guide.md § Source Defects](extracted-genome-guide.md)) |
34
- | "Also translate what is not covered", or an unused part | § Partial Re-extraction with the objects of the Source Map's `Not covered` or `Unused` row the user names |
35
- | "The source changed" / "finish the unread parts" | § Partial Re-extraction with the changed or unread objects. Rerun extraction from its Step 1 ([extraction-guide.md](extraction-guide.md)) only when the components themselves changed (projects or root processes added, removed or regrouped); preserve user edits the source does not contradict and say which were kept |
36
-
37
- ## Check after every edit
38
-
39
- After every edit, run the check again before answering:
40
-
41
- ```bash
42
- python3 "<SKILL_DIR>/scripts/check-genome.py" <process|component> "<GENOME_MD>" --profile strict
43
- ```
44
-
45
- Use `python` on Windows. A process genome takes the checker to every component genome it links. An extracted genome takes the checks [extraction-guide.md](extraction-guide.md) Step 6b runs against its source. Fix every `FAIL` line and run it again, at most three rounds, then name what is left.
46
-
47
- ## Partial Re-extraction
48
-
49
- Rewrites only the steps whose source objects changed or were never read: finishing a run cut short, translating what the Source Map leaves not covered, and bringing a genome back in line with a source that changed after extraction.
50
-
51
- 1. **The object list.** For a run cut short: the objects of the `Not read (run cut short)` rows. For what is not covered: the objects of the `Not covered` row the user names. For a changed source: the objects that differ from the source identity the Source Map records — `git diff --name-status <COMMIT>..HEAD` for a source in a repository; `diff -rq "<OLD_EXPORT>" "<NEW_EXPORT>"` over the object files for a new export, leaving out the source guide's Exclusions. When the old export is gone, compare the new inventory with the Source Map's step tables: an object no row names is new, a row whose object is missing is gone, and every other object is re-read, since nothing shows what changed.
52
- 2. **Map objects to steps** through the Source Map's step tables. A new object is placed by the call graph ([extraction-guide.md](extraction-guide.md) Step 4), and its caller's step changes too. An object nothing in the genome calls becomes new steps, numbered after the last one, in the component the user names — the library that holds the shared workflows, or a component of its own. A row whose object is gone loses its step.
53
- 3. **Read** the listed objects whole with the source guide, plus each caller's bindings to them, and verify every finding they raise or that rests on them ([defect-verification-guide.md](defect-verification-guide.md)).
54
- 4. **Rewrite only the mapped steps** — with their substeps, Business Rules, Error Handling entries, Acceptance Criteria and Source Map rows — add the new steps, and remove the gone ones with their criteria. Every other line stays as written, user edits included. A renumbering updates every reference to the moved steps, Handoffs and pointers included. A new finding takes an id no row of its component's Source Map uses.
55
- 5. **Close.** Update the Source Map's source identity (commit, or export identity and inventory counts), remove the `Not read` rows and the `Not covered` entries the pass completed, then run [extraction-parts-guide.md § Reconciliation](extraction-parts-guide.md), the extraction guide's Step 6b check and its Step 7.
56
-
57
- A list above one part's budget runs in parts ([extraction-parts-guide.md](extraction-parts-guide.md)), the parts taking the listed objects.