@uipath/skills 1.199.0 → 1.200.0

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 (345) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/CODEOWNERS +14 -8
  4. package/README.md +18 -3
  5. package/assets/skill-status.json +9 -1
  6. package/assets/uip-catalog-snapshot.json +227 -21
  7. package/package.json +11 -2
  8. package/scripts/npm-package-lifecycle.mjs +46 -0
  9. package/skills/uipath-admin/SKILL.md +5 -1
  10. package/skills/uipath-admin/references/audit-commands.md +1 -1
  11. package/skills/uipath-admin/references/audit-workflow-guide.md +9 -0
  12. package/skills/uipath-agents/SKILL.md +2 -2
  13. package/skills/uipath-agents/references/lowcode/capabilities/context/index.md +7 -0
  14. package/skills/uipath-agents/references/lowcode/capabilities/integration-service/integration-service.md +5 -6
  15. package/skills/uipath-agents/references/lowcode/critical-rules/critical-rules.md +1 -1
  16. package/skills/uipath-agents/references/lowcode/evaluations/evaluation-sets.md +5 -0
  17. package/skills/uipath-agents/references/lowcode/project-lifecycle.md +3 -3
  18. package/skills/uipath-agents/references/lowcode/prompting/autonomous-agent-prompting-guide.md +3 -2
  19. package/skills/uipath-api-workflow/SKILL.md +2 -1
  20. package/skills/uipath-api-workflow/references/cli-reference.md +3 -3
  21. package/skills/uipath-coded-apps/SKILL.md +3 -2
  22. package/skills/uipath-coded-apps/assets/fixtures/governance-dashboard-starter-kit.tar.gz +0 -0
  23. package/skills/uipath-coded-apps/assets/templates/web-app-template.md +1 -1
  24. package/skills/uipath-coded-apps/references/create-web-app.md +60 -48
  25. package/skills/uipath-coded-apps/references/dashboards/CAPABILITY.md +2 -2
  26. package/skills/uipath-coded-apps/references/dashboards/plugins/build/impl.md +2 -2
  27. package/skills/uipath-coded-apps/references/dashboards/primitives/tier-resolution.md +16 -16
  28. package/skills/uipath-coded-apps/references/oauth-scopes.md +28 -272
  29. package/skills/uipath-coded-apps/references/sdk/action-center.md +26 -243
  30. package/skills/uipath-coded-apps/references/sdk/agents.md +20 -130
  31. package/skills/uipath-coded-apps/references/sdk/conversational-agent.md +52 -706
  32. package/skills/uipath-coded-apps/references/sdk/data-fabric.md +20 -237
  33. package/skills/uipath-coded-apps/references/sdk/feedback.md +4 -139
  34. package/skills/uipath-coded-apps/references/sdk/governance-traces.md +7 -55
  35. package/skills/uipath-coded-apps/references/sdk/governance.md +4 -44
  36. package/skills/uipath-coded-apps/references/sdk/imports.md +77 -35
  37. package/skills/uipath-coded-apps/references/sdk/maestro.md +29 -406
  38. package/skills/uipath-coded-apps/references/sdk/orchestrator.md +30 -324
  39. package/skills/uipath-coded-apps/references/sdk/pagination.md +9 -67
  40. package/skills/uipath-coded-apps/references/sdk/traces.md +8 -43
  41. package/skills/uipath-functions/SKILL.md +23 -23
  42. package/skills/uipath-governance/SKILL.md +5 -4
  43. package/skills/uipath-governance/references/cli-cheatsheet.md +2 -1
  44. package/skills/uipath-governance/references/compliance-pack/coverage/impl.md +143 -58
  45. package/skills/uipath-governance/references/compliance-pack/restore/impl.md +61 -0
  46. package/skills/uipath-human-in-the-loop/SKILL.md +4 -2
  47. package/skills/uipath-insights/SKILL.md +17 -18
  48. package/skills/uipath-ixp/SKILL.md +12 -7
  49. package/skills/uipath-ixp/references/cli-reference.md +71 -9
  50. package/skills/uipath-ixp/references/improve-prompts-guide.md +23 -9
  51. package/skills/uipath-ixp/references/label-documents-guide.md +33 -5
  52. package/skills/uipath-maestro-bpmn/SKILL.md +15 -14
  53. package/skills/uipath-maestro-bpmn/references/cli-conventions.md +15 -6
  54. package/skills/uipath-maestro-bpmn/references/structural-bpmn.md +18 -17
  55. package/skills/uipath-maestro-case/SKILL.md +46 -33
  56. package/skills/uipath-maestro-case/assets/templates/sdd-template.md +77 -37
  57. package/skills/uipath-maestro-case/assets/templates/sdd-viewer.html +0 -2
  58. package/skills/uipath-maestro-case/references/bindings-and-expressions.md +3 -1
  59. package/skills/uipath-maestro-case/references/bindings-v2-sync.md +2 -2
  60. package/skills/uipath-maestro-case/references/brownfield.md +15 -5
  61. package/skills/uipath-maestro-case/references/case-commands.md +19 -3
  62. package/skills/uipath-maestro-case/references/case-editing-operations.md +24 -21
  63. package/skills/uipath-maestro-case/references/case-schema.md +38 -16
  64. package/skills/uipath-maestro-case/references/connector-trigger-common.md +15 -8
  65. package/skills/uipath-maestro-case/references/evals/evals.json +35 -18
  66. package/skills/uipath-maestro-case/references/implementation.md +86 -71
  67. package/skills/uipath-maestro-case/references/phase-0-interview.md +92 -23
  68. package/skills/uipath-maestro-case/references/phased-execution.md +70 -55
  69. package/skills/uipath-maestro-case/references/placeholder-tasks.md +5 -5
  70. package/skills/uipath-maestro-case/references/planning.md +57 -9
  71. package/skills/uipath-maestro-case/references/plugins/case/impl-json.md +7 -5
  72. package/skills/uipath-maestro-case/references/plugins/case/planning.md +1 -1
  73. package/skills/uipath-maestro-case/references/plugins/conditions/case-exit-conditions/impl-json.md +5 -5
  74. package/skills/uipath-maestro-case/references/plugins/conditions/stage-entry-conditions/impl-json.md +41 -5
  75. package/skills/uipath-maestro-case/references/plugins/conditions/stage-entry-conditions/planning.md +27 -3
  76. package/skills/uipath-maestro-case/references/plugins/conditions/stage-exit-conditions/impl-json.md +6 -6
  77. package/skills/uipath-maestro-case/references/plugins/conditions/stage-exit-conditions/planning.md +3 -1
  78. package/skills/uipath-maestro-case/references/plugins/conditions/task-entry-conditions/impl-json.md +20 -7
  79. package/skills/uipath-maestro-case/references/plugins/conditions/task-entry-conditions/planning.md +37 -4
  80. package/skills/uipath-maestro-case/references/plugins/sla/impl-json.md +24 -13
  81. package/skills/uipath-maestro-case/references/plugins/sla/planning.md +9 -3
  82. package/skills/uipath-maestro-case/references/plugins/stages/impl-json.md +4 -0
  83. package/skills/uipath-maestro-case/references/plugins/stages/planning.md +4 -1
  84. package/skills/uipath-maestro-case/references/plugins/tasks/action/impl-json.md +3 -1
  85. package/skills/uipath-maestro-case/references/plugins/tasks/action/planning.md +2 -0
  86. package/skills/uipath-maestro-case/references/plugins/tasks/agent/impl-json.md +3 -2
  87. package/skills/uipath-maestro-case/references/plugins/tasks/agent/planning.md +4 -2
  88. package/skills/uipath-maestro-case/references/plugins/tasks/api-workflow/impl-json.md +3 -2
  89. package/skills/uipath-maestro-case/references/plugins/tasks/api-workflow/planning.md +4 -2
  90. package/skills/uipath-maestro-case/references/plugins/tasks/case-management/impl-json.md +3 -2
  91. package/skills/uipath-maestro-case/references/plugins/tasks/case-management/planning.md +4 -2
  92. package/skills/uipath-maestro-case/references/plugins/tasks/connector-activity/impl-json.md +1 -1
  93. package/skills/uipath-maestro-case/references/plugins/tasks/connector-activity/planning.md +2 -0
  94. package/skills/uipath-maestro-case/references/plugins/tasks/connector-trigger/impl-json.md +1 -1
  95. package/skills/uipath-maestro-case/references/plugins/tasks/connector-trigger/planning.md +2 -0
  96. package/skills/uipath-maestro-case/references/plugins/tasks/create-inline-common.md +1 -1
  97. package/skills/uipath-maestro-case/references/plugins/tasks/process/impl-json.md +3 -2
  98. package/skills/uipath-maestro-case/references/plugins/tasks/process/planning.md +6 -4
  99. package/skills/uipath-maestro-case/references/plugins/tasks/rpa/impl-json.md +3 -2
  100. package/skills/uipath-maestro-case/references/plugins/tasks/rpa/planning.md +4 -2
  101. package/skills/uipath-maestro-case/references/plugins/tasks/wait-for-timer/impl-json.md +4 -3
  102. package/skills/uipath-maestro-case/references/plugins/tasks/wait-for-timer/planning.md +4 -0
  103. package/skills/uipath-maestro-case/references/plugins/triggers/event/impl-json.md +17 -14
  104. package/skills/uipath-maestro-case/references/plugins/triggers/event/planning.md +1 -1
  105. package/skills/uipath-maestro-case/references/plugins/triggers/manual/impl-json.md +13 -10
  106. package/skills/uipath-maestro-case/references/plugins/triggers/timer/impl-json.md +18 -16
  107. package/skills/uipath-maestro-case/references/plugins/triggers/timer/planning.md +2 -2
  108. package/skills/uipath-maestro-case/references/plugins/variables/bindings/impl-json.md +1 -1
  109. package/skills/uipath-maestro-case/references/plugins/variables/global-vars/impl-json.md +11 -9
  110. package/skills/uipath-maestro-case/references/plugins/variables/io-binding/impl-json.md +6 -2
  111. package/skills/uipath-maestro-case/references/plugins/variables/io-binding/planning.md +19 -1
  112. package/skills/uipath-maestro-case/references/registry-discovery.md +3 -3
  113. package/skills/uipath-maestro-case/references/sdd-generation-rules.md +155 -51
  114. package/skills/uipath-maestro-case/references/sla-response-shapes.md +74 -0
  115. package/skills/uipath-maestro-flow/SKILL.md +4 -3
  116. package/skills/uipath-maestro-flow/references/author/CAPABILITY.md +3 -0
  117. package/skills/uipath-maestro-flow/references/author/references/editing-operations-json.md +10 -17
  118. package/skills/uipath-maestro-flow/references/author/references/editing-operations.md +1 -1
  119. package/skills/uipath-maestro-flow/references/author/references/greenfield.md +8 -6
  120. package/skills/uipath-maestro-flow/references/author/references/planning-impl.md +1 -1
  121. package/skills/uipath-maestro-flow/references/author/references/plugins/agent/impl.md +4 -9
  122. package/skills/uipath-maestro-flow/references/author/references/plugins/agentic-process/impl.md +3 -7
  123. package/skills/uipath-maestro-flow/references/author/references/plugins/api-workflow/impl.md +5 -8
  124. package/skills/uipath-maestro-flow/references/author/references/plugins/connector/impl.md +11 -4
  125. package/skills/uipath-maestro-flow/references/author/references/plugins/flow/impl.md +3 -7
  126. package/skills/uipath-maestro-flow/references/author/references/plugins/inline-agent/impl.md +14 -17
  127. package/skills/uipath-maestro-flow/references/author/references/plugins/ixp/impl.md +60 -13
  128. package/skills/uipath-maestro-flow/references/author/references/plugins/queue/impl.md +2 -14
  129. package/skills/uipath-maestro-flow/references/author/references/plugins/rpa/impl.md +4 -9
  130. package/skills/uipath-maestro-flow/references/author/references/plugins/script/impl.md +3 -0
  131. package/skills/uipath-maestro-flow/references/author/references/plugins/subflow/impl.md +5 -9
  132. package/skills/uipath-maestro-flow/references/author/references/plugins/transform/impl.md +13 -0
  133. package/skills/uipath-maestro-flow/references/shared/action-nodes.md +2 -2
  134. package/skills/uipath-maestro-flow/references/shared/file-format.md +16 -12
  135. package/skills/uipath-maestro-flow/references/shared/variables-and-expressions.md +3 -3
  136. package/skills/uipath-planner/SKILL.md +1 -1
  137. package/skills/uipath-planner/references/non-pdd-lane-guide.md +1 -1
  138. package/skills/uipath-platform/SKILL.md +1 -1
  139. package/skills/uipath-platform/references/data-fabric/bulk-import.md +10 -27
  140. package/skills/uipath-platform/references/data-fabric/choice-sets.md +7 -64
  141. package/skills/uipath-platform/references/data-fabric/data-fabric.md +76 -267
  142. package/skills/uipath-platform/references/data-fabric/entity-schema.md +23 -99
  143. package/skills/uipath-platform/references/data-fabric/file-attachments.md +5 -28
  144. package/skills/uipath-platform/references/data-fabric/filter-platform-contract.md +2 -2
  145. package/skills/uipath-platform/references/data-fabric/records-query.md +11 -32
  146. package/skills/uipath-platform/references/integration-service/reference-resolution.md +6 -2
  147. package/skills/uipath-platform/references/licensing/consumables-report.md +18 -0
  148. package/skills/uipath-platform/references/licensing/licensing.md +1 -1
  149. package/skills/uipath-platform/references/orchestrator/run-jobs.md +9 -2
  150. package/skills/uipath-platform/references/orchestrator/setup-environment.md +9 -0
  151. package/skills/uipath-platform/references/traces/feedback.md +4 -1
  152. package/skills/uipath-process-mining/SKILL.md +97 -0
  153. package/skills/uipath-process-mining/references/app-types.md +66 -0
  154. package/skills/uipath-process-mining/references/data-model.md +130 -0
  155. package/skills/uipath-process-mining/references/lifecycle-and-rbac.md +67 -0
  156. package/skills/uipath-process-mining/references/model-editing.md +112 -0
  157. package/skills/uipath-process-mining/references/pre-flight.md +119 -0
  158. package/skills/uipath-process-mining/references/querying.md +66 -0
  159. package/skills/uipath-process-mining/references/transformations.md +80 -0
  160. package/skills/uipath-process-mining/references/uip-pm-cli.md +145 -0
  161. package/skills/uipath-review/SKILL.md +23 -18
  162. package/skills/uipath-review/references/agents/agent-grading-rubric.md +1 -1
  163. package/skills/uipath-review/references/agents/agent-review-checklist.md +0 -4
  164. package/skills/uipath-review/references/agents/agents-coded-rules.md +1 -10
  165. package/skills/uipath-review/references/agents/agents-lowcode-rules.md +3 -6
  166. package/skills/uipath-review/references/agents/guardrails/coded-guardrails-review.md +62 -14
  167. package/skills/uipath-review/references/agents/guardrails/guardrails-review.md +60 -4
  168. package/skills/uipath-review/references/review-workflow-guide.md +3 -2
  169. package/skills/uipath-review/references/rule-catalog-workflow.md +4 -5
  170. package/skills/uipath-rpa/.maintenance/pattern-card-maintenance.md +20 -0
  171. package/skills/uipath-rpa/SKILL.md +57 -55
  172. package/skills/uipath-rpa/agents/uipath-project-discovery-agent.md +75 -19
  173. package/skills/uipath-rpa/assets/codedworkflow-template.md +245 -11
  174. package/skills/uipath-rpa/references/cli-reference.md +229 -6
  175. package/skills/uipath-rpa/references/coded/codedworkflow-reference.md +158 -2
  176. package/skills/uipath-rpa/references/coded/integration-service-guide.md +6 -5
  177. package/skills/uipath-rpa/references/coded/operations-guide.md +273 -5
  178. package/skills/uipath-rpa/references/coded-vs-xaml-guide.md +3 -3
  179. package/skills/uipath-rpa/references/common-pattern-card.md +303 -0
  180. package/skills/uipath-rpa/references/data-manipulation-guide.md +18 -3
  181. package/skills/uipath-rpa/references/debugging.md +0 -2
  182. package/skills/uipath-rpa/references/environment-setup.md +309 -1
  183. package/skills/uipath-rpa/references/error-handling-guide.md +1 -1
  184. package/skills/uipath-rpa/references/execution-maps-guide.md +110 -0
  185. package/skills/uipath-rpa/references/is-connector-xaml-guide.md +58 -4
  186. package/skills/uipath-rpa/references/legacy/activity-docs/Excel.md +1 -1
  187. package/skills/uipath-rpa/references/legacy/activity-docs/_DU-PROCESS.md +0 -2
  188. package/skills/uipath-rpa/references/legacy/activity-docs/_INDEX.md +2 -2
  189. package/skills/uipath-rpa/references/legacy/activity-docs/_PATTERNS.md +1 -1
  190. package/skills/uipath-rpa/references/legacy/activity-docs/_REFRAMEWORK.md +2 -7
  191. package/skills/uipath-rpa/references/legacy/cli-reference.md +599 -0
  192. package/skills/uipath-rpa/references/legacy/error-handling-guide.md +2 -2
  193. package/skills/uipath-rpa/references/legacy/legacy-mode-guide.md +16 -16
  194. package/skills/uipath-rpa/references/legacy/project-organization-guide.md +2 -2
  195. package/skills/uipath-rpa/references/legacy/selector-guide.md +163 -1
  196. package/skills/uipath-rpa/references/legacy/testing-guide.md +246 -3
  197. package/skills/uipath-rpa/references/legacy/xaml-basics-and-rules.md +267 -2
  198. package/skills/uipath-rpa/references/library-authoring-guide.md +4 -3
  199. package/skills/uipath-rpa/references/testing-guide.md +2 -28
  200. package/skills/uipath-rpa/references/trigger-pattern-guide.md +1 -1
  201. package/skills/uipath-rpa/references/xaml/canvas-layout-guide.md +140 -33
  202. package/skills/uipath-rpa/references/xaml/common-pitfalls.md +57 -240
  203. package/skills/uipath-rpa/references/xaml/csharp-activity-binding-guide.md +42 -2
  204. package/skills/uipath-rpa/references/xaml/long-running-workflow-guide.md +1 -1
  205. package/skills/uipath-rpa/references/xaml/xaml-basics-and-rules.md +194 -228
  206. package/skills/uipath-solution/references/activate-and-manage.md +22 -0
  207. package/skills/uipath-solution/references/develop-solution.md +26 -2
  208. package/skills/uipath-solution/references/pack-and-deploy.md +43 -9
  209. package/skills/uipath-test/SKILL.md +4 -4
  210. package/skills/uipath-test/references/playwright-first-mile-guide.md +5 -4
  211. package/skills/uipath-test/references/publish-and-link-guide.md +2 -2
  212. package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/click-silent-no-op.md +5 -5
  213. package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/queue-operation-failed.md +20 -4
  214. package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/summary.md +1 -1
  215. package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/read-csv-file-not-found.md +12 -0
  216. package/skills/uipath-troubleshoot/references/activity-packages/mail-activities/playbooks/send-outlook-mail-failures.md +12 -1
  217. package/skills/uipath-troubleshoot/references/activity-packages/system-activities/playbooks/get-asset-activity-bug-silent-failure.md +2 -1
  218. package/skills/uipath-troubleshoot/references/activity-packages/terminal-activities/playbooks/terminal-session-connection-failed.md +5 -1
  219. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/click-silent-no-op.md +5 -5
  220. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/dependency-version-conflict.md +27 -6
  221. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/napplicationcard-view-generation-failed.md +10 -0
  222. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/scope-container-wrong-page.md +1 -1
  223. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/summary.md +1 -1
  224. package/skills/uipath-troubleshoot/references/activity-packages/web-activities/overview.md +4 -0
  225. package/skills/uipath-troubleshoot/references/activity-packages/web-activities/playbooks/http-request-auth-401-403.md +44 -0
  226. package/skills/uipath-troubleshoot/references/activity-packages/web-activities/playbooks/http-request-connection-failure.md +2 -1
  227. package/skills/uipath-troubleshoot/references/activity-packages/web-activities/playbooks/http-request-content-type-rejected.md +37 -0
  228. package/skills/uipath-troubleshoot/references/activity-packages/web-activities/playbooks/http-request-proxy-blocked.md +39 -0
  229. package/skills/uipath-troubleshoot/references/activity-packages/web-activities/playbooks/package-version-mismatch.md +42 -0
  230. package/skills/uipath-troubleshoot/references/activity-packages/web-activities/playbooks/securestring-misuse-analyzer.md +41 -0
  231. package/skills/uipath-troubleshoot/references/activity-packages/web-activities/summary.md +5 -0
  232. package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/connector-null-reference.md +14 -1
  233. package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/connector-runtime-exception.md +2 -0
  234. package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/is-activities-prerelease-not-found.md +39 -0
  235. package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/response-content-too-large.md +41 -0
  236. package/skills/uipath-troubleshoot/references/products/integration-service/summary.md +9 -0
  237. package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/console-conflict-login-to-console.md +40 -0
  238. package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/credential-store-unavailable.md +42 -0
  239. package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/executor-start-transient-rerun.md +49 -0
  240. package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/job-consecutive-system-exceptions.md +47 -0
  241. package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/job-faulted-session-timeout.md +19 -19
  242. package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/job-output-too-large.md +47 -0
  243. package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/job-stopped-generic-exit-code.md +55 -0
  244. package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/known-issue-robot-defect.md +40 -0
  245. package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/platform-incident-correlation.md +45 -0
  246. package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/screen-capture-handle-invalid.md +43 -0
  247. package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/serverless-license-quota.md +43 -0
  248. package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/serverless-time-limit-exceeded.md +34 -0
  249. package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/workstation-in-use-machine-slots.md +40 -0
  250. package/skills/uipath-troubleshoot/references/products/orchestrator/summary.md +13 -1
  251. package/version-manifest.json +2 -2
  252. package/skills/uipath-maestro-bpmn/validator/README.md +0 -224
  253. package/skills/uipath-maestro-bpmn/validator/model.mjs +0 -419
  254. package/skills/uipath-maestro-bpmn/validator/package.json +0 -17
  255. package/skills/uipath-maestro-bpmn/validator/rules.mjs +0 -1403
  256. package/skills/uipath-maestro-bpmn/validator/samples/invalid-conditional-and-variable.bpmn +0 -25
  257. package/skills/uipath-maestro-bpmn/validator/samples/valid-baseline.bpmn +0 -52
  258. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/A.2.0.bpmn +0 -157
  259. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/A.2.1.bpmn +0 -333
  260. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/B.1.0.bpmn +0 -598
  261. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/B.2.0.bpmn +0 -1709
  262. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/C.2.0.bpmn +0 -564
  263. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/C.3.0.bpmn +0 -671
  264. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/C.4.0.bpmn +0 -1045
  265. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/C.5.0.bpmn +0 -1176
  266. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/C.6.0.bpmn +0 -670
  267. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/C.7.0.bpmn +0 -466
  268. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Can_Parse_Complex_Process_With_Task_Gateway_BoundaryEvent_etc.bpmn +0 -74
  269. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/ExclusiveGatewayDefaultFlow.bpmn +0 -32
  270. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/ExternalAgentWorkflow.bpmn +0 -62
  271. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Golden_Scenario.initial.bpmn +0 -361
  272. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/InclusiveJoinRouteAwayBranch.bpmn +0 -62
  273. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Parse_AsyncExecution_And_Create_CorrectModel.bpmn +0 -74
  274. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Parse_IXP_ExtractionValidation_And_Create_CorrectModel.bpmn +0 -35
  275. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Parse_IXP_Extraction_FileUpload_And_Create_CorrectModel.bpmn +0 -33
  276. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Parse_IXP_Extraction_JobAttachment_And_Create_CorrectModel.bpmn +0 -35
  277. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Parse_SubProcess_With_Multiple_Element_Types.bpmn +0 -76
  278. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/StartEventWithOutputs.bpmn +0 -36
  279. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/StartGatewayEnd.bpmn +0 -44
  280. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/all elements.bpmn +0 -516
  281. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/all_sequence_flow_types.bpmn +0 -173
  282. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/demo.bpmn +0 -181
  283. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/subprocess-example-001-collapsed.bpmn +0 -126
  284. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/subprocess-example-001-expanded.bpmn +0 -122
  285. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/subprocess-example-003-collapsed_deeply-nested.bpmn +0 -438
  286. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/A.1.0.bpmn +0 -87
  287. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/A.3.0.bpmn +0 -165
  288. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ApiWorkflow.bpmn +0 -39
  289. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/BpmnNestedSubProcessTests.bpmn +0 -102
  290. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/BpmnTimerBoundaryEvents.bpmn +0 -160
  291. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/BpmnXmlWithCatchAllErrorEventSubProcess.bpmn +0 -45
  292. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/BpmnXmlWithSpecificErrorEventSubProcess.bpmn +0 -46
  293. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/CaseManagementWithConstantIdentifier.bpmn +0 -218
  294. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ErrorBoundary.bpmn +0 -78
  295. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ErrorPropagationInEventSubprocess.bpmn +0 -340
  296. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/EventBasedGatewayFirstCatcherWins.bpmn +0 -56
  297. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/Example-EventBasedGateway.bpmn +0 -117
  298. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ExclusiveGatewayConditional.bpmn +0 -45
  299. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ExclusiveGatewaySharedEndEvent.bpmn +0 -45
  300. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ExclusiveWithParallelGateway.bpmn +0 -68
  301. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/FourScriptTasks.bpmn +0 -84
  302. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/HitlTaskOnly.bpmn +0 -55
  303. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/InclusiveGatewayForkJoin.bpmn +0 -69
  304. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/Parse_BPMN_Elements_And_Create_CorrectModel.bpmn +0 -20
  305. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/Parse_HttpRequest_ServiceTask_And_Create_Correct_Model.bpmn +0 -34
  306. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/Parse_MessageBoundaryEvent_And_Create_CorrectModel.bpmn +0 -87
  307. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/Parse_Script_Task_V2_And_Create_Correct_Model.bpmn +0 -31
  308. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/Parse_Sets_Containers_Properly.bpmn +0 -129
  309. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ScriptWritesVariableThenGatewayBranches.bpmn +0 -59
  310. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/boundaryevent.bpmn +0 -30
  311. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/collapsed-subprocess.bpmn +0 -83
  312. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/connectable-types.bpmn +0 -85
  313. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/extensions-orchestrator-start-job.bpmn +0 -80
  314. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/multiparticipantpool.bpmn +0 -77
  315. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/nestedsubprocess.bpmn +0 -36
  316. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/simple.bpmn +0 -59
  317. package/skills/uipath-maestro-bpmn/validator/test/integration.test.mjs +0 -146
  318. package/skills/uipath-maestro-bpmn/validator/test/model-helpers.mjs +0 -42
  319. package/skills/uipath-maestro-bpmn/validator/test/ported-rule-tests.mjs +0 -983
  320. package/skills/uipath-maestro-bpmn/validator/test/run-tests.mjs +0 -530
  321. package/skills/uipath-maestro-bpmn/validator/uipath-moddle.v1.json +0 -715
  322. package/skills/uipath-maestro-bpmn/validator/validate-bpmn.mjs +0 -164
  323. package/skills/uipath-review/references/agents/agents-common-rules.md +0 -32
  324. package/skills/uipath-rpa/assets/before-after-hooks-template.md +0 -115
  325. package/skills/uipath-rpa/assets/helper-utility-template.md +0 -22
  326. package/skills/uipath-rpa/assets/testcase-template.md +0 -92
  327. package/skills/uipath-rpa/references/coded/coding-guidelines.md +0 -255
  328. package/skills/uipath-rpa/references/coded/inspect-package-guide.md +0 -80
  329. package/skills/uipath-rpa/references/coded/third-party-packages-guide.md +0 -67
  330. package/skills/uipath-rpa/references/connector-capabilities.md +0 -79
  331. package/skills/uipath-rpa/references/legacy/activity-docs/Testing.md +0 -95
  332. package/skills/uipath-rpa/references/legacy/activity-docs/UIAutomation.md +0 -159
  333. package/skills/uipath-rpa/references/legacy/common-pitfalls.md +0 -318
  334. package/skills/uipath-rpa/references/legacy/discovery-workflow.md +0 -147
  335. package/skills/uipath-rpa/references/legacy/environment-setup.md +0 -78
  336. package/skills/uipath-rpa/references/legacy/project-structure.md +0 -206
  337. package/skills/uipath-rpa/references/legacy/test-data-guide.md +0 -142
  338. package/skills/uipath-rpa/references/legacy/validation-and-fixing.md +0 -154
  339. package/skills/uipath-rpa/references/project-structure-guide.md +0 -168
  340. package/skills/uipath-rpa/references/project-structure.md +0 -135
  341. package/skills/uipath-rpa/references/publishing-guide.md +0 -80
  342. package/skills/uipath-rpa/references/validation-guide.md +0 -170
  343. package/skills/uipath-rpa/references/xaml/csharp-expression-pitfalls.md +0 -43
  344. package/skills/uipath-rpa/references/xaml/flowchart-guide.md +0 -113
  345. package/skills/uipath-rpa/references/xaml/workflow-guide.md +0 -258
@@ -1,78 +0,0 @@
1
- # Phase 0: Environment Readiness
2
-
3
- **Goal:** Establish the project root and verify the project is a legacy framework project before any other operations.
4
-
5
- **Key difference from modern (`uip rpa`):** The `uip rpa-legacy` CLI is standalone — it does **not** require Studio Desktop to be running. It resolves dependencies from NuGet directly and uses UiRobot for execution.
6
-
7
- ---
8
-
9
- ## Step 0.1: Establish Project Root
10
-
11
- All `uip rpa-legacy` commands require a `<project-path>` argument pointing to the folder containing `project.json` (or the `project.json` file itself).
12
-
13
- ```bash
14
- # Check if project.json exists in the CWD
15
- ls {cwd}/project.json
16
- ```
17
-
18
- If the CWD is not the project root:
19
- - Locate the project root by finding `project.json`: `Glob: pattern="**/project.json"`
20
- - Ask the user where their project is located if multiple `project.json` files are found
21
-
22
- Store the project root path and use it consistently as `{projectRoot}` throughout all subsequent operations.
23
-
24
- ---
25
-
26
- ## Step 0.2: Verify Legacy Project
27
-
28
- Read `project.json` and confirm this is a legacy framework project:
29
-
30
- ```
31
- Read: file_path="{projectRoot}/project.json"
32
- ```
33
-
34
- **Check these fields:**
35
-
36
- | Field | Legacy Value | Notes |
37
- |-------|-------------|-------|
38
- | `targetFramework` | `"Legacy"` | May be absent in very old projects (pre-2021), which implies Legacy |
39
- | `expressionLanguage` | `"VisualBasic"` (most common) or `"CSharp"` | Determines expression syntax in XAML |
40
- | `studioVersion` | Typically `< 23.x` | Older Studio versions |
41
- | `dependencies` | Classic package versions (no modern package IDs) | Very old projects (pre-2021) may have lower versions like ≤ 22.x |
42
-
43
- **If `targetFramework` is `"Windows"` or `"Portable"`**, this is a modern project — use the `uipath-rpa` skill instead.
44
-
45
- **If `targetFramework` is absent**, check the `studioVersion` and `dependencies` fields. Old projects without explicit `targetFramework` are Legacy by default.
46
-
47
- ---
48
-
49
- ## Step 0.3: Authentication (If Needed)
50
-
51
- Some operations (cloud-based NuGet feeds, Orchestrator assets) may require authentication:
52
-
53
- ```bash
54
- uip login
55
- ```
56
-
57
- This opens a browser-based login flow. Authentication is typically needed only for:
58
- - Projects that use private NuGet feeds requiring authentication
59
- - `build` commands that push packages to Orchestrator
60
- - Accessing Orchestrator resources (assets, queues) during `debug` execution
61
-
62
- For most local development tasks (validate, edit, find-activities), authentication is **not required**.
63
-
64
- ---
65
-
66
- ## Step 0.4: Package Restore
67
-
68
- After creating or modifying `project.json` dependencies, packages must be restored before `find-activities` or `type-definition` will work.
69
-
70
- **Trigger restore** by running validate on the project directory:
71
-
72
- ```bash
73
- uip rpa-legacy validate "{projectRoot}" --output json
74
- ```
75
-
76
- This resolves NuGet packages from configured feeds. After this completes, `find-activities` and `type-definition` will have access to the package assemblies.
77
-
78
- **If `find-activities` returns "No assemblies resolved from package dependencies"**, run validate first to trigger restore.
@@ -1,206 +0,0 @@
1
- # Legacy Project Structure
2
-
3
- Understanding the layout and configuration of a legacy UiPath RPA project.
4
-
5
- ---
6
-
7
- ## Directory Layout
8
-
9
- ```
10
- {projectRoot}/
11
- ├── project.json # Project metadata and dependencies
12
- ├── Main.xaml # Entry point workflow
13
- ├── *.xaml # Additional workflows (flat or in folders)
14
- ├── Workflows/ # (Optional) Sub-folder for organized workflows
15
- ├── Data/ # (Optional) Input/output data files
16
- ├── .screenshots/ # (Optional) Studio screenshot captures
17
- ├── .settings/ # (Optional) Studio settings profiles
18
- └── .tmh/ # (Optional) Test Manager data
19
- ```
20
-
21
- **Notable absences compared to modern projects:**
22
- - No `.local/docs/packages/` — no auto-generated activity documentation
23
- - No `.codedworkflows/` — no coded automation support
24
- - No `.objects/` — no Object Repository
25
- - No `.project/JitCustomTypesSchema.json` — no JIT custom types
26
-
27
- ---
28
-
29
- ## Creating a project.json from Scratch
30
-
31
- ### Minimal Template
32
-
33
- Start with this — only `UiPath.System.Activities` is required. Add other packages as needed.
34
-
35
- ```json
36
- {
37
- "name": "MyProject",
38
- "description": "",
39
- "main": "Main.xaml",
40
- "dependencies": {
41
- "UiPath.System.Activities": "[24.10.8]"
42
- },
43
- "schemaVersion": "4.0",
44
- "studioVersion": "25.10.0.0",
45
- "projectVersion": "1.0.0",
46
- "expressionLanguage": "VisualBasic",
47
- "targetFramework": "Legacy",
48
- "runtimeOptions": {
49
- "autoDispose": false,
50
- "isPausable": true,
51
- "isAttended": false,
52
- "requiresUserInteraction": true,
53
- "supportsPersistence": false,
54
- "workflowSerialization": "DataContract",
55
- "excludedLoggedData": ["Private:*", "*password*"],
56
- "executionType": "Workflow"
57
- },
58
- "designOptions": {
59
- "projectProfile": "Developement",
60
- "outputType": "Process"
61
- },
62
- "entryPoints": [
63
- {
64
- "filePath": "Main.xaml",
65
- "uniqueId": "00000000-0000-0000-0000-000000000000",
66
- "input": [],
67
- "output": []
68
- }
69
- ]
70
- }
71
- ```
72
-
73
- ### Package Selection Guide
74
-
75
- **Add packages based on what the workflow needs.** Only `UiPath.System.Activities` is required — everything else is optional.
76
-
77
- | Need | Package | Latest Legacy Version |
78
- |------|---------|----------------------|
79
- | **Core (always include)** | `UiPath.System.Activities` | **24.10.8** |
80
- | UI automation (click, type, selectors) | `UiPath.UIAutomation.Activities` | **25.10.28** |
81
- | Excel (read/write, macros, CSV) | `UiPath.Excel.Activities` | **2.24.4** |
82
- | Email (SMTP, IMAP, POP3, Outlook) | `UiPath.Mail.Activities` | **1.24.18** |
83
- | HTTP/REST/SOAP/JSON/XML | `UiPath.WebAPI.Activities` | **1.21.1** |
84
- | Testing and assertions | `UiPath.Testing.Activities` | **25.10.1** |
85
- | PDF (read text, OCR, merge, split) | `UiPath.PDF.Activities` | **3.25.2** |
86
- | Office 365 (Graph API) | `UiPath.MicrosoftOffice365.Activities` | **2.9.13** |
87
- | Word documents | `UiPath.Word.Activities` | **1.20.3** |
88
- | PowerPoint presentations | `UiPath.Presentations.Activities` | **1.14.2** |
89
- | Database (SQL queries) | `UiPath.Database.Activities` | **1.10.1** |
90
- | Windows Credential Manager | `UiPath.Credentials.Activities` | **2.1.0** |
91
- | FTP/SFTP file transfer | `UiPath.FTP.Activities` | **2.4.0** |
92
- | Encryption/hashing (AES, HMAC, PGP) | `UiPath.Cryptography.Activities` | **1.6.1** |
93
- | Python script execution | `UiPath.Python.Activities` | **1.10.0** |
94
- | Java method invocation | `UiPath.Java.Activities` | **1.3.1** |
95
- | Document Understanding/OCR | `UiPath.IntelligentOCR.Activities` | **6.27.3** |
96
- | Forms (FormIo/HTML) | `UiPath.Form.Activities` | **2.0.8** |
97
- | Terminal emulation (3270/5250/VT) | `UiPath.Terminal.Activities` | **2.9.0** |
98
- | Google Suite (Gmail, Drive, Sheets) | `UiPath.GSuite.Activities` | **2.8.28** |
99
- | NLP (sentiment, translation) | `UiPath.Cognitive.Activities` | **2.2.4** |
100
- | StudioX scenario templates | `UiPath.ComplexScenarios.Activities` | **1.5.1** |
101
- | OmniPage OCR engine | `UiPath.OmniPage.Activities` | **1.22.2** |
102
- | Persistence (long-running workflows) | `UiPath.Persistence.Activities` | **1.8.1** |
103
- | Mobile automation (iOS/Android) | `UiPath.MobileAutomation.Activities` | **25.10.0** |
104
- | SAP BAPI function calls | `UiPath.SAP.BAPI.Activities` | **3.0.4** |
105
-
106
- **Example:** A workflow that reads Excel, sends email, and calls a REST API needs:
107
- ```json
108
- "dependencies": {
109
- "UiPath.System.Activities": "[24.10.8]",
110
- "UiPath.Excel.Activities": "[2.24.4]",
111
- "UiPath.Mail.Activities": "[1.24.18]",
112
- "UiPath.WebAPI.Activities": "[1.21.1]"
113
- }
114
- ```
115
-
116
- ### Packages Can Be Added Later
117
-
118
- You don't need all packages upfront. Add them to `dependencies` as you discover what the workflow needs.
119
-
120
- **Important:** `find-activities` only searches packages listed in `dependencies`. If you add a package to project.json, re-run `find-activities` to discover its activities.
121
-
122
- ### Searching for Packages
123
-
124
- When the known packages above don't cover a need, search configured NuGet feeds:
125
-
126
- ```bash
127
- uip rpa-legacy find-package --query "barcode" --limit 10 --output json
128
- ```
129
-
130
- This searches all configured feeds (UiPath official + any custom feeds) by name and description. Add the discovered package to `dependencies`, then `find-activities` will index it.
131
-
132
- ### Arbitrary .NET Packages
133
-
134
- Any NuGet package can be added to `dependencies` for custom .NET classes, methods, and types. Examples:
135
- - `CsvHelper` — advanced CSV parsing
136
- - `ClosedXML` — .xlsx manipulation without COM
137
- - `HtmlAgilityPack` — HTML parsing
138
-
139
- Use these via `InvokeCode` with the appropriate namespace imports.
140
-
141
- **Avoid adding packages already bundled with Studio** (e.g., `Newtonsoft.Json`) — version conflicts can cause runtime issues.
142
-
143
- ---
144
-
145
- ## project.json Key Fields
146
-
147
- | Field | Description |
148
- |-------|-------------|
149
- | `name` | Project name (used as package ID when packaged) |
150
- | `main` | Entry point XAML file (relative path) |
151
- | `dependencies` | NuGet package dependencies with version constraints |
152
- | `expressionLanguage` | `"VisualBasic"` (most legacy) or `"CSharp"` |
153
- | `targetFramework` | `"Legacy"` for .NET Framework 4.6.1 projects |
154
- | `designOptions.outputType` | `"Process"` (standalone) or `"Library"` (reusable) |
155
- | `studioVersion` | Studio version that created the project |
156
-
157
- ### Version Constraints
158
-
159
- | Syntax | Meaning |
160
- |--------|---------|
161
- | `[1.2.3]` | Exact version 1.2.3 |
162
- | `[1.2.3, )` | Minimum version 1.2.3 |
163
- | `[1.0, 2.0)` | Range: >= 1.0, < 2.0 |
164
-
165
- ---
166
-
167
- ## Library Project Template
168
-
169
- To create a **Library** project (reusable workflows published as a NuGet package), set `outputType` to `"Library"`:
170
-
171
- ```json
172
- {
173
- "name": "Acme.Finance.InvoiceUtilities",
174
- "description": "Reusable invoice processing workflows",
175
- "dependencies": {
176
- "UiPath.System.Activities": "[24.10.8]"
177
- },
178
- "schemaVersion": "4.0",
179
- "studioVersion": "25.10.0.0",
180
- "projectVersion": "1.0.0",
181
- "expressionLanguage": "VisualBasic",
182
- "targetFramework": "Legacy",
183
- "runtimeOptions": {
184
- "autoDispose": false,
185
- "isPausable": true,
186
- "isAttended": false,
187
- "requiresUserInteraction": false,
188
- "supportsPersistence": false,
189
- "workflowSerialization": "DataContract",
190
- "excludedLoggedData": ["Private:*", "*password*"],
191
- "executionType": "Workflow"
192
- },
193
- "designOptions": {
194
- "projectProfile": "Developement",
195
- "outputType": "Library"
196
- }
197
- }
198
- ```
199
-
200
- **Key differences from Process projects:**
201
- - **No `main` field** — libraries have no entry point
202
- - **No `entryPoints` array** — all workflows are callable individually
203
- - **`outputType: "Library"`** — published as activity package, not deployed as process
204
- - Workflows marked **Public** become activities when consumed; **Private** workflows are internal helpers
205
-
206
- For full library design guidance (naming, versioning, patterns), see [project-organization-guide.md](./project-organization-guide.md).
@@ -1,142 +0,0 @@
1
- # Test Data Creation Guide
2
-
3
- How to create test data files and UiPath types for legacy workflow testing.
4
-
5
- ---
6
-
7
- ## Excel Test Data (COM-Compliant)
8
-
9
- ### Using ExcelApplicationScope (Interop — .xls/.xlsx)
10
-
11
- Create a DataTable in code, then write it via Excel Interop:
12
-
13
- ```xml
14
- <!-- Step 1: Build DataTable with InvokeCode -->
15
- <ui:InvokeCode Code="
16
- Dim dt As New DataTable()
17
- dt.Columns.Add(&quot;Name&quot;, GetType(String))
18
- dt.Columns.Add(&quot;Amount&quot;, GetType(Double))
19
- dt.Columns.Add(&quot;Date&quot;, GetType(String))
20
- dt.Columns.Add(&quot;Status&quot;, GetType(String))
21
- dt.Rows.Add(&quot;Invoice-001&quot;, 1500.50, &quot;2024-01-15&quot;, &quot;Active&quot;)
22
- dt.Rows.Add(&quot;Invoice-002&quot;, 2300.00, &quot;2024-02-20&quot;, &quot;Pending&quot;)
23
- dt.Rows.Add(&quot;Invoice-003&quot;, 890.25, &quot;2024-03-10&quot;, &quot;Closed&quot;)
24
- dt.Rows.Add(&quot;Invoice-004&quot;, 0, &quot;&quot;, &quot;Active&quot;)
25
- dt.Rows.Add(&quot;Invoice-005&quot;, -100.00, &quot;2024-12-31&quot;, &quot;Error&quot;)
26
- testData = dt" Language="VBNet">
27
- <ui:InvokeCode.Arguments>
28
- <scg:Dictionary x:TypeArguments="x:String, Argument">
29
- <OutArgument x:TypeArguments="sd:DataTable" x:Key="testData">[dtTestData]</OutArgument>
30
- </scg:Dictionary>
31
- </ui:InvokeCode.Arguments>
32
- </ui:InvokeCode>
33
-
34
- <!-- Step 2: Write to Excel via ExcelApplicationScope -->
35
- <!-- Use ExcelApplicationScope + ExcelWriteRange (Interop) for .xls/.xlsx -->
36
- ```
37
-
38
- ### Test data design principles
39
- - Include edge cases: empty strings, zero values, negative numbers, special characters
40
- - Include null/DBNull values to test null handling
41
- - Mix data types per column to test type coercion
42
- - Include dates in multiple formats to test parsing
43
- - Include at least 5-10 rows for meaningful iteration testing
44
-
45
- ### Using WriteCsvFile (Portable — no Excel needed)
46
-
47
- ```xml
48
- <!-- Write CSV then optionally convert to Excel -->
49
- <ui:WriteCsvFile FilePath="[Path.Combine(Environment.CurrentDirectory, &quot;Data&quot;, &quot;test.csv&quot;)]"
50
- DataTable="[dtTestData]" />
51
- ```
52
-
53
- ---
54
-
55
- ## Top 10 File Types
56
-
57
- | File Type | How to Create | Key Activity | Notes |
58
- |-----------|--------------|-------------|-------|
59
- | **Excel (.xls/.xlsx)** | `ExcelApplicationScope` + `ExcelWriteRange` | COM Interop | Use `.xls` for max legacy compat; `.xlsx` for modern |
60
- | **CSV (.csv)** | `WriteCsvFile` or `Write Text File` | Portable | Set `Delimitator` explicitly; specify `"UTF-8"` encoding |
61
- | **Text (.txt)** | `Write Text File` activity | System.IO | Use `Encoding="UTF-8"` for portability |
62
- | **JSON (.json)** | `Serialize JSON` + `Write Text File` | WebAPI package | Build JObject/JArray in InvokeCode, serialize, write |
63
- | **XML (.xml)** | Build XDocument in InvokeCode + `Write Text File` | System.Xml.Linq | Or use `Serialize XML` if available |
64
- | **PDF (.pdf)** | Export from Excel/Word scope, or HTML string + wkhtmltopdf | Requires source app | No native PDF creation activity in legacy |
65
- | **Word (.docx)** | `WordApplicationScope` + `Word Write Text` | COM Interop | Requires Word installed |
66
- | **HTML (.html)** | `Write Text File` with HTML string content | String building | Build HTML in InvokeCode or Assign |
67
- | **Email (.eml/.msg)** | `Save Mail Message` from mail activities | Mail package | Create MailMessage object first |
68
- | **Config (.xlsx)** | REFramework pattern: Config.xlsx with Settings/Constants/Assets sheets | Excel Interop | See `_REFRAMEWORK.md` for sheet structure |
69
-
70
- ### Creating JSON test data
71
-
72
- ```vb
73
- ' InvokeCode — build JSON string
74
- Dim json As String = "{" & vbCrLf &
75
- " ""name"": ""Test User""," & vbCrLf &
76
- " ""amount"": 1500.50," & vbCrLf &
77
- " ""items"": [""A"", ""B"", ""C""]" & vbCrLf &
78
- "}"
79
- output = json
80
- ```
81
-
82
- ### Creating XML test data
83
-
84
- ```vb
85
- ' InvokeCode — build XML string
86
- Dim xml As String = "<?xml version=""1.0"" encoding=""UTF-8""?>" & vbCrLf &
87
- "<Invoices>" & vbCrLf &
88
- " <Invoice Id=""001"" Amount=""1500.50"" />" & vbCrLf &
89
- " <Invoice Id=""002"" Amount=""2300.00"" />" & vbCrLf &
90
- "</Invoices>"
91
- output = xml
92
- ```
93
-
94
- ---
95
-
96
- ## Top 10 UiPath Types
97
-
98
- | Type | How to Create | Common Test Values | VB.NET Expression |
99
- |------|--------------|-------------------|-------------------|
100
- | **DataTable** | `Build Data Table` activity or InvokeCode | Headers + 5-10 rows, mixed types, nulls | `New DataTable()` |
101
- | **String** | `Assign` / literal | `"test"`, `""`, `Nothing`, special chars `<>&"` | `"value"` |
102
- | **Int32** | `Assign` / `CInt()` | `0`, `-1`, `Integer.MaxValue`, `Integer.MinValue` | `CInt("42")` |
103
- | **Boolean** | `Assign` | `True`, `False` | `True` |
104
- | **DateTime** | `Assign` / `DateTime.Parse()` | Today, epoch, future, `DateTime.MinValue` | `DateTime.Now` |
105
- | **Dictionary(Of String, Object)** | InvokeCode or `Assign` | Config-style key-value pairs, nested objects | `New Dictionary(Of String, Object)` |
106
- | **String()** (array) | `Assign` / `Split()` | Empty `{}`, single item, many items | `New String() {"a","b","c"}` |
107
- | **SecureString** | `Get Credential` or InvokeCode | Test password strings | `New NetworkCredential("","pass").SecurePassword` |
108
- | **MailMessage** | `Get Outlook Mail Messages` or InvokeCode | Email with To/Subject/Body/Attachments | `New System.Net.Mail.MailMessage()` |
109
- | **QueueItem** | `Get Transaction Item` from Orchestrator | SpecificContent dictionary, Priority, Deadline | Requires Orchestrator queue |
110
-
111
- ### Creating a test Dictionary (Config-style)
112
-
113
- ```vb
114
- ' InvokeCode
115
- Dim config As New Dictionary(Of String, Object)
116
- config("MaxRetryNumber") = 3
117
- config("logF_BusinessProcessName") = "TestProcess"
118
- config("OrchestratorQueueName") = "TestQueue"
119
- config("ExcelFilePath") = "Data\Input\test.xlsx"
120
- output = config
121
- ```
122
-
123
- ### Creating a test DataTable with edge cases
124
-
125
- ```vb
126
- ' InvokeCode
127
- Dim dt As New DataTable()
128
- dt.Columns.Add("Name", GetType(String))
129
- dt.Columns.Add("Amount", GetType(Double))
130
- dt.Columns.Add("IsActive", GetType(Boolean))
131
-
132
- ' Normal rows
133
- dt.Rows.Add("Alice", 100.50, True)
134
- dt.Rows.Add("Bob", 0, False)
135
-
136
- ' Edge cases
137
- dt.Rows.Add("", -999.99, True) ' Empty name
138
- dt.Rows.Add(DBNull.Value, DBNull.Value, DBNull.Value) ' All nulls
139
- dt.Rows.Add("Special <>&""chars", 1E+15, True) ' Special chars, large number
140
-
141
- testData = dt
142
- ```
@@ -1,154 +0,0 @@
1
- # Phase 3: Validate & Fix Loop
2
-
3
- Detailed procedures for validating legacy workflows, analyzing project quality, and fixing errors iteratively.
4
-
5
- ---
6
-
7
- ## Step 3.1: Validate
8
-
9
- Use `uip rpa-legacy validate` to check a XAML file or entire project for compilation errors. Accepts XAML file path, project.json path, or project folder.
10
-
11
- ```bash
12
- # Validate a specific file (use during iteration — per activity)
13
- uip rpa-legacy validate "{projectRoot}/Main.xaml" --output json
14
-
15
- # Validate entire project (use as FINAL step before completing)
16
- uip rpa-legacy validate "{projectRoot}" --output json
17
- ```
18
-
19
- **Workflow:**
20
- - **During iteration:** validate per-file after each activity edit (faster, focused feedback)
21
- - **Before completing:** validate the entire project to catch cross-file issues
22
- - Run after **every** XAML edit — do not batch multiple edits without validation
23
-
24
- ---
25
-
26
- ## Step 3.2: Categorize and Fix Errors
27
-
28
- **Fix order:** Package → Structure → Type → Activity Properties → Logic. Always fix in this order — higher-category fixes often resolve lower-category errors automatically.
29
-
30
- ### 1. Package Errors — Missing namespace, unknown activity type, unresolved assembly
31
-
32
- **The legacy CLI does not have `install-or-update-packages`.** When a missing package is detected:
33
- 1. Identify the missing package from the error message
34
- 2. Check the [activity reference docs](./activity-docs/_INDEX.md) to confirm the correct package name
35
- 3. **Ask the user** to install the package manually in Studio:
36
- - Studio → Manage Packages → search for the package → Install
37
- - Or edit `project.json` dependencies directly (advanced — must match NuGet version constraints)
38
- 4. Re-validate after the package is installed
39
-
40
- ### 2. Structural Errors — Invalid XML, malformed elements, missing closing tags
41
-
42
- - `Read` the XAML around the error location → `Edit` to fix XML structure
43
- - Cross-check against [xaml-basics-and-rules.md](./xaml-basics-and-rules.md) for correct element nesting and namespace declarations
44
- - Common issues: unclosed elements, mismatched namespace prefixes, duplicate `x:Name` attributes
45
-
46
- ### 3. Type Errors — Wrong property type, invalid cast, type mismatch
47
-
48
- - **Always use `type-definition`** to discover exact enum values and type members — do not guess
49
- ```bash
50
- uip rpa-legacy type-definition "{projectRoot}" --type "EnumTypeName" --output json
51
- ```
52
- - Example: InvokeCode `Language` property accepts `VBNet` (not `VisualBasic`, not `VB`)
53
- - Common fixes: wrong `x:TypeArguments`, missing namespace prefix (`sd:DataTable` vs `x:String`), VB vs C# expression syntax mismatch
54
- - Consult activity reference docs for behavioral context, but rely on `type-definition` for exact values
55
-
56
- ### 4. Activity Properties Errors — Unknown properties, misconfigured settings
57
-
58
- - **Always use `find-activities --include-type-definitions`** to discover exact property names
59
- ```bash
60
- uip rpa-legacy find-activities "{projectRoot}" --query "activity name" --include-type-definitions --output json
61
- ```
62
- - Activity reference docs describe behavior but may not list exact CLR property names — the CLI output is authoritative
63
- - Common issues: properties that exist in modern but not legacy versions, misspelled property names, wrong enum values
64
-
65
- ### 5. Logic Errors — Wrong behavior, incorrect expressions, business logic issues
66
-
67
- - `Read` the XAML to understand current flow → `Edit` to correct
68
- - Verify expression syntax matches project language (VB.NET vs C#)
69
- - Consult [activity-docs/_PATTERNS.md](./activity-docs/_PATTERNS.md) for VB.NET expression patterns
70
- - Use `uip rpa-legacy debug` for runtime validation if static checks pass
71
-
72
- ---
73
-
74
- ## Step 3.3: Iteration Loop
75
-
76
- ```
77
- REPEAT:
78
- 1. Run: uip rpa-legacy validate "{projectRoot}/{file}.xaml" --output json
79
- 2. IF 0 errors → EXIT loop (success)
80
- 3. IF errors exist:
81
- a. Categorize by type (Package/Structure/Type/Properties/Logic)
82
- b. Fix highest-category errors first
83
- c. Apply fix using Read + Edit tools
84
- 4. IF error cannot be auto-resolved:
85
- a. Document the error for the user
86
- b. Suggest manual fix steps
87
- c. Continue fixing other errors
88
- UNTIL: 0 errors OR all remaining errors require user action
89
- ```
90
-
91
- **When stuck on one error:** Consider deferring to the user if it's a configuration detail (missing package, credential setup, connection string). Inform the user clearly about what needs to be done.
92
-
93
- ---
94
-
95
- ## Step 3.4: Package (Optional)
96
-
97
- If a deployable `.nupkg` artifact is needed, package the project after validation passes:
98
-
99
- ```bash
100
- uip rpa-legacy pack "{projectRoot}" -o "{outputDir}" --output json
101
- ```
102
-
103
- Not required for debugging — legacy RPA can be debugged directly without packaging.
104
-
105
- ---
106
-
107
- ## Step 3.5: Smoke Test with Debug (Optional)
108
-
109
- **Always validate before debugging** — don't debug a file with compilation errors.
110
-
111
- ```bash
112
- # Basic smoke test
113
- uip rpa-legacy debug "{projectRoot}/Main.xaml" -i '{"in_TestMode": true}' --timeout 60
114
-
115
- # Programmatic: capture result to file, suppress streaming logs
116
- uip rpa-legacy debug "{projectRoot}/Main.xaml" -i '{"in_TestMode": true}' --result-path /tmp/result.json --log-level error
117
- ```
118
-
119
- **Reading results:**
120
- - Exit code 0 → success: check `Data.Output` for out-argument values
121
- - Exit code 1 → failure: check `Data.Error` for diagnostics:
122
- - `Error.ActivityDisplayName` + `Error.XamlFile` → locate the problem
123
- - `Error.ExceptionType` + `Error.Message` → understand it
124
- - `Error.StackTrace` → full call chain
125
- - `Data.ErrorLog` → all error-level log entries for context
126
-
127
- **Fix-and-retry:** edit XAML → validate → debug again.
128
-
129
- **Caution:** `debug` performs real actions (clicks, emails, file writes). Only use when safe.
130
-
131
- For test data creation (Excel files, CSV, JSON, common UiPath types), see **[test-data-guide.md](./test-data-guide.md)**.
132
-
133
- ---
134
-
135
- ## Common Error Scenarios
136
-
137
- ### Wrong enum value
138
- **Symptom:** "Cannot create unknown type" or "is not a member of" for an enum property.
139
- **Fix:** `uip rpa-legacy type-definition "{projectRoot}" --type "EnumTypeName" --output json`. Example: InvokeCode `Language` accepts `VBNet` and `CSharp` — not `VisualBasic` or `VB`.
140
-
141
- ### Activity class name not found
142
- **Symptom:** Unknown activity type or missing namespace.
143
- **Fix:** `uip rpa-legacy find-activities "{projectRoot}" --query "..." --output json`, add xmlns + assembly ref.
144
-
145
- ### Multiple errors after batch editing
146
- **Symptom:** Many errors after writing multiple activities at once.
147
- **Fix:** Revert to last good state. Re-add one activity at a time, validating after each.
148
-
149
- ### Activity docs don't match XAML property names
150
- **Symptom:** Properties from reference docs don't work in XAML.
151
- **Fix:** `find-activities --include-type-definitions` for exact CLR property names from compiled assemblies.
152
-
153
- ### Stuck on unfamiliar problem
154
- **Escalation:** `uip docsai ask "..."` → `WebSearch` (UiPath Forum, Stack Overflow, GitHub) → ask user.