@uipath/skills 1.207.0-preview.2139 → 1.207.0-preview.2143

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 (31) hide show
  1. package/CODEOWNERS +8 -0
  2. package/README.md +1 -0
  3. package/assets/skill-status.json +8 -0
  4. package/assets/uip-catalog-snapshot.json +13 -0
  5. package/package.json +1 -1
  6. package/skills/uipath-ontology/SKILL.md +316 -0
  7. package/skills/uipath-ontology/references/artifacts-guide.md +53 -0
  8. package/skills/uipath-ontology/references/document-guide.md +128 -0
  9. package/skills/uipath-ontology/references/entity-guide.md +162 -0
  10. package/skills/uipath-ontology/references/errors-guide.md +70 -0
  11. package/skills/uipath-ontology/references/mapping-yarrrml-guide.md +260 -0
  12. package/skills/uipath-ontology/references/owl-patterns-guide.md +377 -0
  13. package/skills/uipath-ontology/references/relationships-guide.md +97 -0
  14. package/skills/uipath-ontology/references/shacl-patterns-guide.md +220 -0
  15. package/skills/uipath-ontology/references/summary-context-guide.md +61 -0
  16. package/skills/uipath-planner/SKILL.md +2 -2
  17. package/skills/uipath-planner/references/shared/skill-mapping-guide.md +1 -0
  18. package/skills/uipath-planner/scripts/check-genome.mjs +1 -0
  19. package/skills/uipath-platform/SKILL.md +2 -1
  20. package/skills/uipath-platform/references/orchestrator/end-to-end-readiness-guide.md +68 -0
  21. package/skills/uipath-platform/references/orchestrator/manage-sessions.md +3 -3
  22. package/skills/uipath-platform/references/orchestrator/run-jobs.md +1 -1
  23. package/skills/uipath-platform/references/orchestrator/triggers-and-webhooks.md +1 -1
  24. package/skills/uipath-rpa/references/cli-reference.md +2 -0
  25. package/skills/uipath-solution/SKILL.md +1 -1
  26. package/skills/uipath-solution/references/develop-solution.md +4 -2
  27. package/skills/uipath-solution/references/pack-and-deploy.md +4 -0
  28. package/skills/uipath-solution/references/scenarios/local-entity-file-field.md +30 -0
  29. package/skills/uipath-solution/references/scenarios/ontology-solution.md +37 -0
  30. package/skills/uipath-solution/references/scenarios.md +4 -0
  31. package/version-manifest.json +1 -1
@@ -0,0 +1,220 @@
1
+ # SHACL Patterns Reference — Constraints Artifact
2
+
3
+ Artifact type: `constraints` | Media type: `text/turtle` | File: `{name}-constraints.ttl` (or `{name}-constraints-{area}.ttl` when split by area)
4
+
5
+ **Optional.** The ontology service stores a constraints file without parsing or using it. Write one only when the user supplies one or asks for it; otherwise record the rules in the schema's `rdfs:comment` text. The rest of this guide applies when a constraints file is written.
6
+
7
+ Check each file with `uip ont artifacts check`, attach it with `uip ont files add`, and let `uip ont validate --local` confirm it against the schema and mapping. Every `sh:targetClass`, `sh:path` and `sh:class` must name a term declared in `{name}.ofn`, and every class needs a shape. A `.ttl` that declares no SHACL shape gets `SHC-011` (WARNING): it is probably another artifact type saved under the wrong extension.
8
+
9
+ ---
10
+
11
+ ## File Header
12
+
13
+ ```turtle
14
+ @prefix ont: <https://ontology.uipath.com/{name}#> .
15
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
16
+ @prefix sh: <http://www.w3.org/ns/shacl#> .
17
+ @prefix shape: <https://ontology.uipath.com/shapes#> .
18
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
19
+ ```
20
+
21
+ ---
22
+
23
+ ## Shape convention — one NodeShape per rule
24
+
25
+ Each constraint is its own named `NodeShape`. This matches the real artifact format and produces specific, readable violation messages.
26
+
27
+ ```turtle
28
+ shape:{ClassMustHaveRule}
29
+ a sh:NodeShape ;
30
+ rdfs:label "{Human description of this rule}" ;
31
+ sh:message "{Violation message shown when this rule fails}" ;
32
+ sh:targetClass ont:{ClassName} ;
33
+ sh:property [ sh:path ont:{ClassName}.{propName} ;
34
+ sh:name "{property label}" ;
35
+ sh:datatype xsd:{type} ;
36
+ sh:minCount 1 ;
37
+ sh:maxCount 1
38
+ ] .
39
+ ```
40
+
41
+ - Shape name: `shape:{ClassName}Must{BehaviorName}` in PascalCase — the rule as a phrase (for example `shape:SalesOrderMustHaveCustomer`)
42
+ - `rdfs:label`: human-readable description of the rule
43
+ - `sh:message`: the violation message displayed to users — write it as a complete sentence
44
+ - Property path uses `{ClassName}.{propName}` — **never** just the prop name
45
+ - Constraints cover rules about data: required, range, pattern, value list, relationship class.
46
+
47
+ ### Every property block carries `sh:name` and `sh:maxCount`
48
+
49
+ `uip ont artifacts check` warns on each `sh:property` block without `sh:name` (`SHC-007`) or `sh:maxCount` (`SHC-006`).
50
+
51
+ 1. `sh:name` is the property's `rdfs:label`. Add it to every block.
52
+ 2. `sh:maxCount 1` goes on every block except a `CHOICE_SET_MULTIPLE` property. Each data property is one entity column, and each relationship is one `RELATIONSHIP` field on the referencing entity, so both hold at most one value per row. The inverse side gets no shape.
53
+ 3. A `CHOICE_SET_MULTIPLE` property holds several values per row: never give it `sh:maxCount 1`. The `SHC-006` WARNING on that block is expected. Leave it, and do not count it as a fix to make.
54
+
55
+ ---
56
+
57
+ ## Property Constraint Patterns
58
+
59
+ ### Required data property
60
+ ```turtle
61
+ sh:property [
62
+ sh:path ont:{ClassName}.{propName} ;
63
+ sh:name "{property label}" ;
64
+ sh:datatype xsd:{type} ;
65
+ sh:minCount 1 ;
66
+ sh:maxCount 1
67
+ ] ;
68
+ ```
69
+
70
+ ### Optional data property
71
+ ```turtle
72
+ sh:property [
73
+ sh:path ont:{ClassName}.{propName} ;
74
+ sh:name "{property label}" ;
75
+ sh:datatype xsd:{type} ;
76
+ sh:maxCount 1
77
+ ] ;
78
+ ```
79
+
80
+ ### Required relationship (exactly one)
81
+ ```turtle
82
+ sh:property [
83
+ sh:path ont:{verbPhrase} ;
84
+ sh:name "{verb phrase label}" ;
85
+ sh:class ont:{TargetClass} ;
86
+ sh:minCount 1 ;
87
+ sh:maxCount 1
88
+ ] ;
89
+ ```
90
+
91
+ An optional relationship drops `sh:minCount 1`.
92
+
93
+ ### Numeric range constraint
94
+ ```turtle
95
+ sh:property [
96
+ sh:path ont:{ClassName}.{amountProp} ;
97
+ sh:name "{property label}" ;
98
+ sh:datatype xsd:decimal ;
99
+ sh:minCount 1 ;
100
+ sh:maxCount 1 ;
101
+ sh:minInclusive 0
102
+ ] ;
103
+ ```
104
+
105
+ ### String pattern constraint
106
+ ```turtle
107
+ sh:property [
108
+ sh:path ont:{ClassName}.{emailProp} ;
109
+ sh:name "{property label}" ;
110
+ sh:datatype xsd:string ;
111
+ sh:minCount 1 ;
112
+ sh:maxCount 1 ;
113
+ sh:pattern "^[^@]+@[^@]+\\.[^@]+$"
114
+ ] ;
115
+ ```
116
+
117
+ ---
118
+
119
+ ## Value list from a choice set
120
+
121
+ A `CHOICE_SET_SINGLE` field holds one of the values of its choice set (`sh:maxCount 1`). The constraint lists those values by name, exactly as the choice set spells them (case-sensitive), with the choice set's value names in the same order.
122
+
123
+ ```turtle
124
+ shape:SalesOrderStatusMustBeListed
125
+ a sh:NodeShape ;
126
+ rdfs:label "Sales order status must be an OrderStatus value" ;
127
+ sh:message "A sales order status must be Open, Shipped or Cancelled" ;
128
+ sh:targetClass ont:SalesOrder ;
129
+ sh:property [ sh:path ont:SalesOrder.status ;
130
+ sh:name "status" ;
131
+ sh:datatype xsd:string ;
132
+ sh:minCount 1 ;
133
+ sh:maxCount 1 ;
134
+ sh:in ( "Open" "Shipped" "Cancelled" )
135
+ ] .
136
+ ```
137
+
138
+ - Read the names with `uip df choice-sets list-values <CHOICE_SET> --local --output json`. Never type them from memory.
139
+ - Use `sh:datatype xsd:string`. The value name is the literal, not an identifier.
140
+ - A `CHOICE_SET_MULTIPLE` field is the same shape without `sh:maxCount 1`: each selected value is one triple, and each must be in the list. Its `SHC-006` WARNING is expected ([rule 3 above](#every-property-block-carries-shname-and-shmaxcount)).
141
+ - When the choice set gains or loses a value, update the `sh:in` list in the same change.
142
+
143
+ ---
144
+
145
+ ## Junction class shapes (many-to-many)
146
+
147
+ A junction class has two required object properties — one to each side of the relationship. Write one shape that enforces both.
148
+
149
+ ```turtle
150
+ shape:{JunctionClass}MustLinkBothSides
151
+ a sh:NodeShape ;
152
+ rdfs:label "{JunctionClass} must link both sides" ;
153
+ sh:message "Each {JunctionClass} record must reference exactly one {SideA} and one {SideB}" ;
154
+ sh:targetClass ont:{JunctionClass} ;
155
+ sh:property [ sh:path ont:{propToSideA} ;
156
+ sh:name "{side A label}" ;
157
+ sh:class ont:{SideA} ;
158
+ sh:minCount 1 ;
159
+ sh:maxCount 1
160
+ ] ;
161
+ sh:property [ sh:path ont:{propToSideB} ;
162
+ sh:name "{side B label}" ;
163
+ sh:class ont:{SideB} ;
164
+ sh:minCount 1 ;
165
+ sh:maxCount 1
166
+ ] .
167
+ ```
168
+
169
+ Use `sh:minCount 1 ; sh:maxCount 1` on both sides — a junction record that is missing either FK is malformed. Add extra `sh:property` blocks for any additional fields on the junction class (e.g. enrolment date, coverage tier) following the standard required/optional patterns above.
170
+
171
+ ---
172
+
173
+ ## Full worked example
174
+
175
+ A complete `SalesOps-constraints.ttl` for the Orders domain: `Customer`, `SalesOrder.customer` (a `RELATIONSHIP`) and `SalesOrder.status` (choice set `OrderStatus`). It is a model to adapt, not a file to copy verbatim.
176
+
177
+ ```turtle
178
+ @prefix ont: <https://ontology.uipath.com/SalesOps#> .
179
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
180
+ @prefix sh: <http://www.w3.org/ns/shacl#> .
181
+ @prefix shape: <https://ontology.uipath.com/shapes#> .
182
+ @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
183
+
184
+ shape:CustomerMustHaveName
185
+ a sh:NodeShape ;
186
+ rdfs:label "Customer must have a name" ;
187
+ sh:message "A customer must declare a name" ;
188
+ sh:targetClass ont:Customer ;
189
+ sh:property [ sh:path ont:Customer.customerName ;
190
+ sh:name "customer name" ;
191
+ sh:datatype xsd:string ;
192
+ sh:minCount 1 ;
193
+ sh:maxCount 1
194
+ ] .
195
+
196
+ shape:SalesOrderMustHaveCustomer
197
+ a sh:NodeShape ;
198
+ rdfs:label "Sales order must have a customer" ;
199
+ sh:message "A sales order must be placed by exactly one customer" ;
200
+ sh:targetClass ont:SalesOrder ;
201
+ sh:property [ sh:path ont:placedBy ;
202
+ sh:name "placed by" ;
203
+ sh:class ont:Customer ;
204
+ sh:minCount 1 ;
205
+ sh:maxCount 1
206
+ ] .
207
+
208
+ shape:SalesOrderStatusMustBeListed
209
+ a sh:NodeShape ;
210
+ rdfs:label "Sales order status must be an OrderStatus value" ;
211
+ sh:message "A sales order status must be Open, Shipped or Cancelled" ;
212
+ sh:targetClass ont:SalesOrder ;
213
+ sh:property [ sh:path ont:SalesOrder.status ;
214
+ sh:name "status" ;
215
+ sh:datatype xsd:string ;
216
+ sh:minCount 1 ;
217
+ sh:maxCount 1 ;
218
+ sh:in ( "Open" "Shipped" "Cancelled" )
219
+ ] .
220
+ ```
@@ -0,0 +1,61 @@
1
+ # Summary and Context Guide
2
+
3
+ Both files are optional. Each is a JSON object. Write at most one summary and one context per ontology. If you are not sure a file adds value, leave it out.
4
+
5
+ | File | Artifact type | Media type |
6
+ |---|---|---|
7
+ | `{name}-summary.json` | `summary` | `application/json` |
8
+ | `{name}-context.json` | `context` | `application/json` |
9
+
10
+ Add them with `uip ont files add`. Pass `--type summary` or `--type context` if the CLI cannot work out the type from the file name. Run `uip ont artifacts check <path>` first (add `--type summary` or `--type context` for a name without the suffix). A summary with a root `@context` fails `SUM-003`: it is a context file.
11
+
12
+ ---
13
+
14
+ ## Summary: `{name}-summary.json`
15
+
16
+ A short description of the ontology for the agent or person who reads it. It is JSON, **not** text: a `.txt` summary is rejected. The top level must be an object (not an array or a string).
17
+
18
+ ```json
19
+ {
20
+ "name": "SalesOps",
21
+ "description": "Customers and the sales orders they place.",
22
+ "classes": [
23
+ { "name": "Customer", "grain": "ONE row per customer." },
24
+ { "name": "SalesOrder", "grain": "ONE row per order." }
25
+ ],
26
+ "relationships": [
27
+ "SalesOrder placedBy Customer (SalesOrder.customer = Customer.Id)"
28
+ ]
29
+ }
30
+ ```
31
+
32
+ Keep it short and take every fact from the confirmed domain model. Do not put anything in it that the schema does not say.
33
+
34
+ ---
35
+
36
+ ## Context: `{name}-context.json`
37
+
38
+ A JSON-LD `@context` that maps short terms to ontology IRIs. The file is a JSON object with a root `@context` key.
39
+
40
+ ```json
41
+ {
42
+ "@context": {
43
+ "@base": "https://ontology.uipath.com/SalesOps#",
44
+ "ont": "https://ontology.uipath.com/SalesOps#",
45
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
46
+ "orderDate": { "@id": "ont:SalesOrder.orderDate", "@type": "xsd:dateTime" },
47
+ "totalAmount": { "@id": "ont:SalesOrder.totalAmount", "@type": "xsd:decimal" },
48
+ "placedBy": { "@id": "ont:placedBy", "@type": "@id" }
49
+ }
50
+ }
51
+ ```
52
+
53
+ Rules:
54
+
55
+ - Root key is `@context`.
56
+ - `@base` is on `https://ontology.uipath.com/`, and matches the schema IRI of this ontology.
57
+ - Declare the `xsd` prefix.
58
+ - Every term has both `@id` and `@type`.
59
+ - A term for a relationship (object property) has `"@type": "@id"`.
60
+ - A term's `@id` uses the ontology prefix (`ont:`).
61
+ - Use only terms that are declared in the schema.
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: uipath-planner
3
- description: "UiPath planner and genome writer: always invoke to extract, author, document, create, update, edit, check or validate an automation genome or blueprint (`*-genome.md`) and for PDD / SDD files (`pdd.md`, `*-sdd.md`). design: PDD or process source (SOP, transcript, .bpmn as design input)→SDD + genome. decompose: multi-project request→plan. author / extract / edit: genome from an idea or SDD, from a UiPath project or solution (.xaml/.cs, .flow, .bpmn, agent.json, caseplan, Workflow.json, uipath.json, .uipx) to document, refactor or migrate, or from another framework's export. Sole case-SDD author. Build from a genome→uipath-genome. `.uipx` lifecycle→uipath-solution. Orchestrator/IS/auth→uipath-platform. Building .xaml/.cs→uipath-rpa; .flow→uipath-maestro-flow; .bpmn→uipath-maestro-bpmn; agent.json/.py→uipath-agents; caseplan.json→uipath-maestro-case. In-place Legacy activity upgrade→uipath-activity-migrator. Quality review→uipath-review."
4
- when_to_use: "'generate an SDD', 'design/architect a UiPath solution'; 'propose a demo scenario'; document a project; 'refactor this process', 'rebuild it on Maestro or Portable' (extract first); a request spanning separate buildable projects; ambiguous 'what should I build'. A PDD always routes here, even for one RPA process. Skip only with no PDD, SDD, genome or existing automation to document, and one project (inline nodes count as one). Flow calling only deployed processes→uipath-maestro-flow."
3
+ description: "UiPath planner and genome writer: always invoke to extract, author, document, create, update, edit, check or validate an automation genome or blueprint (`*-genome.md`) and for PDD / SDD files (`pdd.md`, `*-sdd.md`). design: PDD or process source (SOP, transcript, .bpmn as design input)→SDD + genome. decompose: multi-project request→plan. author / extract / edit: genome from an idea or SDD, from a UiPath project or solution (.xaml/.cs, .flow, .bpmn, agent.json, caseplan, Workflow.json, uipath.json, .uipx) to document, refactor or migrate, or from another framework's export. Sole case-SDD author. Build from a genome→uipath-genome. `.uipx` lifecycle→uipath-solution. Orchestrator/IS/auth→uipath-platform. Building .xaml/.cs→uipath-rpa; .flow→uipath-maestro-flow; .bpmn→uipath-maestro-bpmn; agent.json/.py→uipath-agents; caseplan.json→uipath-maestro-case; an ontology, even from a PDD/SDD→uipath-ontology. In-place Legacy activity upgrade→uipath-activity-migrator. Quality review→uipath-review."
4
+ when_to_use: "'generate an SDD', 'design/architect a UiPath solution'; 'propose a demo scenario'; document a project; 'refactor this process', 'rebuild it on Maestro or Portable' (extract first); a request spanning separate buildable projects; ambiguous 'what should I build'. A PDD always routes here, even for one RPA process, but not an ontology. Skip only with no PDD, SDD, genome or existing automation to document, and one project (inline nodes count as one). Flow calling only deployed processes→uipath-maestro-flow."
5
5
  argument-hint: "[design | decompose | author | extract | edit | interview | check] [target]"
6
6
  user-invocable: true
7
7
  allowed-tools: Bash, Read, Write, Edit, Glob, Grep, WebFetch, WebSearch, AskUserQuestion, Agent, Skill, EnterPlanMode, ExitPlanMode, TaskCreate, TaskUpdate, TaskList
@@ -27,6 +27,7 @@ Every genome component and every workflow step maps to exactly one UiPath build
27
27
  | Document extraction model (IXP): taxonomy, training, model deployment | `uipath-ixp` | "train a model to extract fields from these documents" | IXP project reference, taxonomy files |
28
28
  | Process Mining app | `uipath-process-mining` | "analyse the event log", "process app" | dbt models, process-app data mapping |
29
29
  | MCP server / resource tools | `uipath-mcp-servers` | "expose these as MCP tools" | `uipath`-type MCP server registration |
30
+ | Ontology: OWL schema, SHACL constraints and YARRRML mapping over local Data Fabric entities, packed in the solution | `uipath-ontology` | "an ontology for this domain", "a semantic model over our entities", "classes and relationships the agent can query" | `{name}.ofn`, `{name}-constraints.ttl`, `{name}-mapping.yarrrml.yml`, an Ontology resource in the `.uipx` solution |
30
31
 
31
32
  **Human approval or validation checkpoints** inside a Flow, BPMN process, Case plan, or agent belong to the containing component's skill. Name `uipath-human-in-the-loop` in the Rationale column so the builder consults it for gate design.
32
33
 
@@ -64,6 +64,7 @@ export const VALID_SKILLS = new Set([
64
64
  "uipath-agents", "uipath-functions", "uipath-api-workflow", "uipath-coded-apps",
65
65
  "uipath-connector-builder", "uipath-ixp", "uipath-process-mining", "uipath-mcp-servers",
66
66
  "uipath-solution", "uipath-human-in-the-loop", "uipath-rules",
67
+ "uipath-ontology",
67
68
  ]);
68
69
  export const OPERATE_SKILLS = new Set([ // allowed in Platform Dependencies / Deployment, never in Build With or Components
69
70
  "uipath-platform", "uipath-tasks", "uipath-test", "uipath-admin", "uipath-insights",
@@ -215,6 +215,7 @@ Choose the appropriate operation from the Task Navigation table below. For `uip
215
215
  | **Authenticate / manage tenants** | [references/uip-commands.md](references/uip-commands.md) |
216
216
  | **Set up folders, users, machines** | [references/orchestrator/setup-environment.md](references/orchestrator/setup-environment.md) |
217
217
  | **Give a user or robot account access (pick a standard role)** | [references/orchestrator/choose-roles.md](references/orchestrator/choose-roles.md) |
218
+ | **Offer or plan publish → schedule → run end to end (check robots first)** | [references/orchestrator/end-to-end-readiness-guide.md](references/orchestrator/end-to-end-readiness-guide.md) |
218
219
  | **Run and monitor jobs** | [references/orchestrator/run-jobs.md](references/orchestrator/run-jobs.md) |
219
220
  | **Manage sessions and runtimes** | [references/orchestrator/manage-sessions.md](references/orchestrator/manage-sessions.md) |
220
221
  | **Tenant settings, calendars, audit logs** | [references/orchestrator/tenant-admin.md](references/orchestrator/tenant-admin.md) |
@@ -369,7 +370,7 @@ Every `uip` command accepts:
369
370
 
370
371
  ## Deployment Notes
371
372
 
372
- - **Starting jobs requires runtimes.** If you get error 2818 "no runtimes configured", the target folder needs machine templates with Unattended/Development runtimes assigned.
373
+ - **Starting jobs requires runtimes — check before you offer.** Before proposing to publish, schedule or run anything, check the target folder's runtimes and tell the user which stages can and cannot complete ([end-to-end-readiness-guide.md](references/orchestrator/end-to-end-readiness-guide.md)). Error 2818 "no runtimes configured" means the folder needs machine templates with Unattended/Development runtimes assigned.
373
374
  - **For `uip solution` pack / publish / deploy / activate flows, load [`uipath-solution`](/uipath:uipath-solution).** This skill owns the auth and Orchestrator surface those flows depend on; the solution skill owns the lifecycle commands.
374
375
  - **Fallback: direct REST API.** When CLI tools don't support an operation, use the Orchestrator REST API with the access token from `~/.uipath/.auth`. See [references/orchestrator/orchestrator.md - REST API](references/orchestrator/orchestrator.md).
375
376
  - **Orchestrator rate-limits some endpoints per tenant.** Filtered `jobs list` / `queue-items list` calls are budgeted per minute, and `--export` on `jobs logs` / `audit-logs list` has a quota of 100 per day. The CLI does not retry a 429 (`ErrorCode: rate_limited`). Read [references/orchestrator/api-limits.md](references/orchestrator/api-limits.md) before writing any poller, loop or script over these commands.
@@ -0,0 +1,68 @@
1
+ # End-to-End Readiness: Publish, Schedule, Run
2
+
3
+ Check what the tenant can do **before** offering to take an automation from a built package to a scheduled, running process. Publishing, creating a trigger and running a job have different prerequisites. A tenant often supports the first two and not the third, and the user should hear that before anything is published.
4
+
5
+ ## When to Use
6
+
7
+ - Before offering or agreeing to "publish it and schedule it", "run it every day", "deploy and run it", or any plan that ends in a job running in Orchestrator
8
+ - Before creating a time, queue or API trigger
9
+ - Before reporting that a published automation is scheduled or running
10
+
11
+ ## Rules
12
+
13
+ 1. **Check, then offer.** Run the read-only checks below before proposing the end-to-end plan, not after publishing. Never promise a stage you have not checked.
14
+ 2. **Name each stage's status separately.** Publish, trigger creation and execution are three outcomes. One missing prerequisite blocks only the stages that need it.
15
+ 3. **Explain a gap before acting, with the fix.** Say what is missing, why it matters and what the user (or an admin) has to do, then ask whether to go ahead with the stages that can proceed.
16
+ 4. **Report a stage as done only after confirming it** with the read-back command in [§ Confirm Each Stage](#confirm-each-stage). A created trigger is not a successful run.
17
+
18
+ ## Prerequisites per Stage
19
+
20
+ | Stage | Needs | How to check |
21
+ |---|---|---|
22
+ | Publish | Signed in; a feed that accepts the package type; permission to upload to it | `uip or folders list --output json` (fails when not signed in; pick the destination folder) |
23
+ | Process in a folder | The package published; the folder exists | `uip or processes list --folder-path "<folder>" --output json` |
24
+ | Trigger creation | The process exists in the folder | Same as above. A trigger does **not** need a robot to be created. |
25
+ | Execution (trigger firing or `jobs start`) | A runtime of the type the job will use, assigned to the folder and connected | `uip or folders runtimes "<folder>" --output json`; `uip or sessions unattended list --folder-path "<folder>" --output json` |
26
+ | Execution: package resources | Assets, queues and buckets the package declares exist in the folder | After the process exists: `uip or processes resources <process-key> --output json` (see [run-jobs.md](run-jobs.md)) |
27
+
28
+ ## Check Execution Readiness
29
+
30
+ ```bash
31
+ uip or folders runtimes "<folder>" --output json
32
+ ```
33
+
34
+ Each row of `Data` has `Type`, `Total`, `Connected` and `Available`. Read the row for the runtime type the trigger or job will use (`--runtime-type`; `Unattended` unless the user chose otherwise):
35
+
36
+ | Row | Execution status | Tell the user |
37
+ |---|---|---|
38
+ | `Total` is `0` | **Blocked** | The folder has no runtime of that type, so nothing will run (`jobs start` fails with error 2818 "no runtimes configured"). An admin has to assign a machine (template) with that runtime type to the folder ([setup-environment.md](setup-environment.md)), or the user picks another folder or runtime type that has one. |
39
+ | `Total` > `0`, `Connected` is `0` | **Blocked until a robot connects** | Runtimes are assigned but no machine is connected. Someone has to bring the machine online (sign in its robot / start the service). Jobs wait in `Pending` until then. |
40
+ | `Connected` > `0`, `Available` is `0` | **Will queue** | Robots are connected but busy. Jobs start when one frees up. |
41
+ | `Available` > `0` | **Ready** | — |
42
+
43
+ `uip or sessions unattended list --folder-path "<folder>" --runtime-type <type> --output json` names the machines behind those numbers when the user asks which robot will run it. For a job that stays `Pending`, `uip or jobs get <job-key> --output json` includes the reasons (robot availability, capacity).
44
+
45
+ ## Offer the Plan
46
+
47
+ State each stage with its status before acting. For example, when the folder has no Unattended runtime:
48
+
49
+ > I can publish the package and create the daily 9:00 trigger in **Finance**. It won't run yet: Finance has no Unattended runtime, so there is no robot to run it. An admin needs to assign a machine with Unattended runtimes to the Finance folder in Orchestrator. Should I publish and create the trigger now — disabled, so it doesn't fire until a robot is assigned — or wait?
50
+
51
+ Create a trigger with `--disabled` when execution is blocked and the user wants the trigger anyway. Turn it on later with `uip or triggers update <key> --type time --enabled`.
52
+
53
+ ## Confirm Each Stage
54
+
55
+ | Stage | Done when | Command |
56
+ |---|---|---|
57
+ | Publish | The package version is in the feed (and, for a folder process, the process exists) | `uip or packages list --output json`; `uip or processes list --folder-path "<folder>" --output json` |
58
+ | Trigger | The trigger exists with the expected schedule and enabled state | `uip or triggers get <trigger-key> --type time --folder-path "<folder>" --output json` (read `StartProcessCronSummary` and `Enabled`) |
59
+ | Execution | A job of the process reached `Running` or `Successful` | `uip or jobs list --folder-path "<folder>" --output json`, then `uip or jobs get <job-key> --output json` |
60
+
61
+ Until a job has run, report execution as "scheduled, next run at …, not yet run" — or as "blocked: <reason>" — never as done. If the user wants proof now, offer a one-off `uip or jobs start` and report its final state.
62
+
63
+ ## Related
64
+
65
+ - [triggers-and-webhooks.md](triggers-and-webhooks.md) — trigger creation and options
66
+ - [run-jobs.md](run-jobs.md) — processes, `processes resources`, starting and monitoring jobs
67
+ - [manage-sessions.md](manage-sessions.md) — runtimes and robot sessions
68
+ - [setup-environment.md](setup-environment.md) — assigning machines and users to folders
@@ -24,10 +24,10 @@ Monitor robot sessions, check runtime availability, toggle debug mode, and manag
24
24
  Before starting jobs, verify that the target folder has available runtime slots:
25
25
 
26
26
  ```bash
27
- uip or folders runtimes <folder-key> --output json
27
+ uip or folders runtimes "<folder-key-or-path>" --output json
28
28
  ```
29
29
 
30
- This shows runtime capacity per type: total slots, connected machines, and available (idle) slots. If available slots are zero, jobs will queue in Pending state until a slot frees up.
30
+ This shows runtime capacity per type: total slots, connected machines, and available (idle) slots. If available slots are zero, jobs will queue in Pending state until a slot frees up. Before offering to publish, schedule or run something, read the result as [end-to-end-readiness-guide.md](end-to-end-readiness-guide.md) describes.
31
31
 
32
32
  ## Step 2: List Attended Sessions
33
33
 
@@ -151,7 +151,7 @@ Check runtime availability, inspect sessions, enable debug mode for troubleshoot
151
151
 
152
152
  ```bash
153
153
  # 1. Check if the folder has available runtimes
154
- uip or folders runtimes <folder-key> --output json
154
+ uip or folders runtimes "<folder-key-or-path>" --output json
155
155
 
156
156
  # 2. List unattended sessions to find the target robot
157
157
  uip or sessions unattended list \
@@ -14,7 +14,7 @@ Upload automation packages, bind them as processes, start jobs, and monitor exec
14
14
  ## Prerequisites
15
15
 
16
16
  - Authenticated — verify with `uip login status`; if not logged in, ask the user to run `uip login` (it opens an interactive browser flow)
17
- - Target folder exists with machines assigned (see [setup-environment.md](setup-environment.md))
17
+ - Target folder exists with machines assigned (see [setup-environment.md](setup-environment.md)). Check with `uip or folders runtimes "<folder>" --output json` before offering to run or schedule ([end-to-end-readiness-guide.md](end-to-end-readiness-guide.md))
18
18
  - Automation package (.nupkg) built and ready to upload
19
19
 
20
20
  ## Flow
@@ -14,7 +14,7 @@ Automate job execution with time, queue, and API triggers, and set up webhooks f
14
14
  ## Prerequisites
15
15
 
16
16
  - Authenticated — verify with `uip login status`; if not logged in, ask the user to run `uip login` (it opens an interactive browser flow)
17
- - Target folder exists with machines assigned (see [setup-environment.md](setup-environment.md))
17
+ - Target folder exists with machines assigned (see [setup-environment.md](setup-environment.md)). A trigger can be created without them, but it cannot run a job; check with `uip or folders runtimes "<folder>" --output json` and tell the user before creating it ([end-to-end-readiness-guide.md](end-to-end-readiness-guide.md))
18
18
  - Process (release) created -- you need the release key from `uip or processes list`
19
19
 
20
20
  ---
@@ -405,6 +405,8 @@ Invalid package/destination combinations are refused before upload with `The sel
405
405
 
406
406
  A test package includes only test cases whose `project.json` `fileInfoCollection` entry has `"editingStatus": "Publishable"`. With none, upload fails `A testing project should contain at least one entry point.` (`errorCode` 2006). Marking cases Publishable is the user's decision; see [testing-guide.md § project.json Registration](testing-guide.md#projectjson-registration). There is no `uip or packages publish`; use `uip rpa publish`.
407
407
 
408
+ **Publishing is not running.** Before offering to also schedule or run the published process, check that the target folder has a runtime to run it: `uip or folders runtimes "<FOLDER>" --output json` (a row with `Total` 0 for the runtime type means no robot can run it). Tell the user which stages (publish, trigger, run) can complete before you publish; the `uipath-platform` skill's end-to-end readiness guide has the full check. Report a stage done only after reading it back.
409
+
408
410
  ### Discovery cheatsheet
409
411
 
410
412
  ```bash
@@ -128,7 +128,7 @@ When the download answers `not_found`, the solution is not in Studio Web, and th
128
128
  | [Pack and Deploy](references/pack-and-deploy.md) | `restore / pack / publish / deploy run / feeds list`, targeting a non-tenant feed (`--feed` / `--personal-workspace`), deploy configs, CI/CD pipeline patterns |
129
129
  | [Folder Runtime Check](references/deploy-folder-runtimes.md) | The `Data.Warnings` a deploy or upgrade gives when the folder has no runtime for a process's unattended jobs, and the `uip or machines assign` fix |
130
130
  | [Activate and Manage](references/activate-and-manage.md) | `deploy activate / status / upgrade / uninstall / delete`, in-place version upgrades, environment management |
131
- | [Scenarios Index](references/scenarios.md) | Failure modes and edge cases — manual edits, shared resources, virtual resources, name collisions |
131
+ | [Scenarios Index](references/scenarios.md) | Failure modes and edge cases — manual edits, shared resources, virtual resources, name collisions, solutions that carry an ontology |
132
132
 
133
133
  ## Anti-patterns
134
134
 
@@ -306,13 +306,15 @@ uip solution resources add --source remote --kind Queue --name InvoiceQueue \
306
306
  }
307
307
  ```
308
308
 
309
- `Status` is `"Added"` (newly created), `"Updated"` (cloud spec re-applied when SDK detects drift on `--source remote`), or `"Unchanged"` (idempotency hit). For local stubs `Folder` is always `solution_folder` and `Source` is `"local"`; for remote imports, the resource lands locally under `solution_folder` regardless of which cloud folder it came from (debug overwrites carry the cloud-folder context for deploy).
309
+ `Status` is `"Added"` (newly created), `"Unchanged"` (the resource is already in the solution) or `"Updated"` (a remote import of a new resource that also changed resources already in the solution: their dependency links, or hidden resources). `add` never re-imports a resource already in the solution, even when its cloud definition changed: pull that change with [Step 11a](#step-11a-pull-a-changed-cloud-definition---source-remote). For local stubs `Folder` is always `solution_folder` and `Source` is `"local"`; for remote imports, the resource lands locally under `solution_folder` regardless of which cloud folder it came from (debug overwrites carry the cloud-folder context for deploy).
310
310
 
311
311
  A local stub starts from the kind's defaults: a queue has automatic retry on, `maxNumberOfRetries: 1` and `enforceUniqueReference: false`; an asset has an empty value, which deploy refuses until a value is set or an existing asset linked ([Local virtual asset § What happens at deploy](scenarios/virtual-resource.md#what-happens-at-deploy)). When the design needs other values, set them with [`resources edit`](#step-11-edit-a-resource) right after `add`.
312
312
 
313
313
  ### Data Fabric kinds
314
314
 
315
- **Folder-scoped `Entity` / `ChoiceSet`** — standard solution-resource flow. Create with `uip df entities create --folder-key <key>` (or `uip df choice-sets create`), then `uip solution resources add --source remote --kind Entity --name <name> --folder-path <folder>`. Pack, publish, deploy, upgrade all work like any other resource. Idempotent — re-run on drift; returns `Updated`.
315
+ **Folder-scoped `Entity` / `ChoiceSet`** — standard solution-resource flow. Create with `uip df entities create --folder-key <key>` (or `uip df choice-sets create`), then `uip solution resources add --source remote --kind Entity --name <name> --folder-path <folder>`. Pack, publish, deploy, upgrade all work like any other resource. A repeated import returns `Unchanged`; it never overwrites. To pull a changed cloud definition, see [Step 11a](#step-11a-pull-a-changed-cloud-definition---source-remote).
316
+
317
+ **A federated entity's connection:** `uip solution resources add --source remote --kind Connection --name <CONNECTION> --folder-path <FOLDER>`, where `<FOLDER>` holds the connection.
316
318
 
317
319
  **Tenant-scoped `Entity` / `ChoiceSet`** (created without `--folder-key`) — NOT a solution resource. Reference the entity from the workflow via a DataService activity; the referencing runtime resolves it. Flow (Maestro `.flow`) and API workflows (`process:api`) use the DataService connector activity and are fully CLI-packable end-to-end (no special bundle in the nupkg).
318
320
  RPA (XAML) workflows use strongly-typed DataService activities: install the entities into the project (`uip rpa data-fabric-entities install --add "<ENTITY_NAME>" --project-dir "<PROJECT_DIR>" --output json`), and `uip solution pack` packs their generated types into the project's package; the deployed process reads the tenant entity.
@@ -265,6 +265,10 @@ When the `--config-file` links a resource (`deploy config link`, `linkToResource
265
265
 
266
266
  `-y, --yes` is not this consent: it only skips the already-deployed check. Nothing prompts. The same stop applies to `deploy upgrade` when the new version replaces an installed resource with a link, and there the confirming re-run must not add `--discard-draft` — see [Upgrade a Deployment In Place](activate-and-manage.md#upgrade-a-deployment-in-place). The flag only exists on newer CLI builds; on an older one the option is unknown (check `uip solution deploy run --help`). Against a server that predates the confirmation, such a deploy never reaches a terminal status, and the CLI reports its usual timeout ("may still be in progress").
267
267
 
268
+ ### Solutions that carry an ontology
269
+
270
+ Name conflicts, the post-deploy check and install errors for a solution with an ontology: see [scenarios/ontology-solution.md](scenarios/ontology-solution.md).
271
+
268
272
  ## Step 5: Check Deployment Status
269
273
 
270
274
  The `deploy run` command returns a pipeline deployment ID. Use it to check progress:
@@ -0,0 +1,30 @@
1
+ # Upgrading a solution whose local entity has a `FILE` field
2
+
3
+ A Data Fabric entity authored locally (`uip df entities create --local`) stores a `FILE` field without the `EntityAttachment` reference that the deployed entity holds. Every upgrade of a solution with such an entity is rejected at validation, the first deploy is not:
4
+
5
+ ```text
6
+ Conflicts: [TypeIncompatible] entity <E>: … The field '<F>' has incompatible properties that cannot be changed via deployment (ReferenceEntity: existing=EntityAttachment, incoming=(none)). (fix: FixConfiguration, UseExisting)
7
+ ```
8
+
9
+ Nothing is installed, the deployment stays on its current version, and the attempt is kept as a pending draft that owns the deployment. Ontology solutions meet this whenever an entity they read has a `FILE` field.
10
+
11
+ ## Fix
12
+
13
+ 1. Ask the user whether entity `<E>` changed in the new version. When it did, stop: see [What `UseExisting` costs](#what-useexisting-costs).
14
+ 2. Write the config for the new version and keep the installed entity:
15
+ ```bash
16
+ uip solution deploy config get <PACKAGE> -d "<CONFIG>" --package-version <NEW_VERSION> --output json
17
+ uip solution deploy config set "<CONFIG>" <E> conflictFixingAction UseExisting --output json
18
+ ```
19
+ `<E>` is the entity's `name` in the config file. Repeat the `set` for each entity the conflict names.
20
+ 3. Re-apply every link the deployment has, for example a federated entity's connection linked to the existing signed-in one:
21
+ ```bash
22
+ uip solution deploy config link "<CONFIG>" <CONNECTION> -n <EXISTING_CONNECTION> --folder-path "<CONNECTION_FOLDER>" --output json
23
+ ```
24
+ The file is the whole configuration the draft runs with; a link it leaves out is not carried over.
25
+ 4. Finish the draft with `deploy run --config-file` under the draft's `--name` and `--package-version`, per [A deploy that stops in `Draft`](../pack-and-deploy.md#a-deploy-that-stops-in-draft). `--yes` is required on that rerun.
26
+ 5. Confirm with `uip solution deploy status <DEPLOYMENT> --output json`: `PackageVersion` is the new version, `Operation` is `VersionChange` and `OperationStatus` is `Successful`.
27
+
28
+ ## What `UseExisting` costs
29
+
30
+ `UseExisting` keeps the installed entity and its rows, and skips the package's version of that entity. A field added, removed or changed on that entity in the new version is not applied. Use it only when the entity is otherwise unchanged. When the entity really changed, tell the user there is no clean upgrade path for it until the CLI writes the `EntityAttachment` reference for local `FILE` fields. Never drop the `FILE` field to get past the conflict.
@@ -0,0 +1,37 @@
1
+ # Solutions that carry an ontology
2
+
3
+ An ontology solution carries its entities and choice sets as local resources. At deploy they are created in the target folder, or merged into a same-name entity there, before the ontology installs. Data Fabric entities and choice sets keep their own conflict actions.
4
+
5
+ **Ontology names are unique per folder.** Deploying to another folder creates a separate ontology.
6
+
7
+ - A same-name ontology in the target folder that this solution already owns (same resource key) is a normal upgrade. There is no prompt.
8
+ - A same-name ontology the solution does not own is a conflict. The deploy pre-check reports it with `allowedActions: [Replace, RenameInSolution]`, and the deploy cannot continue until it is resolved. Ask the user which they want, then set it per resource:
9
+
10
+ ```bash
11
+ uip solution deploy config set <config.json> <Ontology> conflictFixingAction Replace
12
+ ```
13
+
14
+ Or keep the existing ontology and create a new one under another name:
15
+
16
+ ```bash
17
+ uip solution deploy config set <config.json> <Ontology> conflictFixingAction RenameInSolution
18
+ uip solution deploy config set <config.json> <Ontology> name <NewName>
19
+ ```
20
+
21
+ `Replace` keeps the existing ontology's id and replaces its artifacts. `RenameInSolution` creates a new ontology under the new name. In the solution's resource editor and in Studio Web, every ontology property is read only while authoring; only the `uipath-ontology` skill's `uip ont update --local` and `uip ont files` commands change them. In the deployment configuration a deployer can change `name`, `displayName` and `description`; `entities`, the attached file and `ontologyManifest` stay read only. The ontology service never offers `UseExisting`, `MergeConfiguration` or `RenameExisting` for an ontology: never set them, and never set an ontology's action with `--all`.
22
+
23
+ **Post-deploy check.** After `deploy run`, confirm the ontology landed with two read-only calls in the deployment folder:
24
+
25
+ ```bash
26
+ uip ont get <ONTOLOGY_NAME> --folder-key <DEPLOY_FOLDER_KEY> --output json
27
+ uip df entities list --folder-key <DEPLOY_FOLDER_KEY> --output json
28
+ ```
29
+
30
+ **Install errors**
31
+
32
+ - `TypeIncompatible` on an upgrade (`ReferenceEntity: existing=EntityAttachment`): an entity with a `FILE` field; see [local-entity-file-field.md](local-entity-file-field.md).
33
+ - `EntityConflict`: a changed field type was merged into a same-name entity in the target folder. Tell the user; never change a field type silently.
34
+ - `InstallError` naming an entity, column or choice set as "Missing in the target folder": the solution lacks it. Hand back to `uipath-ontology` to add it locally and pack, then redeploy; without that skill, tell the user which entity, column or choice set the solution lacks.
35
+ - `InstallError` for a rename onto a name another ontology holds in that folder: the new name is taken, and the previous version stays installed. Choose another name with `config set <config.json> <Ontology> name <NewName>`, then redeploy.
36
+
37
+ A federated entity's connection ships in the solution; its `NeedsSetupToActivate` after deploy is handled as in [pack-and-deploy.md Step 4](../pack-and-deploy.md#step-4-deploy-to-orchestrator).
@@ -29,6 +29,8 @@ Land here from a grep on an error message? Pick the matching row.
29
29
  | My hand-edit got reverted on the next refresh | [manual-edits](scenarios/manual-edits.md) (the SDK re-derives bindings) |
30
30
  | `… will permanently delete <k> installed resource(s) replaced by links` at deploy / upgrade | [failure-modes](scenarios/failure-modes.md) — consent with `--acknowledge-permanent-deletion`, or unlink to keep the copies |
31
31
  | `deploy uninstall` fails with "uncompleted jobs", "permanently deletes these resources" or "cannot get past" | [failure-modes](scenarios/failure-modes.md) -- `--force` only with the user's consent, never for "cannot get past" |
32
+ | Ontology name conflict at deploy (`allowedActions: [Replace, RenameInSolution]`), or `EntityConflict` / `InstallError` from an ontology solution | [ontology-solution](scenarios/ontology-solution.md) |
33
+ | `[TypeIncompatible] … ReferenceEntity: existing=EntityAttachment, incoming=(none)` on an upgrade | [local-entity-file-field](scenarios/local-entity-file-field.md) |
32
34
  | Other deploy / refresh failures (folder collision, suffix amplification, missing bindings, version collision) | [failure-modes](scenarios/failure-modes.md) |
33
35
 
34
36
  ---
@@ -43,6 +45,8 @@ Land here from a grep on an error message? Pick the matching row.
43
45
  | [virtual-resource](scenarios/virtual-resource.md) | Brand-new asset/queue/bucket shipped with the solution — no cloud counterpart yet. Refresh creates a virtual stub; deploy needs a value or link. |
44
46
  | [manual-edits](scenarios/manual-edits.md) | The CLI doesn't cover the field you need to edit. What's safe to hand-edit on solution-level files and deploy configs, what isn't. |
45
47
  | [failure-modes](scenarios/failure-modes.md) | Cross-cutting symptom→cause→fix table for deploy and refresh failures that don't fit a single scenario. |
48
+ | [ontology-solution](scenarios/ontology-solution.md) | A solution that carries an ontology: name conflicts (`Replace` / `RenameInSolution`), what a deployer can edit, the post-deploy check and install errors. |
49
+ | [local-entity-file-field](scenarios/local-entity-file-field.md) | Every upgrade of a solution whose locally authored entity has a `FILE` field is rejected with `TypeIncompatible`: keep the entity with `UseExisting` and finish the draft. |
46
50
 
47
51
  ---
48
52
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
- "skillsVersion": "1.207.0-preview.2139",
3
+ "skillsVersion": "1.207.0-preview.2143",
4
4
  "targetCli": "^1.207.0"
5
5
  }