@uipath/skills 1.198.0-preview.21 → 1.199.0-preview.106

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 (395) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/CODEOWNERS +4 -2
  4. package/hooks/send-telemetry.ps1 +19 -13
  5. package/hooks/send-telemetry.sh +19 -13
  6. package/package.json +1 -1
  7. package/skills/uipath-admin/SKILL.md +10 -7
  8. package/skills/uipath-admin/references/audit-commands.md +21 -10
  9. package/skills/uipath-admin/references/audit-workflow-guide.md +15 -6
  10. package/skills/uipath-agents/references/coded/capabilities/guardrails/guardrails-recommend.md +6 -1
  11. package/skills/uipath-agents/references/coded/capabilities/guardrails/guardrails.md +7 -1
  12. package/skills/uipath-agents/references/coded/embedding-in-flows.md +5 -5
  13. package/skills/uipath-agents/references/coded/flow-integration.md +1 -1
  14. package/skills/uipath-agents/references/coded/quickstart.md +3 -3
  15. package/skills/uipath-agents/references/coded-vs-lowcode-guide.md +1 -1
  16. package/skills/uipath-agents/references/lowcode/capabilities/guardrails/guardrails-recommend.md +39 -2
  17. package/skills/uipath-agents/references/lowcode/capabilities/guardrails/guardrails.md +36 -2
  18. package/skills/uipath-agents/references/lowcode/capabilities/process/process.md +4 -4
  19. package/skills/uipath-agents/references/lowcode/capabilities/process/solution-files.md +1 -1
  20. package/skills/uipath-agents/references/lowcode/critical-rules/critical-rules.md +1 -1
  21. package/skills/uipath-agents/references/lowcode/project-lifecycle.md +19 -9
  22. package/skills/uipath-agents/references/lowcode/solution-resources.md +2 -2
  23. package/skills/uipath-api-workflow/SKILL.md +14 -7
  24. package/skills/uipath-api-workflow/references/cli-reference.md +2 -2
  25. package/skills/uipath-api-workflow/references/connector-activity-discovery.md +1 -1
  26. package/skills/uipath-api-workflow/references/expressions-and-context.md +2 -2
  27. package/skills/uipath-api-workflow/references/operating-published-workflows.md +74 -0
  28. package/skills/uipath-api-workflow/references/task-types.md +3 -3
  29. package/skills/uipath-api-workflow/references/troubleshooting.md +23 -10
  30. package/skills/uipath-coded-apps/SKILL.md +3 -3
  31. package/skills/uipath-coded-apps/assets/scripts/dashboards/build-dashboard.mjs +2 -2
  32. package/skills/uipath-coded-apps/references/create-action-app.md +11 -3
  33. package/skills/uipath-coded-apps/references/create-web-app.md +9 -7
  34. package/skills/uipath-coded-apps/references/dashboards/plugins/build/impl.md +3 -1
  35. package/skills/uipath-coded-apps/references/dashboards/plugins/deploy/impl.md +145 -87
  36. package/skills/uipath-coded-apps/references/dashboards/primitives/state-file.md +2 -2
  37. package/skills/uipath-coded-apps/references/debug.md +44 -37
  38. package/skills/uipath-coded-apps/references/oauth-client-setup.md +69 -616
  39. package/skills/uipath-coded-apps/references/sdk/conversational-agent.md +1 -1
  40. package/skills/uipath-coded-apps/references/sdk/data-fabric.md +3 -1
  41. package/skills/uipath-coded-apps/references/widgets/validation-station.md +169 -13
  42. package/skills/uipath-feedback/SKILL.md +12 -6
  43. package/skills/uipath-governance/references/auth-context.md +1 -1
  44. package/skills/uipath-governance/references/compliance-pack/coverage/impl.md +115 -31
  45. package/skills/uipath-governance/references/compliance-pack/full-apply/impl.md +2 -1
  46. package/skills/uipath-governance/references/compliance-pack/query/impl.md +2 -2
  47. package/skills/uipath-human-in-the-loop/SKILL.md +3 -3
  48. package/skills/uipath-human-in-the-loop/references/hitl-node-apptask.md +2 -2
  49. package/skills/uipath-human-in-the-loop/references/hitl-node-coded-action-app.md +1 -1
  50. package/skills/uipath-human-in-the-loop/references/hitl-node-quickform.md +2 -2
  51. package/skills/uipath-insights/SKILL.md +2 -2
  52. package/skills/uipath-ixp/SKILL.md +5 -5
  53. package/skills/uipath-ixp/references/cli-reference.md +1 -1
  54. package/skills/uipath-maestro-bpmn/SKILL.md +92 -8
  55. package/skills/uipath-maestro-bpmn/references/diagnose/CAPABILITY.md +5 -1
  56. package/skills/uipath-maestro-bpmn/references/diagnose/references/troubleshooting-guide.md +5 -0
  57. package/skills/uipath-maestro-bpmn/references/expression-authoring.md +16 -3
  58. package/skills/uipath-maestro-bpmn/references/operate/references/run.md +17 -3
  59. package/skills/uipath-maestro-bpmn/references/public-safety.md +15 -0
  60. package/skills/uipath-maestro-bpmn/references/registry-workflow.md +50 -22
  61. package/skills/uipath-maestro-bpmn/references/shared/local-metadata-regeneration-guide.md +17 -0
  62. package/skills/uipath-maestro-bpmn/references/shared/project-layout.md +30 -2
  63. package/skills/uipath-maestro-bpmn/references/structural-bpmn.md +54 -7
  64. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ScriptWritesVariableThenGatewayBranches.bpmn +8 -4
  65. package/skills/uipath-maestro-case/SKILL.md +72 -34
  66. package/skills/uipath-maestro-case/assets/templates/sdd-template-examples.md +1 -1
  67. package/skills/uipath-maestro-case/assets/templates/sdd-template.md +40 -20
  68. package/skills/uipath-maestro-case/assets/templates/sdd-viewer.html +2 -2
  69. package/skills/uipath-maestro-case/references/bindings-and-expressions.md +13 -8
  70. package/skills/uipath-maestro-case/references/bindings-v2-sync.md +1 -1
  71. package/skills/uipath-maestro-case/references/brownfield.md +13 -3
  72. package/skills/uipath-maestro-case/references/case-commands.md +6 -6
  73. package/skills/uipath-maestro-case/references/case-editing-operations.md +13 -13
  74. package/skills/uipath-maestro-case/references/case-schema.md +58 -47
  75. package/skills/uipath-maestro-case/references/connector-trigger-common.md +2 -2
  76. package/skills/uipath-maestro-case/references/evals/evals.json +124 -23
  77. package/skills/uipath-maestro-case/references/implementation.md +15 -15
  78. package/skills/uipath-maestro-case/references/phase-0-interview.md +119 -460
  79. package/skills/uipath-maestro-case/references/phased-execution.md +23 -17
  80. package/skills/uipath-maestro-case/references/placeholder-tasks.md +3 -3
  81. package/skills/uipath-maestro-case/references/planning.md +48 -28
  82. package/skills/uipath-maestro-case/references/plugins/case/impl-json.md +2 -1
  83. package/skills/uipath-maestro-case/references/plugins/case/planning.md +1 -1
  84. package/skills/uipath-maestro-case/references/plugins/conditions/case-exit-conditions/planning.md +2 -0
  85. package/skills/uipath-maestro-case/references/plugins/conditions/stage-entry-conditions/planning.md +3 -3
  86. package/skills/uipath-maestro-case/references/plugins/conditions/stage-exit-conditions/impl-json.md +2 -0
  87. package/skills/uipath-maestro-case/references/plugins/conditions/stage-exit-conditions/planning.md +2 -0
  88. package/skills/uipath-maestro-case/references/plugins/conditions/task-entry-conditions/impl-json.md +2 -2
  89. package/skills/uipath-maestro-case/references/plugins/conditions/task-entry-conditions/planning.md +18 -2
  90. package/skills/uipath-maestro-case/references/plugins/sla/impl-json.md +12 -7
  91. package/skills/uipath-maestro-case/references/plugins/sla/planning.md +23 -7
  92. package/skills/uipath-maestro-case/references/plugins/stages/impl-json.md +3 -0
  93. package/skills/uipath-maestro-case/references/plugins/stages/planning.md +7 -4
  94. package/skills/uipath-maestro-case/references/plugins/tasks/action/planning.md +15 -6
  95. package/skills/uipath-maestro-case/references/plugins/tasks/agent/planning.md +17 -34
  96. package/skills/uipath-maestro-case/references/plugins/tasks/api-workflow/planning.md +15 -13
  97. package/skills/uipath-maestro-case/references/plugins/tasks/case-management/planning.md +14 -10
  98. package/skills/uipath-maestro-case/references/plugins/tasks/connector-activity/impl-json.md +2 -2
  99. package/skills/uipath-maestro-case/references/plugins/tasks/connector-activity/planning.md +8 -2
  100. package/skills/uipath-maestro-case/references/plugins/tasks/connector-trigger/impl-json.md +1 -1
  101. package/skills/uipath-maestro-case/references/plugins/tasks/connector-trigger/planning.md +4 -0
  102. package/skills/uipath-maestro-case/references/plugins/tasks/create-inline-common.md +55 -0
  103. package/skills/uipath-maestro-case/references/plugins/tasks/process/planning.md +9 -6
  104. package/skills/uipath-maestro-case/references/plugins/tasks/rpa/planning.md +10 -5
  105. package/skills/uipath-maestro-case/references/plugins/tasks/wait-for-timer/planning.md +1 -1
  106. package/skills/uipath-maestro-case/references/plugins/triggers/event/impl-json.md +3 -3
  107. package/skills/uipath-maestro-case/references/plugins/triggers/event/planning.md +1 -1
  108. package/skills/uipath-maestro-case/references/plugins/triggers/manual/impl-json.md +1 -0
  109. package/skills/uipath-maestro-case/references/plugins/triggers/timer/impl-json.md +1 -0
  110. package/skills/uipath-maestro-case/references/plugins/variables/bindings/impl-json.md +2 -1
  111. package/skills/uipath-maestro-case/references/plugins/variables/global-vars/impl-json.md +10 -4
  112. package/skills/uipath-maestro-case/references/plugins/variables/io-binding/impl-json.md +74 -24
  113. package/skills/uipath-maestro-case/references/plugins/variables/io-binding/planning.md +51 -8
  114. package/skills/uipath-maestro-case/references/registry-discovery.md +83 -29
  115. package/skills/uipath-maestro-case/references/sdd-generation-rules.md +96 -64
  116. package/skills/uipath-maestro-flow/SKILL.md +2 -1
  117. package/skills/uipath-maestro-flow/references/author/CAPABILITY.md +1 -1
  118. package/skills/uipath-maestro-flow/references/author/references/editing-operations-json.md +1 -1
  119. package/skills/uipath-maestro-flow/references/author/references/greenfield.md +6 -6
  120. package/skills/uipath-maestro-flow/references/author/references/plugins/agent/impl.md +4 -4
  121. package/skills/uipath-maestro-flow/references/author/references/plugins/connector-trigger/impl.md +4 -1
  122. package/skills/uipath-maestro-flow/references/author/references/plugins/connector-trigger/planning.md +1 -1
  123. package/skills/uipath-maestro-flow/references/diagnose/references/failure-modes.md +5 -7
  124. package/skills/uipath-maestro-flow/references/shared/cli-commands.md +13 -12
  125. package/skills/uipath-maestro-flow/references/shared/file-format.md +1 -1
  126. package/skills/uipath-maestro-flow/references/shared/variables-and-expressions.md +2 -1
  127. package/skills/uipath-mcp-servers/SKILL.md +6 -6
  128. package/skills/uipath-mcp-servers/references/is-activity-workflow.md +17 -7
  129. package/skills/uipath-planner/SKILL.md +36 -24
  130. package/skills/uipath-planner/assets/templates/agent-sdd-template.md +111 -7
  131. package/skills/uipath-planner/assets/templates/api-workflow-sdd-template.md +75 -11
  132. package/skills/uipath-planner/assets/templates/bpmn-sdd-template.md +429 -0
  133. package/skills/uipath-planner/assets/templates/case-sdd-template.md +114 -19
  134. package/skills/uipath-planner/assets/templates/coded-app-sdd-template.md +68 -5
  135. package/skills/uipath-planner/assets/templates/flow-sdd-template.md +84 -5
  136. package/skills/uipath-planner/assets/templates/rpa-sdd-template.md +265 -26
  137. package/skills/uipath-planner/references/attended-reauth-pattern-guide.md +7 -1
  138. package/skills/uipath-planner/references/multi-skill-patterns-guide.md +11 -6
  139. package/skills/uipath-planner/references/non-pdd-lane-guide.md +90 -86
  140. package/skills/uipath-planner/references/package-selection-guide.md +4 -2
  141. package/skills/uipath-planner/references/pdd-analysis-guide.md +34 -7
  142. package/skills/uipath-planner/references/pdd-driven-lane-guide.md +25 -3
  143. package/skills/uipath-planner/references/plan-and-tasks-format.md +7 -6
  144. package/skills/uipath-planner/references/platform-availability-guide.md +5 -2
  145. package/skills/uipath-planner/references/product-selection-guide.md +239 -21
  146. package/skills/uipath-planner/references/rpa-product-guide.md +22 -2
  147. package/skills/uipath-planner/references/sdd-generation-guide.md +123 -31
  148. package/skills/uipath-planner/references/tenant-library-search-guide.md +6 -4
  149. package/skills/uipath-planner/scripts/docx-extract.ps1 +59 -0
  150. package/skills/uipath-planner/scripts/sdd-to-docx.ps1 +74 -0
  151. package/skills/uipath-platform/SKILL.md +12 -3
  152. package/skills/uipath-platform/references/data-fabric/data-fabric.md +7 -1
  153. package/skills/uipath-platform/references/data-fabric/entity-schema.md +21 -2
  154. package/skills/uipath-platform/references/data-fabric/filter-platform-contract.md +2 -0
  155. package/skills/uipath-platform/references/data-fabric/records-query.md +12 -0
  156. package/skills/uipath-platform/references/integration-service/triggers.md +2 -0
  157. package/skills/uipath-platform/references/orchestrator/tenant-admin.md +3 -1
  158. package/skills/uipath-rpa/CLAUDE.md +12 -10
  159. package/skills/uipath-rpa/SKILL.md +62 -34
  160. package/skills/uipath-rpa/references/cli-reference.md +3 -1
  161. package/skills/uipath-rpa/references/coded/codedworkflow-reference.md +1 -1
  162. package/skills/uipath-rpa/references/coded/coding-guidelines.md +18 -3
  163. package/skills/uipath-rpa/references/coded/operations-guide.md +8 -6
  164. package/skills/uipath-rpa/references/legacy/activity-docs/ActiveDirectory.md +2 -3
  165. package/skills/uipath-rpa/references/legacy/activity-docs/_INDEX.md +1 -1
  166. package/skills/uipath-rpa/references/library-authoring-guide.md +1 -1
  167. package/skills/uipath-rpa/references/powershell-interop-guide.md +1 -1
  168. package/skills/uipath-rpa/references/project-structure-guide.md +1 -1
  169. package/skills/uipath-rpa/references/testing-guide.md +1 -1
  170. package/skills/uipath-rpa/references/uia-starter-guide.md +216 -0
  171. package/skills/uipath-rpa/references/validation-guide.md +2 -0
  172. package/skills/uipath-rpa/references/xaml/workflow-guide.md +2 -2
  173. package/skills/uipath-solution/SKILL.md +8 -6
  174. package/skills/uipath-solution/references/develop-solution.md +14 -14
  175. package/skills/uipath-solution/references/pack-and-deploy.md +4 -0
  176. package/skills/uipath-solution/references/scenarios/intra-solution-references.md +1 -1
  177. package/skills/uipath-solution/references/scenarios/manual-edits.md +2 -2
  178. package/skills/uipath-solution/references/solution-overview.md +28 -1
  179. package/skills/uipath-tasks/SKILL.md +2 -2
  180. package/skills/uipath-tasks/references/action-center-urls.md +4 -5
  181. package/skills/uipath-troubleshoot/SKILL.md +15 -9
  182. package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/overview.md +19 -2
  183. package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/browser-open-or-attach-failed.md +4 -0
  184. package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/browser-scope-errors.md +119 -0
  185. package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/click-silent-no-op.md +76 -0
  186. package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/invoke-workflow-failed.md +38 -11
  187. package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/invoke-workflow-file-design-time-errors.md +89 -0
  188. package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/queue-operation-failed.md +91 -0
  189. package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/trigger-scope-and-local-triggers-failed.md +106 -0
  190. package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/type-into-wrong-or-incomplete-text.md +91 -0
  191. package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/summary.md +7 -2
  192. package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/overview.md +38 -0
  193. package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/csv-datatable-structure-mismatch.md +32 -0
  194. package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/csv-file-locked-or-invalid-path.md +33 -0
  195. package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/csv-helper-method-not-found.md +36 -0
  196. package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/read-csv-file-not-found.md +34 -0
  197. package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/read-csv-invalid-format.md +33 -0
  198. package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/read-csv-more-values-than-header.md +34 -0
  199. package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/write-csv-access-denied.md +35 -0
  200. package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/write-csv-cannot-set-unknown-member.md +30 -0
  201. package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/write-csv-invalid-delimiter.md +27 -0
  202. package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/write-csv-unsupported-encoding.md +27 -0
  203. package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/summary.md +16 -0
  204. package/skills/uipath-troubleshoot/references/activity-packages/database-activities/playbooks/execute-query-failures.md +27 -2
  205. package/skills/uipath-troubleshoot/references/activity-packages/database-activities/summary.md +1 -1
  206. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/overview.md +1 -1
  207. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/excel-application-card-failures.md +20 -31
  208. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/excel-application-scope-failures.md +7 -6
  209. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/excel-not-installed.md +72 -0
  210. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/null-reference-from-activity.md +150 -0
  211. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/read-range-sheet-not-found.md +1 -1
  212. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/{read-range-file-locked.md → workbook-file-locked.md} +54 -40
  213. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/write-cell-failures.md +3 -3
  214. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/summary.md +5 -7
  215. package/skills/uipath-troubleshoot/references/activity-packages/file-operations/overview.md +31 -0
  216. package/skills/uipath-troubleshoot/references/activity-packages/file-operations/playbooks/download-file-403-401-auth.md +32 -0
  217. package/skills/uipath-troubleshoot/references/activity-packages/file-operations/playbooks/download-file-host-not-found.md +33 -0
  218. package/skills/uipath-troubleshoot/references/activity-packages/file-operations/playbooks/download-file-httpclient-reused-in-loop.md +34 -0
  219. package/skills/uipath-troubleshoot/references/activity-packages/file-operations/playbooks/download-file-stuck-tmp.md +29 -0
  220. package/skills/uipath-troubleshoot/references/activity-packages/file-operations/summary.md +10 -0
  221. package/skills/uipath-troubleshoot/references/activity-packages/intelligent-ocr-activities/investigation_guide.md +36 -0
  222. package/skills/uipath-troubleshoot/references/activity-packages/intelligent-ocr-activities/overview.md +33 -0
  223. package/skills/uipath-troubleshoot/references/activity-packages/intelligent-ocr-activities/playbooks/du-document-rejected.md +32 -0
  224. package/skills/uipath-troubleshoot/references/activity-packages/intelligent-ocr-activities/playbooks/du-license-or-endpoint-rejected.md +63 -0
  225. package/skills/uipath-troubleshoot/references/activity-packages/intelligent-ocr-activities/playbooks/du-not-enabled-or-tenant-key.md +38 -0
  226. package/skills/uipath-troubleshoot/references/activity-packages/intelligent-ocr-activities/playbooks/du-storage-or-taxonomy-missing.md +44 -0
  227. package/skills/uipath-troubleshoot/references/activity-packages/intelligent-ocr-activities/summary.md +10 -0
  228. package/skills/uipath-troubleshoot/references/activity-packages/ipc-activities/investigation_guide.md +34 -0
  229. package/skills/uipath-troubleshoot/references/activity-packages/ipc-activities/overview.md +35 -0
  230. package/skills/uipath-troubleshoot/references/activity-packages/ipc-activities/playbooks/broadcast-message-timeout.md +38 -0
  231. package/skills/uipath-troubleshoot/references/activity-packages/ipc-activities/playbooks/broadcast-message-unauthorized-access.md +38 -0
  232. package/skills/uipath-troubleshoot/references/activity-packages/ipc-activities/presentation.md +9 -0
  233. package/skills/uipath-troubleshoot/references/activity-packages/ipc-activities/summary.md +9 -0
  234. package/skills/uipath-troubleshoot/references/activity-packages/jira-activities/investigation_guide.md +31 -0
  235. package/skills/uipath-troubleshoot/references/activity-packages/jira-activities/overview.md +39 -0
  236. package/skills/uipath-troubleshoot/references/activity-packages/jira-activities/playbooks/jira-activity-missing-or-not-loaded.md +37 -0
  237. package/skills/uipath-troubleshoot/references/activity-packages/jira-activities/playbooks/jira-add-comment-failures.md +50 -0
  238. package/skills/uipath-troubleshoot/references/activity-packages/jira-activities/playbooks/jira-scope-authentication-failures.md +47 -0
  239. package/skills/uipath-troubleshoot/references/activity-packages/jira-activities/playbooks/jira-scope-response-not-json-or-500.md +42 -0
  240. package/skills/uipath-troubleshoot/references/activity-packages/jira-activities/playbooks/jira-transition-issue-failures.md +47 -0
  241. package/skills/uipath-troubleshoot/references/activity-packages/jira-activities/presentation.md +9 -0
  242. package/skills/uipath-troubleshoot/references/activity-packages/jira-activities/summary.md +11 -0
  243. package/skills/uipath-troubleshoot/references/activity-packages/mail-activities/overview.md +1 -0
  244. package/skills/uipath-troubleshoot/references/activity-packages/mail-activities/playbooks/send-smtp-mail-failures.md +161 -0
  245. package/skills/uipath-troubleshoot/references/activity-packages/mail-activities/summary.md +1 -0
  246. package/skills/uipath-troubleshoot/references/activity-packages/ocr-activities/investigation_guide.md +29 -0
  247. package/skills/uipath-troubleshoot/references/activity-packages/ocr-activities/overview.md +26 -0
  248. package/skills/uipath-troubleshoot/references/activity-packages/ocr-activities/playbooks/ocr-endpoint-and-authentication.md +52 -0
  249. package/skills/uipath-troubleshoot/references/activity-packages/ocr-activities/playbooks/ocr-engine-config-and-dependencies.md +55 -0
  250. package/skills/uipath-troubleshoot/references/activity-packages/ocr-activities/playbooks/ocr-input-and-runtime.md +51 -0
  251. package/skills/uipath-troubleshoot/references/activity-packages/ocr-activities/summary.md +10 -0
  252. package/skills/uipath-troubleshoot/references/activity-packages/pdf-activities/investigation_guide.md +33 -0
  253. package/skills/uipath-troubleshoot/references/activity-packages/pdf-activities/overview.md +34 -0
  254. package/skills/uipath-troubleshoot/references/activity-packages/pdf-activities/playbooks/pdf-corrupt-or-image-input.md +49 -0
  255. package/skills/uipath-troubleshoot/references/activity-packages/pdf-activities/playbooks/pdf-encrypted-or-wrong-password.md +51 -0
  256. package/skills/uipath-troubleshoot/references/activity-packages/pdf-activities/playbooks/pdf-file-not-found-or-not-pdf.md +45 -0
  257. package/skills/uipath-troubleshoot/references/activity-packages/pdf-activities/playbooks/pdf-invalid-page-range.md +42 -0
  258. package/skills/uipath-troubleshoot/references/activity-packages/pdf-activities/playbooks/pdf-read-ocr-no-engine.md +39 -0
  259. package/skills/uipath-troubleshoot/references/activity-packages/pdf-activities/summary.md +11 -0
  260. package/skills/uipath-troubleshoot/references/activity-packages/python-activities/overview.md +1 -0
  261. package/skills/uipath-troubleshoot/references/activity-packages/python-activities/playbooks/python-scope-architecture-version-mismatch.md +2 -0
  262. package/skills/uipath-troubleshoot/references/activity-packages/python-activities/playbooks/python-scope-hang-dotnet-runtime.md +36 -0
  263. package/skills/uipath-troubleshoot/references/activity-packages/python-activities/summary.md +1 -0
  264. package/skills/uipath-troubleshoot/references/activity-packages/sap-bapi-activities/investigation_guide.md +34 -0
  265. package/skills/uipath-troubleshoot/references/activity-packages/sap-bapi-activities/overview.md +34 -0
  266. package/skills/uipath-troubleshoot/references/activity-packages/sap-bapi-activities/playbooks/sap-bapi-not-found.md +39 -0
  267. package/skills/uipath-troubleshoot/references/activity-packages/sap-bapi-activities/playbooks/sap-connection-failed.md +46 -0
  268. package/skills/uipath-troubleshoot/references/activity-packages/sap-bapi-activities/playbooks/sap-unsupported-bapi.md +32 -0
  269. package/skills/uipath-troubleshoot/references/activity-packages/sap-bapi-activities/summary.md +9 -0
  270. package/skills/uipath-troubleshoot/references/activity-packages/slack-activities/investigation_guide.md +31 -0
  271. package/skills/uipath-troubleshoot/references/activity-packages/slack-activities/overview.md +29 -0
  272. package/skills/uipath-troubleshoot/references/activity-packages/slack-activities/playbooks/connection-resolution-failure.md +46 -0
  273. package/skills/uipath-troubleshoot/references/activity-packages/slack-activities/playbooks/slack-api-error.md +65 -0
  274. package/skills/uipath-troubleshoot/references/activity-packages/slack-activities/summary.md +8 -0
  275. package/skills/uipath-troubleshoot/references/activity-packages/system-activities/investigation_guide.md +13 -0
  276. package/skills/uipath-troubleshoot/references/activity-packages/system-activities/overview.md +21 -9
  277. package/skills/uipath-troubleshoot/references/activity-packages/system-activities/playbooks/compress-extract-files-failed.md +64 -0
  278. package/skills/uipath-troubleshoot/references/activity-packages/system-activities/playbooks/download-file-failed.md +46 -0
  279. package/skills/uipath-troubleshoot/references/activity-packages/system-activities/playbooks/file-folder-operation-failed.md +61 -0
  280. package/skills/uipath-troubleshoot/references/activity-packages/system-activities/playbooks/get-asset-wrong-activity-type.md +2 -0
  281. package/skills/uipath-troubleshoot/references/activity-packages/system-activities/playbooks/queue-transaction-activity-failed.md +47 -0
  282. package/skills/uipath-troubleshoot/references/activity-packages/system-activities/summary.md +6 -0
  283. package/skills/uipath-troubleshoot/references/activity-packages/terminal-activities/investigation_guide.md +28 -0
  284. package/skills/uipath-troubleshoot/references/activity-packages/terminal-activities/overview.md +30 -0
  285. package/skills/uipath-troubleshoot/references/activity-packages/terminal-activities/playbooks/terminal-session-connection-failed.md +58 -0
  286. package/skills/uipath-troubleshoot/references/activity-packages/terminal-activities/playbooks/terminal-session-null-reference.md +40 -0
  287. package/skills/uipath-troubleshoot/references/activity-packages/terminal-activities/summary.md +8 -0
  288. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/interpretations/healing-agent-data.md +10 -27
  289. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/investigation_guide.md +1 -1
  290. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/overview.md +9 -0
  291. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/ambiguous-selector.md +2 -0
  292. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/application-not-found.md +1 -10
  293. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/browser-communication-failed.md +85 -0
  294. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/click-coordinate-off-screen.md +2 -0
  295. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/click-silent-no-op.md +79 -0
  296. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/dependency-version-conflict.md +66 -0
  297. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/disabled-element.md +2 -0
  298. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/napplicationcard-view-generation-failed.md +78 -0
  299. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/scope-container-wrong-page.md +2 -2
  300. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/selector-failure-healing-disabled.md +2 -0
  301. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/selector-failure-healing-fix.md +4 -2
  302. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/selector-failure-manual.md +3 -1
  303. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/type-into-input-failed.md +148 -0
  304. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/verify-execution-failure.md +2 -0
  305. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/summary.md +5 -0
  306. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/add-picture-failures.md +1 -0
  307. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/word-com-interop-failures.md +5 -0
  308. package/skills/uipath-troubleshoot/references/presenting.md +3 -3
  309. package/skills/uipath-troubleshoot/references/products/agents/playbooks/context-grounding-index-not-found.md +35 -24
  310. package/skills/uipath-troubleshoot/references/products/agents/playbooks/guardrail-violation.md +14 -12
  311. package/skills/uipath-troubleshoot/references/products/agents/playbooks/input-schema-validation-failure.md +23 -13
  312. package/skills/uipath-troubleshoot/references/products/agents/playbooks/is-connection-disabled.md +6 -4
  313. package/skills/uipath-troubleshoot/references/products/agents/playbooks/is-invalid-credentials.md +12 -9
  314. package/skills/uipath-troubleshoot/references/products/agents/playbooks/is-invalid-element-instance.md +12 -9
  315. package/skills/uipath-troubleshoot/references/products/agents/playbooks/llm-insufficient-information.md +20 -13
  316. package/skills/uipath-troubleshoot/references/products/agents/summary.md +1 -1
  317. package/skills/uipath-troubleshoot/references/products/api-workflows/investigation_guide.md +52 -0
  318. package/skills/uipath-troubleshoot/references/products/api-workflows/overview.md +33 -0
  319. package/skills/uipath-troubleshoot/references/products/api-workflows/playbooks/connection-auth-failure.md +49 -0
  320. package/skills/uipath-troubleshoot/references/products/api-workflows/playbooks/expression-reference-error.md +32 -0
  321. package/skills/uipath-troubleshoot/references/products/api-workflows/playbooks/output-undefined.md +39 -0
  322. package/skills/uipath-troubleshoot/references/products/api-workflows/playbooks/publish-deploy-failure.md +38 -0
  323. package/skills/uipath-troubleshoot/references/products/api-workflows/playbooks/run-not-successful.md +37 -0
  324. package/skills/uipath-troubleshoot/references/products/api-workflows/summary.md +14 -0
  325. package/skills/uipath-troubleshoot/references/products/assistant/investigation_guide.md +71 -0
  326. package/skills/uipath-troubleshoot/references/products/assistant/overview.md +44 -0
  327. package/skills/uipath-troubleshoot/references/products/assistant/playbooks/assistant-crash.md +38 -0
  328. package/skills/uipath-troubleshoot/references/products/assistant/playbooks/orchestrator-connection-failure.md +43 -0
  329. package/skills/uipath-troubleshoot/references/products/assistant/playbooks/process-missing-or-unstartable.md +41 -0
  330. package/skills/uipath-troubleshoot/references/products/assistant/playbooks/sign-in-failure.md +42 -0
  331. package/skills/uipath-troubleshoot/references/products/assistant/summary.md +18 -0
  332. package/skills/uipath-troubleshoot/references/products/coded-apps/overview.md +49 -0
  333. package/skills/uipath-troubleshoot/references/products/coded-apps/playbooks/action-app-form-data-not-loading.md +66 -0
  334. package/skills/uipath-troubleshoot/references/products/coded-apps/playbooks/api-401-after-login.md +51 -0
  335. package/skills/uipath-troubleshoot/references/products/coded-apps/playbooks/api-403-folder-permission.md +51 -0
  336. package/skills/uipath-troubleshoot/references/products/coded-apps/playbooks/cors-error-wrong-base-url.md +46 -0
  337. package/skills/uipath-troubleshoot/references/products/coded-apps/playbooks/deploy-404-app-not-found.md +59 -0
  338. package/skills/uipath-troubleshoot/references/products/coded-apps/playbooks/invalid-scope.md +70 -0
  339. package/skills/uipath-troubleshoot/references/products/coded-apps/playbooks/isauthenticated-false-after-callback.md +59 -0
  340. package/skills/uipath-troubleshoot/references/products/coded-apps/playbooks/redirect-uri-mismatch.md +59 -0
  341. package/skills/uipath-troubleshoot/references/products/coded-apps/summary.md +14 -0
  342. package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/connection-invalid.md +11 -10
  343. package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/connection-not-resolved.md +3 -3
  344. package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/connector-general-exception.md +1 -1
  345. package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/request-failed.md +2 -0
  346. package/skills/uipath-troubleshoot/references/products/maestro/error_codes.md +2 -2
  347. package/skills/uipath-troubleshoot/references/products/maestro/investigation_guide.md +6 -2
  348. package/skills/uipath-troubleshoot/references/products/maestro/playbooks/autopilot-429.md +8 -5
  349. package/skills/uipath-troubleshoot/references/products/maestro/playbooks/expression-evaluation-errors.md +6 -0
  350. package/skills/uipath-troubleshoot/references/products/maestro/playbooks/folder-not-accessible.md +1 -1
  351. package/skills/uipath-troubleshoot/references/products/maestro/playbooks/gateway-no-outgoing-flow.md +6 -4
  352. package/skills/uipath-troubleshoot/references/products/maestro/playbooks/integration-service-404.md +3 -2
  353. package/skills/uipath-troubleshoot/references/products/maestro/playbooks/js-runtime-discrepancy.md +7 -1
  354. package/skills/uipath-troubleshoot/references/products/maestro/playbooks/marker-input-null.md +4 -0
  355. package/skills/uipath-troubleshoot/references/products/maestro/playbooks/marker-invalid-cast.md +5 -1
  356. package/skills/uipath-troubleshoot/references/products/maestro/playbooks/multi-instance-parallel.md +7 -1
  357. package/skills/uipath-troubleshoot/references/products/maestro/playbooks/no-suitable-runtime-machine.md +2 -0
  358. package/skills/uipath-troubleshoot/references/products/maestro/playbooks/personal-automation-quota.md +1 -1
  359. package/skills/uipath-troubleshoot/references/products/maestro/playbooks/service-task-child-job-faulted.md +10 -2
  360. package/skills/uipath-troubleshoot/references/products/maestro/playbooks/variable-expression-errors.md +6 -0
  361. package/skills/uipath-troubleshoot/references/products/maestro/summary.md +5 -5
  362. package/skills/uipath-troubleshoot/references/products/orchestrator/investigation_guide.md +2 -2
  363. package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/job-faulted-logon-failure.md +2 -0
  364. package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/job-faulted-session-timeout.md +50 -0
  365. package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/job-pending-no-host.md +2 -0
  366. package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/job-stuck.md +2 -0
  367. package/skills/uipath-troubleshoot/references/products/orchestrator/summary.md +1 -0
  368. package/skills/uipath-troubleshoot/references/products/studio/overview.md +34 -0
  369. package/skills/uipath-troubleshoot/references/products/studio/playbooks/studio-autopilot-unavailable.md +47 -0
  370. package/skills/uipath-troubleshoot/references/products/studio/summary.md +7 -0
  371. package/skills/uipath-troubleshoot/references/runtime-exceptions/overview.md +12 -1
  372. package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/argument-exception.md +48 -0
  373. package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/argument-out-of-range-exception.md +50 -0
  374. package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/assign-linq-no-data-rows.md +78 -0
  375. package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/assign-type-mismatch.md +91 -0
  376. package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/directory-not-found-exception.md +47 -0
  377. package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/if-condition-compiler-error.md +81 -0
  378. package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/if-wrong-branch.md +85 -0
  379. package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/index-out-of-range-exception.md +48 -0
  380. package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/invalid-operation-exception.md +51 -0
  381. package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/key-not-found-exception.md +45 -0
  382. package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/null-reference-exception.md +2 -0
  383. package/skills/uipath-troubleshoot/references/runtime-exceptions/playbooks/visualbasicvalue-requires-compilation.md +47 -0
  384. package/skills/uipath-troubleshoot/references/runtime-exceptions/summary.md +11 -0
  385. package/skills/uipath-troubleshoot/references/summary.md +138 -5
  386. package/version-manifest.json +2 -2
  387. package/skills/uipath-rpa/references/ui-automation-guide.md +0 -559
  388. package/skills/uipath-rpa/references/uia-configure-target-workflows.md +0 -188
  389. package/skills/uipath-rpa/references/uia-elements-interaction-guide.md +0 -102
  390. package/skills/uipath-rpa/references/uia-prerequisites.md +0 -42
  391. package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/add-queue-item-failed.md +0 -58
  392. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/lookup-range-excel-not-installed.md +0 -36
  393. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/lookup-range-file-locked.md +0 -40
  394. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/lookup-range-null-reference.md +0 -37
  395. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/read-range-null-reference.md +0 -119
@@ -0,0 +1,32 @@
1
+ ---
2
+ confidence: high
3
+ ---
4
+
5
+ # `<name> is not defined` at Runtime (Expression Reference Error)
6
+
7
+ ## Context
8
+
9
+ What this looks like:
10
+ - Run fails with `ReferenceError: <name> is not defined` (e.g. `currentItem is not defined`, `PASS is not defined`)
11
+ - `uip api-workflow validate` reports `Status: Valid` — static validation does NOT resolve JS identifier bindings, so this class of fault only surfaces at run time
12
+
13
+ What can cause it:
14
+ - **Loop iterator without `$` prefix.** A ForEach declares `for.each: "currentItem"`, but the body references it as `${currentItem}` instead of `${$currentItem}`. The executor binds the iterator as the global `$currentItem` — the `$` is part of the identifier — so the unprefixed name has no binding. Same for `for.at` (`$currentItemIndex`) and `catch.as` (`$error`).
15
+ - **Reading the iterator from the wrong place.** `$context.variables.<iteratorName>` — the executor does not put the iterator there.
16
+ - **Unwrapped string literal after a Studio Web save.** An `Assign.set` / `Response` / If `when` literal written as `"PASS"` is normalized by the designer to `"${PASS}"`, turning the literal into a bare identifier reference that has no binding. (Author-side fix belongs to `uipath-api-workflow`; here it explains the runtime error.)
17
+
18
+ What to look for:
19
+ - The exact undefined name in the error vs. the `for.each` / `for.at` / `catch.as` declarations
20
+ - Whether the failing expression uses a plain word where a `$`-prefixed identifier or a `${'literal'}` was intended
21
+
22
+ ## Investigation
23
+
24
+ 1. Reproduce: `uip api-workflow run <Workflow.json> --no-auth --input-arguments '<inputs>' --output json` — note the undefined `<name>`.
25
+ 2. Grep the workflow for `<name>` and compare against the enclosing loop's `for.each`/`for.at` (or catch's `as`). If the declaration is `"currentItem"` and the usage is `${currentItem}`, the `$` prefix is missing.
26
+ 3. If `<name>` is a value the author intended as a literal string (e.g. `PASS`), it is an unwrapped-literal fault — the reference should be `${'PASS'}`.
27
+
28
+ ## Resolution
29
+
30
+ - **If a loop iterator / index / catch var:** prefix every reference with `$` — `${$currentItem}`, `${$currentItemIndex}`, `${$error}`. The `$` is a literal character in the identifier, not expression syntax. Re-run to confirm.
31
+ - **If an unwrapped literal:** wrap it as a JS string inside the expression — `${'PASS'}`. Numbers/booleans and real references (`${$context.variables.X}`) need no change.
32
+ - Always re-run AND re-validate after the fix. For the full authoring rules, the `uipath-api-workflow` skill owns the designer-roundtrip catalog.
@@ -0,0 +1,39 @@
1
+ ---
2
+ confidence: medium
3
+ ---
4
+
5
+ # `$context.outputs.<Activity>` Is Undefined Downstream
6
+
7
+ ## Context
8
+
9
+ Each activity's output is read downstream as `$context.outputs.<Activity>`, where `<Activity>` is the activity's output name (defaults to its id, e.g. `HTTP_1`, `For_Each_1`).
10
+
11
+ What this looks like — two symptom shapes, same fault family:
12
+ - **Hard crash** — `Cannot read properties of undefined (reading '<Activity>')`: `$context.outputs` itself doesn't exist because no upstream activity has exported yet. The `(reading '<Activity>')` fragment names the key the reader expected.
13
+ - **Silent `undefined`** — `$context.outputs` exists (some activity has exported) but the key doesn't match: If-conditions that read a prior activity's output always evaluate false, JS_Invoke scripts return empty, a Response field comes back empty — no hard error.
14
+
15
+ What can cause it:
16
+ - **Producing activity did not `export`.** Every non-Assign activity must propagate state with `{ ...$context, outputs: { ...$context?.outputs, "<Activity>": $output } }`. Without it, its output never lands in `$context.outputs` — and if no other activity has exported either, `$context.outputs` never comes into existence and the downstream read crashes instead of returning `undefined`.
17
+ - **Connector (IntSvc-kind) output read at the root instead of `.content`.** A `UiPath.IntSvc` activity wraps the vendor payload under `.content` — the data is at `$context.outputs.<Activity>.content.<field>`, not `$context.outputs.<Activity>.<field>`. List-shaped ops put the array at `.content` (`.content[0].<field>`).
18
+ - **Slot key vs. export-bucket key mismatch (connector activities only).** For connector activities the `do`-array slot key and the `$context.outputs.<Activity>` export-bucket key can differ (e.g. slot `GetNewestEmail_1` / bucket `getNewestEmail_1`). Reading the wrong one returns `undefined`.
19
+ - **Wrong input accessor.** Reading a workflow input as `$input.<name>` instead of `$workflow.input.<name>` — `$input` is the *previous activity's* output for any non-first activity.
20
+
21
+ What to look for:
22
+ - Whether the referenced `<Activity>` actually has an `export` block, and whether it's a connector activity (check `call: "UiPath.IntSvc"`/`"UiPath.Http"`)
23
+ - Whether the read goes through `.content` for connector outputs
24
+
25
+ ## Investigation
26
+
27
+ 1. Reproduce: `uip api-workflow run <Workflow.json> --no-auth --output json` and log the full output of the producing activity once to inspect its real shape.
28
+ 2. Confirm the producing activity has an `export.as` that spreads `...$context?.outputs` and writes its own key.
29
+ 3. For connector activities, two checks:
30
+ - **Read key:** the key in the downstream `$context.outputs.<Activity>` read must equal the key string written inside the producing activity's `export.as` (`outputs: { ..., "<Activity>": $output }`) — not the activity's `do`-array slot key, which can differ from it for connector activities.
31
+ - **Read path:** connector output is a wrapper — the read must go through `.content`: `$context.outputs.<Activity>.content.<field>`.
32
+ 4. For input reads, confirm the accessor is `$workflow.input.<name>`.
33
+
34
+ ## Resolution
35
+
36
+ - **If missing export:** add the standard outputs export to the producing activity; re-run.
37
+ - **If connector output:** read through `.content` — `$context.outputs.<Activity>.content.<field>` (or `.content[0].<field>` for arrays).
38
+ - **If key mismatch:** regenerate the activity stub (`uip api-workflow registry stub --output json`) and use its `Data.ExportBucketKey` verbatim in `export.as` and in every downstream reference.
39
+ - **If wrong accessor:** switch `$input.<name>` → `$workflow.input.<name>`, and confirm the input is declared in `input.schema` (or has a default) and was passed via `--input-arguments`.
@@ -0,0 +1,38 @@
1
+ ---
2
+ confidence: medium
3
+ ---
4
+
5
+ # API Workflow Pack / Publish / Deploy Fails (or Doesn't Appear in Studio Web)
6
+
7
+ ## Context
8
+
9
+ What this looks like:
10
+ - `uip solution pack` / `publish` / `deploy` returns a failure, or
11
+ - Everything succeeds but the published API project is invisible / not editable in Studio Web, and a direct import fails with `Failed to import new projects at the overwrite operations`
12
+
13
+ What can cause it:
14
+ - **Wrong project type string** — packager error `No CLI tool mapping found for project type 'X'`; API workflow projects must declare `Type: "Api"` (case-sensitive).
15
+ - **Publishing the wrong artifact** — `"Invalid file type. Expected a .zip file"` when a `.nupkg` is passed instead of the wrapping `.zip` from `uip solution pack`.
16
+ - **Auth / naming** — publish 401/403 (not logged in, wrong tenant, insufficient role) or 409 name+version conflict (a package with that name+version already exists).
17
+ - **Stale generated files** — hand-committed or old-CLI `operate.json` / `package-descriptor.json` cause a descriptor mismatch; they are generated by pack and must not be committed.
18
+ - **Missing `project.uiproj`** — the on-disk API workflow project is `project.uiproj` + `Workflow.json` + `entry-points.json` (`uip api-workflow init` scaffolds exactly this). If the `.uiproj` is missing, the package still deploys but Studio Web won't open it — Studio Web requires a `project.uiproj` to recognize a folder as a project. Studio Web always writes it, so this only happens when a project was hand-assembled instead of scaffolded with `uip api-workflow init`. **Fixing the shape is an authoring task — see the `uipath-api-workflow` skill.**
19
+
20
+ What to look for:
21
+ - The exact CLI error string and stage (pack vs publish vs deploy vs Studio Web open)
22
+ - Whether the project folder has `project.uiproj` + `Workflow.json` (present for any `init`-scaffolded project)
23
+
24
+ ## Investigation
25
+
26
+ 1. Re-run the failing step with `--output json` and read the error: `uip solution pack <dir> <out> --output json` / `uip solution publish <zip> --output json`.
27
+ 2. Confirm auth for publish/deploy: `uip login status --output json`; verify `--tenant` matches the target.
28
+ 3. For the "invisible in Studio Web" case, check the project shape: does the folder contain `project.uiproj` (`ProjectType: "Api"`, `MainFile: "Workflow.json"`)?
29
+ 4. For descriptor mismatches, check whether `operate.json` / `package-descriptor.json` were committed by hand.
30
+
31
+ ## Resolution
32
+
33
+ - **If wrong type:** set `Type: "Api"` exactly in the project/solution manifest; re-pack.
34
+ - **If wrong artifact:** publish the `.zip` from `uip solution pack`, not the inner `.nupkg`.
35
+ - **If 401/403:** `uip login`, confirm tenant + role. **If 409:** bump `--version` and re-pack/publish.
36
+ - **If stale generated files:** delete `operate.json` + `package-descriptor.json` and re-pack (the packager regenerates them).
37
+ - **If runtime-only shape:** re-scaffold with `uip api-workflow init` and move the workflow content in, or convert in place (add `project.uiproj` + `entry-points.json`, preserve the project `Id`/`Type`). The authoring fix belongs to the `uipath-api-workflow` skill.
38
+ - **Cross-reference:** for solution lifecycle mechanics and deploy error codes, see the **Solutions** / **Orchestrator** surfaces.
@@ -0,0 +1,37 @@
1
+ ---
2
+ confidence: medium
3
+ ---
4
+
5
+ # API Workflow Run Returns a Non-Successful Status
6
+
7
+ ## Context
8
+
9
+ What this looks like:
10
+ - `uip api-workflow run` (local) or an Orchestrator API-process job (cloud) returns a failure — `Result: "Failure"` with a `Message`/`Instructions`, or job status `Faulted`
11
+ - Usually an activity threw during execution and the workflow did not reach its `Response` — but a `Faulted` job with a clean-looking run can also be a deliberate `Response` outcome (see `markJobAsFailed` below)
12
+
13
+ What can cause it:
14
+ - **Expression fault** — invalid `${...}` syntax, a reference to an undefined variable in strict mode, or a loop iterator / catch variable referenced without its `$` prefix (see [expression-reference-error.md](./expression-reference-error.md))
15
+ - **Undefined upstream output** — an activity reads `$context.outputs.<Activity>` but the producing activity did not `export` (see [output-undefined.md](./output-undefined.md))
16
+ - **JS_Invoke fault** — missing `return`, a runtime error in the script body, or reading context through `arguments[0]` (the runtime passes nothing to the script)
17
+ - **Loop fault** — DoWhile condition variable never updated (infinite loop), missing `#Body`, wrong export pattern
18
+ - **Deliberate `markJobAsFailed`** — a `Response` activity with `markJobAsFailed: true` reports the Orchestrator job as `Faulted` even though every activity ran and the response body was returned. The run itself did not error — the workflow chose to fail the job (e.g. a business-rule branch). Check the reached `Response` before assuming an activity threw.
19
+ - **Connection fault** (cloud only, IntSvc/Http-kind activities) — see [connection-auth-failure.md](./connection-auth-failure.md)
20
+
21
+ What to look for:
22
+ - Whether the fault reproduces locally with `run --no-auth` (structure/expression/logic) or only in cloud (auth/connection/vendor/scope)
23
+ - The failing activity's key (`taskName`) in the error — isolates which activity threw
24
+
25
+ ## Investigation
26
+
27
+ 1. Reproduce and read the executor output: `uip api-workflow run <Workflow.json> --no-auth --output json`. Read `Instructions` first — it often names the fix.
28
+ 2. If it reproduces locally, triage in category order **Structure > Expression > Activity Config > Logic** (see [investigation_guide.md](../investigation_guide.md)). Run `uip api-workflow validate <Workflow.json> --output json` to catch structural/schema faults the run may mask.
29
+ 3. If it runs clean locally but the cloud job is `Faulted`, pull the job evidence: `uip or jobs get <job-key> --output json`, then `uip or jobs logs <job-key> --output json` and `uip traces spans get --job-key <job-key> --output json`. If the logs show the workflow reached its `Response` with no activity error, check the reached `Response` for `markJobAsFailed: true` — the job status is driven by that flag, not by a thrown activity. Compare a passing run vs. the faulting run to see which branch set it.
30
+ 4. Reduce to a minimal repro — isolate the failing activity and confirm each upstream activity `export`s its output.
31
+
32
+ ## Resolution
33
+
34
+ - **If it reproduces locally:** fix the faulting activity per its category (expression / output / loop / JS_Invoke playbook), then re-run AND re-validate until both pass.
35
+ - **If it only fails in cloud:** the shape is sound — pursue connection state, tenant/folder scope, or the real vendor response via the job logs/traces (route to [connection-auth-failure.md](./connection-auth-failure.md) for auth-shaped errors).
36
+ - **If a `Response` set `markJobAsFailed: true`:** the run is behaving as authored — the job is failed on purpose. Confirm the business rule is correct; if the fail was unintended, fix the branch/condition that reaches that `Response` (author-side, `uipath-api-workflow`), don't chase a runtime error that isn't there.
37
+ - **If the executor `Instructions` names a fix:** apply it directly; the executor's guidance is usually exact.
@@ -0,0 +1,14 @@
1
+ # API Workflows Playbooks
2
+
3
+ Covers **why a UiPath API Workflow failed** — the JSON workflows run by `uip api-workflow run` and published to Orchestrator as API processes. Primary investigation surfaces: `uip api-workflow validate` / `run --no-auth` (local repro), `uip is connections ping` (connection health), and `uip or jobs get`/`logs` + `uip traces spans get --job-key` (cloud runs).
4
+
5
+ **Overview:** [overview.md](./overview.md) — dependencies, evidence surfaces, fault families
6
+ **Investigation guide:** [investigation_guide.md](./investigation_guide.md) — reproduce-locally-first, category order, connection verification, cloud-job correlation
7
+
8
+ | Issue | Confidence | Description | Playbook |
9
+ |-------|:---:|-------------|----------|
10
+ | Run returns non-Successful status | Medium | Executor returns `Result: "Failure"` or the Orchestrator job faults: an activity threw, OR a `Response` deliberately set `markJobAsFailed: true`. Triage by category (Structure > Expression > Activity Config > Logic); reproduce with `run --no-auth`. | [run-not-successful.md](./playbooks/run-not-successful.md) |
11
+ | `<name> is not defined` at runtime | High | `ReferenceError` while `validate` still reports Valid. Loop iterator referenced without its `$` prefix (`currentItem` vs `$currentItem`), or an unwrapped string literal normalized to `${literal}` after a Studio Web save. | [expression-reference-error.md](./playbooks/expression-reference-error.md) |
12
+ | `$context.outputs.<Activity>` undefined | Medium | Producing activity missing its `export`, connector output read at the root instead of `.content`, slot-key-vs-export-bucket-key mismatch, or `$input.<name>` used instead of `$workflow.input.<name>`. Silent `undefined` on key mismatch; crashes `Cannot read properties of undefined` when `$context.outputs` doesn't exist at all. | [output-undefined.md](./playbooks/output-undefined.md) |
13
+ | Connector call 401/403 in cloud | Medium | Runs locally, fails once published. **401** (`Invalid Element token`): wrong activity kind (Http kind at a vendor connection), stale connection listing, or tenant/folder mismatch. **403 Forbidden**: broken/disabled or under-scoped connection — reads as `Result: "Failure"` / `not enabled` on `is connections ping`. | [connection-auth-failure.md](./playbooks/connection-auth-failure.md) |
14
+ | Pack / publish / deploy fails, or invisible in Studio Web | Medium | Wrong `Type`, publishing the `.nupkg` not the `.zip`, 401/403/409 on publish, stale generated descriptors, or a project scaffolded by hand without the `project.uiproj` + `Workflow.json` shape (deploys but won't open in Studio Web — authoring concern owned by `uipath-api-workflow`). | [publish-deploy-failure.md](./playbooks/publish-deploy-failure.md) |
@@ -0,0 +1,71 @@
1
+ # UiPath Assistant Investigation Guide
2
+
3
+ Read `overview.md` for the two-log architecture and evidence model before this guide.
4
+
5
+ ## Rules for this domain
6
+
7
+ 1. **Anchor on the reported symptom before opening any log.** A log is a wall of noise; know what you are looking for first. If the user hasn't said what happened, ask in one sentence: what they tried, what they saw, roughly when.
8
+ 2. **A stack trace with a function name beats log grepping.** If the user can paste one (e.g. `at InteractiveConnectFlow.SignIn`), use it to route straight to the matching playbook via `summary.md`.
9
+ 3. **Never grep blindly for "error".** Every archive holds hundreds of benign errors (offline-state noise, expected shutdown IPC timeouts). Correlate to the anchored symptom, not to the string `error`.
10
+ 4. **Mind the timezones.** `Robot.log` is machine-local with an offset (e.g. `+03:00`); `combined.log` is usually UTC. Convert before correlating timestamps across the two files.
11
+ 5. **Never speculate past the evidence.** A timeout means "timeout — likely network"; do not guess DNS vs proxy vs firewall without data. Ask for `curl`/network output instead.
12
+ 6. **Never assume the archive is complete.** Users often paste only the first N lines. If the symptom should have left a trace and you can't find it, ask for the full file.
13
+
14
+ ## Step 1 — Ask for high-value artifacts if the archive is thin
15
+
16
+ `combined.log` captures only main-process logs. These often pinpoint the cause in seconds when the log alone can't:
17
+
18
+ - **DevTools console output** — renderer-side errors, unhandled rejections, stack traces with function names (never reach `combined.log`).
19
+ - **HAR file / Network tab** — failed HTTP calls with status codes, request/response bodies, timings.
20
+ - **Screenshot / recording** of the error toast or dialog, plus the **exact on-screen error text** (usually more specific than what reached disk).
21
+
22
+ ## Step 2 — Scan combined.log first
23
+
24
+ The Electron/Assistant side: user clicks, IPC routes invoked, UI state transitions. Fastest way to see *what the user did* and *how the app responded*.
25
+
26
+ Look for:
27
+ - The IPC route matching the reported action — `/robot/interactiveConnectSignIn` (sign-in), `/robot/connectToServer` (orchestrator connect), `/process/start` (run a process).
28
+ - The `result` field on `Finished running handler` lines — `false` / `null` / missing often means a silent failure.
29
+ - Repeated identical calls within seconds → the user clicking over and over because nothing happens.
30
+ - `channel/*/robotUserStatus` and `channel/*/robotStatus` messages — Offline/Connected state transitions.
31
+ - Any `error` / `isError: true` entries **on the anchored route** (Rule 3).
32
+
33
+ Note the timestamps of the failing actions — you will correlate them with `Robot.log`.
34
+
35
+ ## Step 3 — Cross-reference Robot.log
36
+
37
+ The native Robot service (C#/.NET). Apply the timezone rule (Rule 4) before matching timestamps.
38
+
39
+ Look for:
40
+ - `[ERROR]` entries near the failing-action timestamp.
41
+ - Stack traces with `UiPath.Service.*` or `UiPath.RobotJS.*` namespaces — the class name (e.g. `InteractiveConnectFlow.SignIn`, `CloudConnectFlow.TryOpenFlow`) tells you exactly which flow failed.
42
+ - The failing HTTP endpoint — note the host. `cloud.uipath.com` (production), another UiPath cloud environment, or an on-prem Orchestrator URL tells you which environment the app is pointed at.
43
+
44
+ Route the exception class/endpoint to the matching playbook via `summary.md`.
45
+
46
+ ## Step 4 — Attribute the flow and decide the next action
47
+
48
+ If `Robot.log` names a class/method (e.g. `InteractiveConnectFlow.SignIn`), use the flow name and namespace (`overview.md` § Reading the named flow) to attribute the failure to a layer and route to the matching playbook via `summary.md`.
49
+
50
+ Then split on where the root cause lives:
51
+
52
+ - **User-side cause** (network, VPN/proxy/firewall, DNS, wrong environment, tenant/license/assignment) — the playbook's resolution steps apply; give the user the exact fix and commands to verify.
53
+ - **Product-side cause** — the evidence points at a defect inside the Assistant or Robot itself, not anything the user controls. Capture the exact trace (flow name, exception, timestamps) and report it to UiPath support; do not speculate past what the log shows.
54
+
55
+ ## Data correlation
56
+
57
+ Before concluding from any log line, verify it matches the reported problem:
58
+
59
+ - **Symptom** — the route/exception is the action the user reported (sign-in vs connect vs start), not a nearby unrelated error.
60
+ - **Timestamp** — the line falls in the window the user described, after the timezone conversion (Rule 4).
61
+ - **Environment** — the endpoint host matches the tenant the user is on.
62
+
63
+ If it doesn't match: discard it and keep looking. Do not attribute the failure to the first `[ERROR]` you find.
64
+
65
+ ## Presenting
66
+
67
+ Deliver a concise report (see also `references/presenting.md`):
68
+ 1. **Root cause** — one specific sentence (e.g. "DNS resolution of `cloud.uipath.com` timing out — VPN not connected").
69
+ 2. **Evidence** — the specific log line(s) with file path and line number; clickable links where possible (`[Robot.log:1229](file:///.../Robot.log)`).
70
+ 3. **What to try** — ordered by likelihood, with exact commands where applicable (`curl`, `nslookup`, etc.).
71
+ 4. **Any UX bug worth filing separately** — e.g. a silent 30s failure with no error toast, even when the underlying cause is external.
@@ -0,0 +1,44 @@
1
+ # UiPath Assistant (Desktop)
2
+
3
+ Windows desktop app end users run to sign in, connect to Orchestrator, and start/stop the automations (processes) assigned to them. When it fails, the user exports a **diagnostic archive** and shares it — this domain diagnoses that archive.
4
+
5
+ ## Architecture
6
+
7
+ Two layers, two logs:
8
+
9
+ ```
10
+ UiPath Assistant (Electron)
11
+ ├── Angular renderer ← the UI the user clicks (DevTools console lives here)
12
+ └── main process ← IPC routing, app lifecycle → combined.log
13
+ │ (local IPC)
14
+ ▼
15
+ UiPath Robot service (native .NET) → Robot.log
16
+ │ (HTTPS)
17
+ ▼
18
+ Orchestrator · Identity/cloud · NuGet feeds
19
+ ```
20
+
21
+ - **`combined.log`** — Electron/main-process side: user clicks, which IPC route was invoked, `result` fields, UI status transitions. Usually UTC. Shows *what the user did* and *how the app responded*.
22
+ - **`Robot.log`** — native Robot service (C#/.NET): the actual sign-in / connect / package / process work. **Machine-local time with an offset** (e.g. `+03:00`) — convert before correlating with `combined.log`.
23
+
24
+ ## Evidence model
25
+
26
+ Diagnosis is **on-disk log files + the reported symptom** — there is **no `uip` CLI job/trace/log surface** for the Assistant desktop app (unlike Orchestrator jobs). The "raw data" is the archive files the user already shared, plus higher-value artifacts you ask for (DevTools console, HAR, screenshots). Do not fabricate `uip` commands for this domain.
27
+
28
+ Archive shape: an `ExportDiagnoseArchive` folder (or a loose `combined.log` / `Robot.log`) produced by the Assistant's **Help → Export diagnostic data** action.
29
+
30
+ ## Dependencies
31
+
32
+ - **Orchestrator** — the tenant the Assistant connects to; process list, job start. 4xx/5xx here → cross-reference the `orchestrator` domain.
33
+ - **Identity / cloud** — OAuth/OIDC sign-in (`/identity_/*`, `/discovery_*`). Auth failures surface here.
34
+ - **NuGet feeds** — process packages download from Orchestrator/feed on first start. Feed-unreachable → `NU1101` / package errors.
35
+ - **Network** — VPN, proxy, firewall, DNS between the machine and cloud/on-prem Orchestrator.
36
+
37
+ ## Reading the named flow
38
+
39
+ `Robot.log` traces name the flow that failed (class/method, e.g. `InteractiveConnectFlow.SignIn`, `CloudConnectFlow.TryOpenFlow`) — that name, plus the namespace, tells you which layer to attribute the failure to without needing product source:
40
+
41
+ - **`UiPath.Service.*` / `UiPath.RobotJS.*`** in `Robot.log` — the native Robot service (sign-in, Orchestrator connect, package/process work).
42
+ - **IPC routes** in `combined.log` (`/robot/*`, `/process/*`) — the Assistant Electron app.
43
+
44
+ Use the flow name to route to the right playbook via `summary.md` and to describe the failing step precisely in your report. If the evidence points at a defect inside the Assistant or Robot itself — not the user's network, configuration, or tenant — capture the exact trace and report it to UiPath support.
@@ -0,0 +1,38 @@
1
+ ---
2
+ confidence: low
3
+ ---
4
+
5
+ # Assistant Crashes or Closes Unexpectedly
6
+
7
+ ## Context
8
+
9
+ The Assistant window closes, goes white/blank, or freezes then dies — with or without an error. Low confidence: crashes have many causes and `combined.log` alone rarely captures the fatal frame.
10
+
11
+ What this looks like:
12
+ - `combined.log` ends abruptly with no clean shutdown line, or shows a main-process exception just before it stops.
13
+ - The **renderer** side (where most crashes originate) is not in `combined.log` — you need the **DevTools console** for an unhandled rejection / `Uncaught` error with a stack trace and function name.
14
+ - `Robot.log` usually keeps running (separate process) unless the crash is Robot-service-side.
15
+
16
+ What can cause it:
17
+ 1. **Renderer exception** — an unhandled error/rejection in the Angular UI (blank window or immediate close). Evidence lives in DevTools console, not `combined.log`.
18
+ 2. **Main-process exception** — an uncaught exception in the Electron main process → `combined.log` shows it as the last line.
19
+ 3. **Robot-service crash** — the native service died; `Robot.log` ends with a fatal trace and the Assistant loses its backend.
20
+ 4. **Environment** — GPU/driver (white screen), out-of-memory, or antivirus killing the process — no in-app trace; corroborate with Windows Event Viewer.
21
+
22
+ What to look for:
23
+ - **Is it reproducible on a specific action?** If so, treat it as that action's failure first (sign-in / connect / start) — the crash may be a symptom, not the root.
24
+ - Which process died — Assistant (Electron) vs Robot service — decides `combined.log`/DevTools vs `Robot.log`.
25
+
26
+ ## Investigation
27
+
28
+ 1. Anchor: does the crash follow a specific action? If yes, run that action's playbook first; a crash on sign-in/connect/start is usually the underlying failure surfacing.
29
+ 2. Read the **tail** of `combined.log` — a main-process exception on the last line → cause 2; a clean-then-gone tail with a blank UI → cause 1, **ask for the DevTools console** (the renderer stack is the whole answer).
30
+ 3. If `Robot.log` ends with a fatal trace at the crash time (timezone-convert) → cause 3; route the exception class via `summary.md`.
31
+ 4. If no app-side trace anywhere → cause 4; ask for **Windows Event Viewer** (Application log) entries for `UiPath.Assistant` / `.NET Runtime` at the crash time, and GPU/AV details.
32
+
33
+ ## Resolution
34
+
35
+ - **Cause 1 (renderer):** capture the DevTools stack (component/service name + error); apply a workaround for the specific error and report the crash to UiPath support with the stack.
36
+ - **Cause 2 (main process):** capture the `combined.log` exception (handler + stack) and report it to UiPath support.
37
+ - **Cause 3 (Robot service):** route the `Robot.log` fatal exception via `summary.md`; if it maps to sign-in/connect/start, fix that root cause.
38
+ - **Cause 4 (environment):** disable GPU acceleration for the white-screen/driver case, raise available memory, or add an AV exclusion for the Assistant/Robot executables per the Event Viewer evidence.
@@ -0,0 +1,43 @@
1
+ ---
2
+ confidence: medium
3
+ ---
4
+
5
+ # Assistant Cannot Connect to Orchestrator
6
+
7
+ ## Context
8
+
9
+ The user is signed in but the Assistant cannot reach/attach to its Orchestrator tenant — stays Offline, "Connecting…" never resolves, or drops to disconnected. Distinct from sign-in (`sign-in-failure.md`): the identity step succeeded, the Orchestrator attach did not.
10
+
11
+ What this looks like:
12
+ - `combined.log`: `/robot/connectToServer` invoked (often repeated); `Finished running handler` with `result: false`/`null`; `robotStatus` transitions to Offline/Disconnected.
13
+ - `Robot.log`: a trace in `CloudConnectFlow` (e.g. `CloudConnectFlow.TryOpenFlow`) or the connect path; `TaskCanceledException` / `HttpClient.Timeout`, `HttpRequestException`, or an HTTP `401` / `403` against an Orchestrator URL (`/odata/*`, `/api/*`).
14
+ - The Orchestrator host in `Robot.log` — cloud (`cloud.uipath.com`) or an on-prem URL.
15
+
16
+ What can cause it:
17
+ 1. **Orchestrator unreachable** — `TaskCanceledException` / `HttpClient.Timeout` / `HttpRequestException` reaching the Orchestrator host: network (VPN/proxy/firewall/DNS), or on-prem Orchestrator down.
18
+ 2. **Machine/robot not authorized** — `401` / `403`: the machine key / robot is not registered to the tenant/folder, or the license/robot assignment is missing.
19
+ 3. **Wrong Orchestrator URL** — the connect target host is not the tenant the user belongs to (stale or mistyped on-prem URL).
20
+ 4. **TLS/certificate** — on-prem with a self-signed or untrusted cert: TLS handshake failure in the connect trace.
21
+
22
+ What to look for:
23
+ - Transport error vs HTTP status — same split as sign-in; it decides cause 1 vs 2.
24
+ - Whether sign-in itself succeeded (rules this in vs `sign-in-failure.md`).
25
+
26
+ ## Investigation
27
+
28
+ 1. Confirm sign-in succeeded (`interactiveConnectSignIn` result true earlier in `combined.log`); if not, go to `sign-in-failure.md` first.
29
+ 2. Find `/robot/connectToServer` in `combined.log` and note the timestamp and `result`.
30
+ 3. In `Robot.log` (timezone-convert), read the `CloudConnectFlow` trace at that timestamp:
31
+ - Transport exception, no HTTP status → cause 1.
32
+ - `401` / `403` from the Orchestrator host → cause 2.
33
+ - TLS/cert error → cause 4.
34
+ - Endpoint host ≠ expected tenant → cause 3.
35
+ 4. For a `401`/`403` (cause 2), the Orchestrator side is the authority — cross-reference the `orchestrator` domain (machine/robot registration, license) before concluding.
36
+ 5. For cause 1, ask the user to `curl -v https://<orchestrator-host>/api/status` from the machine to isolate DNS / proxy / firewall / server-down.
37
+
38
+ ## Resolution
39
+
40
+ - **Cause 1 (unreachable):** restore connectivity to the Orchestrator host (VPN, proxy/firewall allowlist, DNS); for on-prem, confirm the Orchestrator service is up. Re-test with the `curl` above.
41
+ - **Cause 2 (`401`/`403`):** register/assign the machine and robot to the correct tenant/folder and confirm an available license — resolve via the `orchestrator` domain, then reconnect.
42
+ - **Cause 3 (wrong URL):** correct the Orchestrator URL in Assistant → Preferences and reconnect.
43
+ - **Cause 4 (TLS/cert):** install the on-prem Orchestrator's certificate chain into the machine trust store (or fix the server cert); reconnect.
@@ -0,0 +1,41 @@
1
+ ---
2
+ confidence: medium
3
+ ---
4
+
5
+ # Process Missing or Won't Start in the Assistant
6
+
7
+ ## Context
8
+
9
+ The Assistant is signed in and connected, but a process the user expects is not listed, or clicking it fails to start.
10
+
11
+ What this looks like:
12
+ - **Missing:** the process list is empty or short; `combined.log` shows the list fetched with few/zero entries; `robotStatus` is Connected.
13
+ - **Won't start:** `combined.log` shows `/process/start` invoked with `result: false`/`null`, often repeated.
14
+ - `Robot.log` on a start attempt: package restore/download errors — `NU1101` ("Unable to find package"), NuGet feed URLs, or a download `TaskCanceledException`/`HttpRequestException`; or a launch error before the workflow runs.
15
+
16
+ What can cause it:
17
+ 1. **Package feed unreachable** — `NU1101` / feed timeout: the process package cannot be downloaded from Orchestrator/the NuGet feed (network, or feed misconfigured).
18
+ 2. **Not assigned / wrong folder scope** — the process is not assigned to this user's robot, or lives in a folder the user's robot isn't in → it never appears (missing case).
19
+ 3. **License / robot type mismatch** — no attended license, or the robot type can't run this process.
20
+ 4. **Package/dependency error at launch** — the package downloads but a missing dependency or corrupt package fails the launch (error in `Robot.log` before first activity).
21
+
22
+ What to look for:
23
+ - Missing vs won't-start — the two split cause 2/3 (missing) from cause 1/4 (start fails).
24
+ - On a start failure, whether `Robot.log` shows a **download** error (`NU1101`, feed URL) vs a **launch** error after download.
25
+
26
+ ## Investigation
27
+
28
+ 1. Anchor: missing from the list, or listed-but-won't-start? Note the exact process name.
29
+ 2. **Missing:** in `combined.log` confirm the process-list fetch returned few/zero entries while Connected → the list is authoritative, so the process isn't assigned/in scope for this robot → cross-reference the `orchestrator` domain (process assignment, folder, license).
30
+ 3. **Won't start:** find `/process/start` in `combined.log`, note the timestamp, then read `Robot.log` (timezone-convert) at that point:
31
+ - `NU1101` / feed URL / download timeout → cause 1.
32
+ - Download succeeded, then a dependency/corrupt-package error → cause 4.
33
+ - License/robot-type error → cause 3.
34
+ 4. For cause 1, capture the feed host and ask the user to `curl -v <feed-url>` from the machine to separate network from feed config.
35
+
36
+ ## Resolution
37
+
38
+ - **Cause 1 (feed unreachable):** restore access to the package feed (network/proxy/firewall), or fix the feed URL/credentials in Orchestrator; retry start.
39
+ - **Cause 2 (assignment/scope):** assign the process to the user's robot and confirm the robot is in the process's folder — resolve via the `orchestrator` domain; the process then appears.
40
+ - **Cause 3 (license/type):** allocate an attended license / correct the robot type for the user; reconnect and retry.
41
+ - **Cause 4 (package/dependency):** republish the package with its dependencies resolved (or fix the corrupt version); clear the local package cache and retry.
@@ -0,0 +1,42 @@
1
+ ---
2
+ confidence: medium
3
+ ---
4
+
5
+ # Assistant Sign-In Fails
6
+
7
+ ## Context
8
+
9
+ The user clicks sign in to UiPath cloud/Identity from the Assistant and it never completes — spins, returns to the signed-out state, or shows an auth error toast.
10
+
11
+ What this looks like:
12
+ - `combined.log`: the `/robot/interactiveConnectSignIn` IPC route invoked, often repeated within seconds; `Finished running handler` with `result: false`/`null`; `robotUserStatus` stays Offline.
13
+ - `Robot.log`: a stack trace in `InteractiveConnectFlow.SignIn` (namespace `UiPath.Service.*`); a failing call to `/identity_/*` or `/discovery_*`; `HttpRequestException`, `TaskCanceledException`, or an HTTP `401` / `403`.
14
+ - Exact on-screen text if the user can supply it (e.g. "We couldn't sign you in").
15
+
16
+ What can cause it:
17
+ 1. **Cloud/Identity unreachable** — `HttpRequestException` / `TaskCanceledException` on `/discovery_*` or `/identity_/*`: DNS, VPN, proxy, or firewall between the machine and Identity.
18
+ 2. **Auth rejected** — `401` / `403` from Identity: expired/invalid token, MFA/Conditional Access the desktop flow can't satisfy, or the account lacks tenant access.
19
+ 3. **Wrong/stale environment** — the endpoint host in `Robot.log` is not the tenant the user expects (e.g. a non-production environment for a production user), or a stale cached URL.
20
+ 4. **Browser-callback not returned** — the system browser completed sign-in but the redirect never reached the Assistant (default-browser/protocol-handler issue) — the DevTools console / no callback line is the tell.
21
+
22
+ What to look for:
23
+ - Which endpoint host `Robot.log` calls, and whether it resolves at all.
24
+ - Whether the failure is a transport error (cause 1) or an HTTP status (cause 2) — that split drives everything.
25
+
26
+ ## Investigation
27
+
28
+ 1. Anchor: confirm the user was signing in (not connecting to an already-signed-in Orchestrator — that is `orchestrator-connection-failure.md`).
29
+ 2. In `combined.log`, find `/robot/interactiveConnectSignIn` and its `result`. Note the timestamp.
30
+ 3. In `Robot.log` (timezone-convert first), read the `InteractiveConnectFlow.SignIn` trace near that timestamp. Classify the failure:
31
+ - Transport exception (`TaskCanceledException` / `HttpRequestException`, no HTTP status) → cause 1.
32
+ - HTTP `401` / `403` → cause 2.
33
+ - Endpoint host ≠ expected tenant → cause 3.
34
+ - No server-side trace at all, but the browser opened → cause 4; ask for DevTools console.
35
+ 4. For cause 1, ask the user to `curl -v https://<host>/identity_/.well-known/openid-configuration` (or `nslookup <host>`) from the same machine to separate DNS / proxy / firewall.
36
+
37
+ ## Resolution
38
+
39
+ - **Cause 1 (unreachable):** restore connectivity to the endpoint host — connect VPN, whitelist the host in the proxy/firewall, or fix DNS. Re-test with the `curl` above before retrying sign-in.
40
+ - **Cause 2 (`401`/`403`):** confirm the account has access to the tenant and is not blocked by MFA/Conditional Access for the desktop flow; sign out fully and back in to refresh the token. If Conditional Access blocks it, exempt the desktop app flow per org policy.
41
+ - **Cause 3 (wrong environment):** point the Assistant at the correct Orchestrator/cloud URL (Assistant → Preferences → Orchestrator settings) and sign in again.
42
+ - **Cause 4 (callback lost):** set the correct default browser / re-register the `uipath://` protocol handler; retry. File a UX bug if the app hangs silently instead of surfacing the lost callback.
@@ -0,0 +1,18 @@
1
+ # UiPath Assistant Playbooks
2
+
3
+ **Overview:** [overview.md](./overview.md) — the two-log architecture (`combined.log` / `Robot.log`) and evidence model (on-disk logs, no `uip` CLI surface)
4
+ **Investigation guide:** [investigation_guide.md](./investigation_guide.md) — anchor-on-symptom rules, high-value artifacts to request, combined.log-first scan, Robot.log timezone correlation, flow attribution and escalation
5
+
6
+ | Issue | Confidence | Description | Playbook |
7
+ |-------|:---:|-------------|----------|
8
+ | Sign-in fails | Medium | Signed-out stays signed-out. `combined.log` `/robot/interactiveConnectSignIn` `result: false`; `Robot.log` `InteractiveConnectFlow.SignIn` — transport error (`TaskCanceledException`/`HttpRequestException`) on `/identity_`/`/discovery_`, or HTTP `401`/`403`, wrong environment, or lost browser callback | [sign-in-failure.md](./playbooks/sign-in-failure.md) |
9
+ | Cannot connect to Orchestrator | Medium | Signed in but stays Offline. `combined.log` `/robot/connectToServer` `result: false`; `Robot.log` `CloudConnectFlow` — Orchestrator unreachable (`HttpClient.Timeout`/`TaskCanceledException`), `401`/`403` (machine/robot not authorized), wrong URL, or TLS/cert | [orchestrator-connection-failure.md](./playbooks/orchestrator-connection-failure.md) |
10
+ | Process missing or won't start | Medium | Process not listed, or `/process/start` fails. `Robot.log` package errors (`NU1101`, feed timeout), not-assigned/wrong-folder scope, license/robot-type mismatch, or a package/dependency launch error | [process-missing-or-unstartable.md](./playbooks/process-missing-or-unstartable.md) |
11
+ | Crashes or closes unexpectedly | Low | Window closes/blanks/freezes. Renderer exception (DevTools console, not `combined.log`), main-process exception (`combined.log` tail), Robot-service crash (`Robot.log`), or environment (GPU/OOM/AV) | [assistant-crash.md](./playbooks/assistant-crash.md) |
12
+
13
+ ## No-signature routing
14
+
15
+ | Symptom | Entry |
16
+ |---|---|
17
+ | Assistant hangs on an action with no error toast and no clear log trace | Anchor on the action (sign-in / connect / start), run that playbook, and treat the silent hang as a UX bug to file (investigation guide § Presenting, item 4) |
18
+ | Archive has an expected trace missing | The user likely pasted a truncated file — ask for the full `combined.log` / `Robot.log` (investigation guide Rule 6) |
@@ -0,0 +1,49 @@
1
+ # Coded Apps
2
+
3
+ UiPath Coded Apps — custom web front-ends (**coded web apps**) and Action Center form apps (**coded action apps**) built in TypeScript/React and calling UiPath APIs through the `@uipath/uipath-typescript` SDK. Scaffolded, packed, published, and deployed with `uip codedapp`.
4
+
5
+ Unlike server-side products, a coded app runs **in the user's browser**. Most failures surface as an OAuth redirect error, a failed HTTP call, or a broken deployed URL — not as a faulted job with a trace.
6
+
7
+ ## Runtime & Auth Model
8
+
9
+ - **SDK config comes from `<meta name="uipath:*">` tags**, not from code. `new UiPath()` reads `clientId`, `scope`, `orgName`, `tenantName`, `baseUrl`, `redirectUri` from those tags. Locally the tags are injected from **`uipath.json`** (project root, committed) — the single config source.
10
+ - **Auth is browser OAuth 2.0 Authorization Code + PKCE.** The External Application backing a coded app is a **non-confidential (public) client** with **user-delegated scopes**. The app redirects to UiPath, the user signs in, and the SDK exchanges the code for a token via `sdk.completeOAuth()`.
11
+ - **API host is the API subdomain** (`api.uipath.com`), NOT the portal domain (`cloud.uipath.com`). The portal domain does not return browser CORS headers.
12
+ - **Deployed apps** are served under a platform-routed URL, so the app must be built with a **relative** Vite base (`base: './'`) and read its route prefix from `getAppBase()` — an absolute or hardcoded base breaks asset/routing resolution after deploy.
13
+
14
+ ## Dependencies
15
+
16
+ - **Identity Server** — issues the OAuth token; owns the External Application (redirect URIs, scopes). Inspect/fix with `uip admin external-apps`.
17
+ - **Orchestrator / Data Fabric / Maestro / Action Center** — the APIs the SDK services call; each call needs a matching OAuth scope.
18
+ - **Apps service** — hosts and routes the deployed app; registered by `uip codedapp publish` / `deploy`.
19
+
20
+ ## CLI
21
+
22
+ ```
23
+ uip codedapp push [project-id] — push local source to Studio Web
24
+ uip codedapp pull [project-id] — pull project files from Studio Web
25
+ uip codedapp pack <dist> — package build output into .nupkg
26
+ uip codedapp publish — upload .nupkg + register the app
27
+ uip codedapp deploy — deploy or upgrade the app (registers prod redirect URI)
28
+ uip admin external-apps get <client-id> — registered redirect URIs + scopes of the OAuth client
29
+ uip admin external-apps update <client-id> — add/replace redirect URIs (--redirect-uri) or scopes (--user-scope)
30
+ ```
31
+
32
+ Key commands for troubleshooting:
33
+ - `uip admin external-apps get <client-id> --output json` — the External Application state: what redirect URIs and scopes are actually registered. Compare against what `uipath.json` requests.
34
+ - `uip admin external-apps update <client-id> --redirect-uri '<full-list>' --output json` — register a redirect URI. **`--redirect-uri` and `--user-scope` REPLACE the existing list** — always pass the complete desired set (existing + new), read first from `get`.
35
+ - `uip admin external-apps update <client-id> --user-scope '<full-list>' --output json` — register scopes.
36
+
37
+ ## Evidence Sources
38
+
39
+ There is **no runtime job/trace/log CLI** for a deployed coded app. Diagnosis is current-state + the error signature the user reports:
40
+
41
+ | Source | What it tells you |
42
+ |--------|-------------------|
43
+ | Error string the user pastes | OAuth error param (`redirect_uri_mismatch`, `invalid_scope`), HTTP status (401/403/404), CORS message, deploy output |
44
+ | `uipath.json` (project root) | What the app **requests**: `clientId`, `scope`, `baseUrl`, `redirectUri` |
45
+ | `uip admin external-apps get <client-id>` | What the External Application **allows**: registered redirect URIs and scopes |
46
+ | `.uipath/app.config.json` | Deploy result: `appUrl`, `systemName` (present only after a successful `deploy`) |
47
+ | `vite.config.ts` | `base` and `server.port` — governs deployed routing and local dev URL |
48
+
49
+ The mismatch between what the app *requests* (`uipath.json`) and what the client *allows* (`external-apps get`) is the root of most coded-app auth failures.
@@ -0,0 +1,66 @@
1
+ ---
2
+ confidence: medium
3
+ ---
4
+
5
+ # Action App: Form Data Not Loading
6
+
7
+ ## Context
8
+
9
+ Applies to coded **action** apps (Action Center form apps built with `@uipath/coded-action-app`), not web apps.
10
+
11
+ What this looks like:
12
+ - The action app renders but the form is blank — fields that should be pre-filled from the task stay empty
13
+ - `codedActionAppService.getTask()` resolves to `null`/`undefined`, or rejects, and the app has no visible error
14
+ - Console may show an error thrown from `@uipath/coded-action-app` `getTask`, or nothing at all (silent failure — soft signature)
15
+
16
+ What can cause it:
17
+ - `getTask()` failed and the app swallowed it — no `.catch()` / error handling, so the empty form is the only symptom
18
+ - The app was opened **outside an Action Center context** (directly by URL) — `getTask()` requires the Action Center host that injects the task context
19
+ - The `@uipath/coded-action-app` package is missing from the app
20
+ - The app was published as type `Web` instead of `Action` (`uip codedapp publish -t Action`), so it is not wired into Action Center
21
+
22
+ What to look for:
23
+ - Whether `getTask()` has error handling at all — an unlogged rejection presents identically to "no data"
24
+ - Whether the app is being opened from an Action Center task assignment vs. directly
25
+ - Whether the package is installed and the app was published as `Action`
26
+
27
+ ## Investigation
28
+
29
+ 1. Confirm error handling exists on the task load. If the code calls `getTask()` without a `.catch`, add logging to surface the real error:
30
+
31
+ ```typescript
32
+ codedActionAppService.getTask()
33
+ .then((task) => { console.log('Task loaded:', task); if (task?.data) setFormData(task.data as FormData); })
34
+ .catch((err) => console.error('getTask failed:', err));
35
+ ```
36
+
37
+ Read the console output — the thrown error usually names the cause directly.
38
+
39
+ 2. Confirm the app is opened from an Action Center task (an assigned action item), not by pasting the app URL. `getTask()` returns no task without the Action Center context.
40
+
41
+ 3. Confirm the package is installed:
42
+
43
+ ```bash
44
+ grep -n "@uipath/coded-action-app" package.json
45
+ ```
46
+
47
+ 4. Confirm the app was published as an Action app (not Web) — an action app published as `Web` never receives a task context. Re-publish with `-t Action` if wrong (see Resolution).
48
+
49
+ ## Resolution
50
+
51
+ - **If `getTask()` fails silently:** add the `.catch` + logging above so the error is visible, then fix the underlying cause it reports.
52
+
53
+ - **If opened outside Action Center:** open the app from its Action Center task assignment. Direct-URL access cannot supply a task.
54
+
55
+ - **If the package is missing:** install it, then rebuild and republish:
56
+
57
+ ```bash
58
+ npm install @uipath/coded-action-app --@uipath:registry=https://registry.npmjs.org
59
+ ```
60
+
61
+ - **If published as the wrong type:** republish and deploy as an action app:
62
+
63
+ ```bash
64
+ uip codedapp publish -t Action
65
+ uip codedapp deploy
66
+ ```