@uipath/skills 1.196.0 → 1.197.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 (592) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +5 -2
  3. package/CODEOWNERS +22 -7
  4. package/README.md +14 -1
  5. package/assets/skill-status.json +14 -1
  6. package/assets/uip-catalog-snapshot.json +13 -2
  7. package/hooks/hooks.json +12 -0
  8. package/hooks/send-telemetry.sh +445 -0
  9. package/hooks/suggest-permissions.sh +6 -0
  10. package/package.json +1 -1
  11. package/skills/uipath-admin/SKILL.md +24 -4
  12. package/skills/uipath-admin/references/audit-commands.md +25 -21
  13. package/skills/uipath-admin/references/audit-workflow-guide.md +26 -25
  14. package/skills/uipath-admin/references/diagnose/CAPABILITY.md +74 -0
  15. package/skills/uipath-admin/references/diagnose/references/failure-modes.md +228 -0
  16. package/skills/uipath-admin/references/diagnose/references/troubleshooting-guide.md +106 -0
  17. package/skills/uipath-admin/references/identity-troubleshoot-guide.md +251 -0
  18. package/skills/uipath-agents/SKILL.md +12 -8
  19. package/skills/uipath-agents/references/coded/capabilities/context-grounding.md +2 -0
  20. package/skills/uipath-agents/references/coded/capabilities/conversational-agents.md +2 -0
  21. package/skills/uipath-agents/references/coded/capabilities/guardrails/guardrails-recommend.md +12 -7
  22. package/skills/uipath-agents/references/coded/capabilities/guardrails/guardrails.md +141 -1
  23. package/skills/uipath-agents/references/coded/capabilities/human-in-the-loop.md +2 -0
  24. package/skills/uipath-agents/references/coded/capabilities/integration-service.md +19 -33
  25. package/skills/uipath-agents/references/coded/lifecycle/bindings-reference.md +54 -22
  26. package/skills/uipath-agents/references/coded/lifecycle/build.md +1 -0
  27. package/skills/uipath-agents/references/coded/lifecycle/evaluations/evaluation-sets.md +5 -1
  28. package/skills/uipath-agents/references/coded/lifecycle/setup.md +3 -1
  29. package/skills/uipath-agents/references/coded/quickstart.md +11 -10
  30. package/skills/uipath-agents/references/coded-vs-lowcode-guide.md +1 -0
  31. package/skills/uipath-agents/references/context-grounding-patterns.md +1 -1
  32. package/skills/uipath-agents/references/lowcode/agent-definition.md +97 -12
  33. package/skills/uipath-agents/references/lowcode/capabilities/built-in-tools/analyze-attachments.md +2 -2
  34. package/skills/uipath-agents/references/lowcode/capabilities/built-in-tools/batch-transform/impl-json.md +40 -14
  35. package/skills/uipath-agents/references/lowcode/capabilities/built-in-tools/built-in-tools.md +4 -3
  36. package/skills/uipath-agents/references/lowcode/capabilities/built-in-tools/deeprag/impl-json.md +38 -6
  37. package/skills/uipath-agents/references/lowcode/capabilities/context/attachments.md +1 -1
  38. package/skills/uipath-agents/references/lowcode/capabilities/context/context.md +1 -1
  39. package/skills/uipath-agents/references/lowcode/capabilities/context/datafabric.md +1 -1
  40. package/skills/uipath-agents/references/lowcode/capabilities/context/index.md +7 -3
  41. package/skills/uipath-agents/references/lowcode/capabilities/escalation/escalation.md +49 -38
  42. package/skills/uipath-agents/references/lowcode/capabilities/guardrails/guardrails-recommend.md +3 -1
  43. package/skills/uipath-agents/references/lowcode/capabilities/guardrails/guardrails.md +49 -49
  44. package/skills/uipath-agents/references/lowcode/capabilities/inline-in-flow/inline-in-flow.md +34 -14
  45. package/skills/uipath-agents/references/lowcode/capabilities/integration-service/integration-service.md +1 -1
  46. package/skills/uipath-agents/references/lowcode/capabilities/memory/memory.md +2 -0
  47. package/skills/uipath-agents/references/lowcode/capabilities/process/process.md +2 -2
  48. package/skills/uipath-agents/references/lowcode/capabilities/process/solution-files.md +1 -1
  49. package/skills/uipath-agents/references/lowcode/critical-rules/autonomous-critical-rules.md +15 -0
  50. package/skills/uipath-agents/references/lowcode/critical-rules/conversational-critical-rules.md +19 -0
  51. package/skills/uipath-agents/references/lowcode/{critical-rules.md → critical-rules/critical-rules.md} +25 -27
  52. package/skills/uipath-agents/references/lowcode/debug.md +6 -3
  53. package/skills/uipath-agents/references/lowcode/evaluations/evaluate.md +2 -0
  54. package/skills/uipath-agents/references/lowcode/lowcode.md +29 -6
  55. package/skills/uipath-agents/references/lowcode/model-selection-guide.md +4 -1
  56. package/skills/uipath-agents/references/lowcode/project-lifecycle.md +20 -8
  57. package/skills/uipath-agents/references/lowcode/prompting/agent-prompting-guide.md +17 -0
  58. package/skills/uipath-agents/references/lowcode/{agent-prompting-guide.md → prompting/autonomous-agent-prompting-guide.md} +9 -11
  59. package/skills/uipath-agents/references/lowcode/prompting/conversational-agent-prompting-guide.md +123 -0
  60. package/skills/uipath-agents/references/lowcode/solution-resources.md +1 -1
  61. package/skills/uipath-api-workflow/SKILL.md +32 -12
  62. package/skills/uipath-api-workflow/references/cli-reference.md +110 -22
  63. package/skills/uipath-api-workflow/references/connector-activity-discovery.md +43 -4
  64. package/skills/uipath-api-workflow/references/troubleshooting.md +23 -7
  65. package/skills/uipath-api-workflow/references/workflow-file-format.md +25 -7
  66. package/skills/uipath-coded-apps/SKILL.md +55 -12
  67. package/skills/uipath-coded-apps/assets/fixtures/governance-dashboard-starter-kit.tar.gz +0 -0
  68. package/skills/uipath-coded-apps/assets/scripts/dashboards/build-dashboard.mjs +1371 -0
  69. package/skills/uipath-coded-apps/assets/scripts/dashboards/capability-registry.json +845 -0
  70. package/skills/uipath-coded-apps/assets/scripts/dashboards/flows/build.mjs +338 -0
  71. package/skills/uipath-coded-apps/assets/scripts/dashboards/flows/edit.mjs +248 -0
  72. package/skills/uipath-coded-apps/assets/scripts/dashboards/flows/template.mjs +82 -0
  73. package/skills/uipath-coded-apps/assets/scripts/dashboards/flows/upgrade.mjs +73 -0
  74. package/skills/uipath-coded-apps/assets/scripts/dashboards/lifecycle.mjs +207 -0
  75. package/skills/uipath-coded-apps/assets/scripts/dashboards/setup-admin-folder.mjs +146 -0
  76. package/skills/uipath-coded-apps/assets/scripts/dashboards/tests/regime-eject.test.mjs +124 -0
  77. package/skills/uipath-coded-apps/assets/scripts/dashboards/tests/resolution.test.mjs +1635 -0
  78. package/skills/uipath-coded-apps/assets/templates/action-app/app-template.css +9 -0
  79. package/skills/uipath-coded-apps/assets/templates/action-app/document-tab-template.css +139 -0
  80. package/skills/uipath-coded-apps/assets/templates/action-app/form-template.css +442 -0
  81. package/skills/uipath-coded-apps/assets/templates/action-app/index-template.css +111 -0
  82. package/skills/uipath-coded-apps/assets/templates/action-app-template.md +357 -152
  83. package/skills/uipath-coded-apps/assets/templates/web-app-template.md +255 -78
  84. package/skills/uipath-coded-apps/references/create-action-app.md +284 -195
  85. package/skills/uipath-coded-apps/references/create-web-app.md +64 -26
  86. package/skills/uipath-coded-apps/references/dashboards/CAPABILITY.md +179 -0
  87. package/skills/uipath-coded-apps/references/dashboards/aesthetic/charting.md +138 -0
  88. package/skills/uipath-coded-apps/references/dashboards/aesthetic/layout-patterns.md +152 -0
  89. package/skills/uipath-coded-apps/references/dashboards/plugins/build/impl.md +423 -0
  90. package/skills/uipath-coded-apps/references/dashboards/plugins/deploy/impl.md +322 -0
  91. package/skills/uipath-coded-apps/references/dashboards/primitives/customization.md +66 -0
  92. package/skills/uipath-coded-apps/references/dashboards/primitives/detail-views.md +64 -0
  93. package/skills/uipath-coded-apps/references/dashboards/primitives/incremental-editor.md +92 -0
  94. package/skills/uipath-coded-apps/references/dashboards/primitives/state-file.md +64 -0
  95. package/skills/uipath-coded-apps/references/dashboards/primitives/tier-resolution.md +474 -0
  96. package/skills/uipath-coded-apps/references/debug.md +15 -21
  97. package/skills/uipath-coded-apps/references/oauth-client-setup.md +5 -5
  98. package/skills/uipath-coded-apps/references/oauth-scopes.md +64 -2
  99. package/skills/uipath-coded-apps/references/pack-publish-deploy.md +12 -5
  100. package/skills/uipath-coded-apps/references/patterns.md +10 -5
  101. package/skills/uipath-coded-apps/references/sdk/action-center.md +32 -6
  102. package/skills/uipath-coded-apps/references/sdk/agents.md +241 -0
  103. package/skills/uipath-coded-apps/references/sdk/governance-traces.md +186 -0
  104. package/skills/uipath-coded-apps/references/sdk/governance.md +72 -0
  105. package/skills/uipath-coded-apps/references/sdk/imports.md +4 -0
  106. package/skills/uipath-coded-apps/references/sdk/maestro.md +114 -0
  107. package/skills/uipath-coded-apps/references/sdk/orchestrator.md +80 -4
  108. package/skills/uipath-coded-apps/references/sdk/pagination.md +2 -0
  109. package/skills/uipath-coded-apps/references/sdk/traces.md +89 -0
  110. package/skills/uipath-coded-apps/references/widgets/validation-station.md +308 -0
  111. package/skills/uipath-coded-apps/scripts/validate-action-schema.js +241 -0
  112. package/skills/uipath-connector-builder/SKILL.md +192 -0
  113. package/skills/uipath-connector-builder/references/auth.md +171 -0
  114. package/skills/uipath-connector-builder/references/configuration.md +130 -0
  115. package/skills/uipath-connector-builder/references/debugging.md +80 -0
  116. package/skills/uipath-connector-builder/references/element-json.md +148 -0
  117. package/skills/uipath-connector-builder/references/events.md +132 -0
  118. package/skills/uipath-connector-builder/references/hooks.md +198 -0
  119. package/skills/uipath-connector-builder/references/overview.md +78 -0
  120. package/skills/uipath-connector-builder/references/standard-resources.md +111 -0
  121. package/skills/uipath-connector-builder/references/system-resources.md +85 -0
  122. package/skills/uipath-feedback/SKILL.md +43 -29
  123. package/skills/{uipath-agents/references/coded/frameworks/coded-functions.md → uipath-functions/SKILL.md} +36 -23
  124. package/skills/uipath-governance/SKILL.md +49 -8
  125. package/skills/uipath-governance/references/aops-policy/aops-policy-commands.md +10 -10
  126. package/skills/uipath-governance/references/aops-policy/aops-policy-deploy-guide.md +7 -7
  127. package/skills/uipath-governance/references/auth-context.md +101 -0
  128. package/skills/uipath-governance/references/cli-cheatsheet.md +207 -0
  129. package/skills/uipath-governance/references/compliance-pack/catalog/impl.md +79 -0
  130. package/skills/uipath-governance/references/compliance-pack/coverage/impl.md +141 -0
  131. package/skills/uipath-governance/references/compliance-pack/disable/impl.md +39 -0
  132. package/skills/uipath-governance/references/compliance-pack/full-apply/impl.md +164 -0
  133. package/skills/uipath-governance/references/compliance-pack/partial-apply/impl.md +266 -0
  134. package/skills/uipath-governance/references/compliance-pack/partial-apply/merge-overrides-guide.md +28 -0
  135. package/skills/uipath-governance/references/compliance-pack/partial-apply/planning.md +82 -0
  136. package/skills/uipath-governance/references/compliance-pack/partial-apply/synthesize-formdata-guide.md +22 -0
  137. package/skills/uipath-governance/references/compliance-pack/preview-gate.md +43 -0
  138. package/skills/uipath-governance/references/compliance-pack/query/impl.md +75 -0
  139. package/skills/uipath-governance/references/diagnose/CAPABILITY.md +71 -0
  140. package/skills/uipath-governance/references/diagnose/references/failure-modes.md +201 -0
  141. package/skills/uipath-governance/references/diagnose/references/troubleshooting-guide.md +137 -0
  142. package/skills/uipath-governance/references/disambiguation-guide.md +15 -0
  143. package/skills/uipath-governance/scripts/merge-overrides.mjs +81 -0
  144. package/skills/uipath-governance/scripts/synthesize-formdata.mjs +86 -0
  145. package/skills/uipath-human-in-the-loop/SKILL.md +30 -25
  146. package/skills/uipath-human-in-the-loop/references/hitl-node-apptask.md +38 -4
  147. package/skills/uipath-human-in-the-loop/references/hitl-node-coded-action-app.md +2 -3
  148. package/skills/uipath-human-in-the-loop/references/hitl-node-quickform.md +92 -34
  149. package/skills/uipath-ixp/SKILL.md +120 -0
  150. package/skills/uipath-ixp/references/cli-reference.md +121 -0
  151. package/skills/uipath-ixp/references/improve-prompts-guide.md +283 -0
  152. package/skills/uipath-ixp/references/label-documents-guide.md +207 -0
  153. package/skills/uipath-ixp/references/project-setup-guide.md +90 -0
  154. package/skills/uipath-maestro-bpmn/SKILL.md +167 -68
  155. package/skills/uipath-maestro-bpmn/references/cli-conventions.md +47 -0
  156. package/skills/uipath-maestro-bpmn/references/diagnose/CAPABILITY.md +6 -6
  157. package/skills/uipath-maestro-bpmn/references/operate/CAPABILITY.md +3 -3
  158. package/skills/uipath-maestro-bpmn/references/registry-workflow.md +199 -0
  159. package/skills/uipath-maestro-bpmn/references/structural-bpmn.md +500 -0
  160. package/skills/uipath-maestro-bpmn/validator/README.md +214 -0
  161. package/skills/uipath-maestro-bpmn/validator/bpmn-spec.json +2477 -0
  162. package/skills/uipath-maestro-bpmn/validator/model.mjs +419 -0
  163. package/skills/uipath-maestro-bpmn/validator/package.json +17 -0
  164. package/skills/uipath-maestro-bpmn/validator/rules.mjs +1403 -0
  165. package/skills/uipath-maestro-bpmn/validator/samples/invalid-conditional-and-variable.bpmn +25 -0
  166. package/skills/uipath-maestro-bpmn/validator/samples/valid-baseline.bpmn +52 -0
  167. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/A.2.0.bpmn +157 -0
  168. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/A.2.1.bpmn +333 -0
  169. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/B.1.0.bpmn +598 -0
  170. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/B.2.0.bpmn +1709 -0
  171. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/C.2.0.bpmn +564 -0
  172. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/C.3.0.bpmn +671 -0
  173. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/C.4.0.bpmn +1045 -0
  174. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/C.5.0.bpmn +1176 -0
  175. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/C.6.0.bpmn +670 -0
  176. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/C.7.0.bpmn +466 -0
  177. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Can_Parse_Complex_Process_With_Task_Gateway_BoundaryEvent_etc.bpmn +74 -0
  178. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/ExclusiveGatewayDefaultFlow.bpmn +32 -0
  179. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/ExternalAgentWorkflow.bpmn +62 -0
  180. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Golden_Scenario.initial.bpmn +361 -0
  181. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/InclusiveJoinRouteAwayBranch.bpmn +62 -0
  182. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Parse_AsyncExecution_And_Create_CorrectModel.bpmn +74 -0
  183. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Parse_IXP_ExtractionValidation_And_Create_CorrectModel.bpmn +35 -0
  184. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Parse_IXP_Extraction_FileUpload_And_Create_CorrectModel.bpmn +33 -0
  185. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Parse_IXP_Extraction_JobAttachment_And_Create_CorrectModel.bpmn +35 -0
  186. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Parse_SubProcess_With_Multiple_Element_Types.bpmn +76 -0
  187. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/StartEventWithOutputs.bpmn +36 -0
  188. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/StartGatewayEnd.bpmn +44 -0
  189. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/all elements.bpmn +516 -0
  190. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/all_sequence_flow_types.bpmn +173 -0
  191. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/demo.bpmn +181 -0
  192. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/subprocess-example-001-collapsed.bpmn +126 -0
  193. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/subprocess-example-001-expanded.bpmn +122 -0
  194. package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/subprocess-example-003-collapsed_deeply-nested.bpmn +438 -0
  195. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/A.1.0.bpmn +87 -0
  196. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/A.3.0.bpmn +165 -0
  197. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ApiWorkflow.bpmn +39 -0
  198. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/BpmnNestedSubProcessTests.bpmn +102 -0
  199. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/BpmnTimerBoundaryEvents.bpmn +160 -0
  200. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/BpmnXmlWithCatchAllErrorEventSubProcess.bpmn +45 -0
  201. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/BpmnXmlWithSpecificErrorEventSubProcess.bpmn +46 -0
  202. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/CaseManagementWithConstantIdentifier.bpmn +218 -0
  203. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ErrorBoundary.bpmn +78 -0
  204. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ErrorPropagationInEventSubprocess.bpmn +340 -0
  205. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/EventBasedGatewayFirstCatcherWins.bpmn +56 -0
  206. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/Example-EventBasedGateway.bpmn +117 -0
  207. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ExclusiveGatewayConditional.bpmn +45 -0
  208. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ExclusiveGatewaySharedEndEvent.bpmn +45 -0
  209. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ExclusiveWithParallelGateway.bpmn +68 -0
  210. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/FourScriptTasks.bpmn +84 -0
  211. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/HitlTaskOnly.bpmn +55 -0
  212. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/InclusiveGatewayForkJoin.bpmn +69 -0
  213. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/Parse_BPMN_Elements_And_Create_CorrectModel.bpmn +20 -0
  214. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/Parse_HttpRequest_ServiceTask_And_Create_Correct_Model.bpmn +34 -0
  215. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/Parse_MessageBoundaryEvent_And_Create_CorrectModel.bpmn +87 -0
  216. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/Parse_Script_Task_V2_And_Create_Correct_Model.bpmn +31 -0
  217. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/Parse_Sets_Containers_Properly.bpmn +129 -0
  218. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ScriptWritesVariableThenGatewayBranches.bpmn +55 -0
  219. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/boundaryevent.bpmn +30 -0
  220. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/collapsed-subprocess.bpmn +83 -0
  221. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/connectable-types.bpmn +85 -0
  222. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/extensions-orchestrator-start-job.bpmn +80 -0
  223. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/multiparticipantpool.bpmn +77 -0
  224. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/nestedsubprocess.bpmn +36 -0
  225. package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/simple.bpmn +59 -0
  226. package/skills/uipath-maestro-bpmn/validator/test/integration.test.mjs +146 -0
  227. package/skills/uipath-maestro-bpmn/validator/test/model-helpers.mjs +42 -0
  228. package/skills/uipath-maestro-bpmn/validator/test/ported-rule-tests.mjs +983 -0
  229. package/skills/uipath-maestro-bpmn/validator/test/run-tests.mjs +530 -0
  230. package/skills/uipath-maestro-bpmn/validator/uipath-moddle.v1.json +715 -0
  231. package/skills/uipath-maestro-bpmn/validator/validate-bpmn.mjs +164 -0
  232. package/skills/uipath-maestro-case/SKILL.md +5 -1
  233. package/skills/uipath-maestro-case/assets/templates/sdd-template-examples.md +10 -0
  234. package/skills/uipath-maestro-case/assets/templates/sdd-template.md +89 -17
  235. package/skills/uipath-maestro-case/references/bindings-and-expressions.md +26 -0
  236. package/skills/uipath-maestro-case/references/case-editing-operations.md +3 -0
  237. package/skills/uipath-maestro-case/references/implementation.md +11 -4
  238. package/skills/uipath-maestro-case/references/phase-0-interview.md +8 -7
  239. package/skills/uipath-maestro-case/references/phased-execution.md +2 -1
  240. package/skills/uipath-maestro-case/references/plugins/conditions/stage-exit-conditions/impl-json.md +21 -0
  241. package/skills/uipath-maestro-case/references/plugins/conditions/stage-exit-conditions/planning.md +2 -0
  242. package/skills/uipath-maestro-case/references/plugins/variables/global-vars/impl-json.md +15 -9
  243. package/skills/uipath-maestro-case/references/plugins/variables/io-binding/impl-json.md +131 -4
  244. package/skills/uipath-maestro-case/references/sdd-generation-rules.md +94 -17
  245. package/skills/uipath-maestro-flow/references/author/CAPABILITY.md +1 -1
  246. package/skills/uipath-maestro-flow/references/author/references/planning-arch.md +2 -2
  247. package/skills/uipath-maestro-flow/references/author/references/plugins/hitl/impl.md +11 -11
  248. package/skills/uipath-maestro-flow/references/author/references/plugins/hitl/planning.md +6 -6
  249. package/skills/uipath-maestro-flow/references/author/references/plugins/http/impl-connector.md +4 -1
  250. package/skills/uipath-maestro-flow/references/author/references/plugins/inline-agent/impl.md +157 -122
  251. package/skills/uipath-maestro-flow/references/author/references/plugins/inline-agent/planning.md +16 -4
  252. package/skills/uipath-maestro-flow/references/evaluate/references/commands-reference.md +8 -8
  253. package/skills/uipath-maestro-flow/references/evaluate/references/running-guide.md +3 -3
  254. package/skills/uipath-maestro-flow/references/shared/cli-commands.md +1 -1
  255. package/skills/uipath-planner/SKILL.md +19 -8
  256. package/skills/uipath-planner/assets/templates/agent-sdd-template.md +14 -0
  257. package/skills/uipath-planner/assets/templates/api-workflow-sdd-template.md +14 -0
  258. package/skills/uipath-planner/assets/templates/case-sdd-template.md +14 -0
  259. package/skills/uipath-planner/assets/templates/coded-app-sdd-template.md +14 -0
  260. package/skills/uipath-planner/assets/templates/flow-sdd-template.md +14 -0
  261. package/skills/uipath-planner/assets/templates/rpa-sdd-template.md +40 -5
  262. package/skills/uipath-planner/references/asdd-crosswalk-guide.md +55 -0
  263. package/skills/uipath-planner/references/attended-reauth-pattern-guide.md +43 -0
  264. package/skills/uipath-planner/references/multi-skill-patterns-guide.md +4 -0
  265. package/skills/uipath-planner/references/non-pdd-lane-guide.md +2 -0
  266. package/skills/uipath-planner/references/pdd-analysis-guide.md +24 -1
  267. package/skills/uipath-planner/references/pdd-driven-lane-guide.md +6 -2
  268. package/skills/uipath-planner/references/plan-and-tasks-format.md +2 -0
  269. package/skills/uipath-planner/references/platform-availability-guide.md +43 -0
  270. package/skills/uipath-planner/references/product-selection-guide.md +20 -0
  271. package/skills/uipath-planner/references/sdd-generation-guide.md +90 -21
  272. package/skills/uipath-planner/references/tenant-library-search-guide.md +5 -1
  273. package/skills/uipath-planner/scripts/docx-extract.sh +54 -0
  274. package/skills/uipath-planner/scripts/sdd-to-docx.sh +76 -0
  275. package/skills/uipath-platform/SKILL.md +54 -7
  276. package/skills/uipath-platform/references/context-grounding/index-management.md +123 -0
  277. package/skills/uipath-platform/references/data-fabric/bulk-import.md +86 -0
  278. package/skills/{uipath-data-fabric/references → uipath-platform/references/data-fabric}/choice-sets.md +33 -12
  279. package/skills/uipath-platform/references/data-fabric/data-fabric.md +352 -0
  280. package/skills/uipath-platform/references/data-fabric/entity-schema.md +444 -0
  281. package/skills/uipath-platform/references/data-fabric/file-attachments.md +122 -0
  282. package/skills/{uipath-data-fabric/references → uipath-platform/references/data-fabric}/filter-platform-contract.md +3 -3
  283. package/skills/{uipath-data-fabric/references → uipath-platform/references/data-fabric}/records-query.md +46 -10
  284. package/skills/uipath-platform/references/integration-service/http-request.md +15 -1
  285. package/skills/uipath-platform/references/integration-service/vendor-docs-registry.json +173 -0
  286. package/skills/uipath-platform/references/uip-commands.md +12 -4
  287. package/skills/uipath-review/SKILL.md +53 -12
  288. package/skills/uipath-review/references/agents/agent-common-issues.md +1 -1
  289. package/skills/uipath-review/references/agents/agent-grading-rubric.md +133 -0
  290. package/skills/uipath-review/references/agents/agent-review-checklist.md +23 -3
  291. package/skills/uipath-review/references/agents/agents-coded-rules.md +7 -0
  292. package/skills/uipath-review/references/agents/agents-lowcode-rules.md +13 -3
  293. package/skills/uipath-review/references/agents/guardrails/guardrails-review.md +198 -0
  294. package/skills/uipath-review/references/architecture-assessment-guide.md +2 -0
  295. package/skills/uipath-review/references/review-workflow-guide.md +9 -5
  296. package/skills/uipath-review/references/rule-catalog-workflow.md +3 -3
  297. package/skills/uipath-rpa/SKILL.md +18 -6
  298. package/skills/uipath-rpa/references/cli-reference.md +57 -3
  299. package/skills/uipath-rpa/references/common-activity-card.md +1 -1
  300. package/skills/uipath-rpa/references/connector-capabilities.md +2 -0
  301. package/skills/uipath-rpa/references/data-manipulation-guide.md +311 -0
  302. package/skills/uipath-rpa/references/environment-setup.md +0 -2
  303. package/skills/uipath-rpa/references/error-handling-guide.md +381 -0
  304. package/skills/uipath-rpa/references/is-connector-xaml-guide.md +127 -11
  305. package/skills/uipath-rpa/references/reframework-guide.md +2 -0
  306. package/skills/uipath-rpa/references/testing-guide.md +19 -0
  307. package/skills/uipath-rpa/references/ui-automation-guide.md +129 -18
  308. package/skills/uipath-rpa/references/uia-configure-target-workflows.md +22 -1
  309. package/skills/uipath-rpa/references/uia-elements-interaction-guide.md +93 -0
  310. package/skills/uipath-rpa/references/xaml/canvas-layout-guide.md +41 -4
  311. package/skills/uipath-rpa/references/xaml/common-pitfalls.md +12 -3
  312. package/skills/uipath-rpa/references/xaml/flowchart-guide.md +113 -0
  313. package/skills/uipath-rpa/references/xaml/xaml-basics-and-rules.md +5 -9
  314. package/skills/uipath-solution/SKILL.md +11 -8
  315. package/skills/uipath-solution/references/pack-and-deploy.md +18 -1
  316. package/skills/uipath-solution/references/solution-overview.md +3 -0
  317. package/skills/uipath-test/SKILL.md +2 -1
  318. package/skills/uipath-troubleshoot/SKILL.md +24 -26
  319. package/skills/uipath-troubleshoot/agents/depth-verifier.md +24 -25
  320. package/skills/uipath-troubleshoot/agents/hypothesis-generator.md +8 -4
  321. package/skills/uipath-troubleshoot/agents/hypothesis-tester.md +85 -38
  322. package/skills/uipath-troubleshoot/agents/presenter.md +7 -7
  323. package/skills/uipath-troubleshoot/agents/scope-checker.md +3 -6
  324. package/skills/uipath-troubleshoot/agents/shared.md +26 -21
  325. package/skills/uipath-troubleshoot/agents/triage.md +117 -49
  326. package/skills/uipath-troubleshoot/references/activity-packages/cv-activities/investigation_guide.md +43 -0
  327. package/skills/uipath-troubleshoot/references/activity-packages/cv-activities/overview.md +57 -0
  328. package/skills/uipath-troubleshoot/references/activity-packages/cv-activities/playbooks/cv-action-failed-after-find.md +100 -0
  329. package/skills/uipath-troubleshoot/references/activity-packages/cv-activities/playbooks/cv-cell-targeting-failures.md +111 -0
  330. package/skills/uipath-troubleshoot/references/activity-packages/cv-activities/playbooks/cv-element-not-found.md +125 -0
  331. package/skills/uipath-troubleshoot/references/activity-packages/cv-activities/playbooks/cv-get-text-empty-or-wrong-result.md +117 -0
  332. package/skills/uipath-troubleshoot/references/activity-packages/cv-activities/playbooks/cv-invalid-descriptor.md +102 -0
  333. package/skills/uipath-troubleshoot/references/activity-packages/cv-activities/playbooks/cv-scope-setup-failures.md +136 -0
  334. package/skills/uipath-troubleshoot/references/activity-packages/cv-activities/playbooks/cv-scroll-search-failures.md +114 -0
  335. package/skills/uipath-troubleshoot/references/activity-packages/cv-activities/playbooks/cv-server-auth-throttling-network.md +95 -0
  336. package/skills/uipath-troubleshoot/references/activity-packages/cv-activities/playbooks/cv-silent-failures-and-false-results.md +124 -0
  337. package/skills/uipath-troubleshoot/references/activity-packages/cv-activities/presentation.md +8 -0
  338. package/skills/uipath-troubleshoot/references/activity-packages/cv-activities/summary.md +15 -0
  339. package/skills/uipath-troubleshoot/references/activity-packages/database-activities/investigation_guide.md +42 -0
  340. package/skills/uipath-troubleshoot/references/activity-packages/database-activities/overview.md +41 -0
  341. package/skills/uipath-troubleshoot/references/activity-packages/database-activities/playbooks/connect-to-database-failures.md +104 -0
  342. package/skills/uipath-troubleshoot/references/activity-packages/database-activities/playbooks/execute-non-query-failures.md +97 -0
  343. package/skills/uipath-troubleshoot/references/activity-packages/database-activities/playbooks/execute-query-failures.md +134 -0
  344. package/skills/uipath-troubleshoot/references/activity-packages/database-activities/playbooks/start-transaction-failures.md +94 -0
  345. package/skills/uipath-troubleshoot/references/activity-packages/database-activities/presentation.md +10 -0
  346. package/skills/uipath-troubleshoot/references/activity-packages/database-activities/summary.md +10 -0
  347. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/investigation_guide.md +27 -9
  348. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/overview.md +51 -10
  349. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/append-range-failures.md +146 -0
  350. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/delete-range-failures.md +126 -0
  351. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/excel-application-card-failures.md +139 -0
  352. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/excel-application-scope-failures.md +118 -0
  353. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/execute-macro-failures.md +149 -0
  354. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/write-range-failures.md +145 -0
  355. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/presentation.md +12 -7
  356. package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/summary.md +6 -0
  357. package/skills/uipath-troubleshoot/references/activity-packages/gsuite-activities/investigation_guide.md +1 -0
  358. package/skills/uipath-troubleshoot/references/activity-packages/gsuite-activities/overview.md +12 -4
  359. package/skills/uipath-troubleshoot/references/activity-packages/gsuite-activities/playbooks/connection-and-auth-failures.md +55 -0
  360. package/skills/uipath-troubleshoot/references/activity-packages/gsuite-activities/playbooks/drive-file-not-found.md +18 -10
  361. package/skills/uipath-troubleshoot/references/activity-packages/gsuite-activities/playbooks/get-newest-email-not-found.md +9 -8
  362. package/skills/uipath-troubleshoot/references/activity-packages/gsuite-activities/playbooks/invalid-or-null-input.md +68 -0
  363. package/skills/uipath-troubleshoot/references/activity-packages/gsuite-activities/playbooks/transient-and-timeout-errors.md +52 -0
  364. package/skills/uipath-troubleshoot/references/activity-packages/gsuite-activities/playbooks/upload-storage-quota-exceeded.md +1 -1
  365. package/skills/uipath-troubleshoot/references/activity-packages/gsuite-activities/summary.md +5 -2
  366. package/skills/uipath-troubleshoot/references/activity-packages/mail-activities/overview.md +28 -0
  367. package/skills/uipath-troubleshoot/references/activity-packages/mail-activities/playbooks/delete-outlook-mail-failures.md +105 -0
  368. package/skills/uipath-troubleshoot/references/activity-packages/mail-activities/playbooks/get-outlook-mail-failures.md +109 -0
  369. package/skills/uipath-troubleshoot/references/activity-packages/mail-activities/playbooks/move-outlook-mail-failures.md +97 -0
  370. package/skills/uipath-troubleshoot/references/activity-packages/mail-activities/playbooks/send-outlook-mail-failures.md +95 -0
  371. package/skills/uipath-troubleshoot/references/activity-packages/mail-activities/summary.md +8 -0
  372. package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/investigation_guide.md +23 -0
  373. package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/overview.md +9 -0
  374. package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/application-scope-misconfigured.md +49 -0
  375. package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/authentication-token-invalid.md +53 -0
  376. package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/copy-item-argument-null.md +34 -0
  377. package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/create-folder-invalid-path.md +36 -0
  378. package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/download-file-conversion-or-destination.md +40 -0
  379. package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/drive-item-not-found.md +1 -1
  380. package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/email-trigger-connection-event-failure.md +45 -0
  381. package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/insufficient-graph-scope.md +44 -0
  382. package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/legacy-mail-null-reference.md +43 -0
  383. package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/mail-folder-not-found.md +4 -3
  384. package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/mail-invalid-odata-query.md +43 -0
  385. package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/mail-message-not-found.md +45 -0
  386. package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/request-throttled.md +45 -0
  387. package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/send-mail-rejected.md +52 -0
  388. package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/transient-service-error.md +48 -0
  389. package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/upload-file-quota-or-size.md +47 -0
  390. package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/summary.md +15 -1
  391. package/skills/uipath-troubleshoot/references/activity-packages/python-activities/investigation_guide.md +32 -0
  392. package/skills/uipath-troubleshoot/references/activity-packages/python-activities/overview.md +38 -0
  393. package/skills/uipath-troubleshoot/references/activity-packages/python-activities/playbooks/invoke-method-failures.md +57 -0
  394. package/skills/uipath-troubleshoot/references/activity-packages/python-activities/playbooks/invoke-python-method-pipe-is-broken.md +44 -0
  395. package/skills/uipath-troubleshoot/references/activity-packages/python-activities/playbooks/load-script-failures.md +62 -0
  396. package/skills/uipath-troubleshoot/references/activity-packages/python-activities/playbooks/python-path-not-valid.md +39 -0
  397. package/skills/uipath-troubleshoot/references/activity-packages/python-activities/playbooks/python-scope-architecture-version-mismatch.md +41 -0
  398. package/skills/uipath-troubleshoot/references/activity-packages/python-activities/playbooks/working-folder-relative-path.md +34 -0
  399. package/skills/uipath-troubleshoot/references/activity-packages/python-activities/presentation.md +9 -0
  400. package/skills/uipath-troubleshoot/references/activity-packages/python-activities/summary.md +12 -0
  401. package/skills/uipath-troubleshoot/references/activity-packages/system-activities/playbooks/get-asset-activity-bug-silent-failure.md +1 -1
  402. package/skills/uipath-troubleshoot/references/activity-packages/system-activities/playbooks/get-asset-robot-not-authenticated.md +29 -22
  403. package/skills/uipath-troubleshoot/references/activity-packages/system-activities/summary.md +1 -1
  404. package/skills/uipath-troubleshoot/references/activity-packages/web-activities/investigation_guide.md +30 -0
  405. package/skills/uipath-troubleshoot/references/activity-packages/web-activities/overview.md +36 -0
  406. package/skills/uipath-troubleshoot/references/activity-packages/web-activities/playbooks/deserialize-malformed-input.md +36 -0
  407. package/skills/uipath-troubleshoot/references/activity-packages/web-activities/playbooks/deserialize-null-input.md +35 -0
  408. package/skills/uipath-troubleshoot/references/activity-packages/web-activities/playbooks/deserialize-type-mismatch.md +40 -0
  409. package/skills/uipath-troubleshoot/references/activity-packages/web-activities/playbooks/http-client-null-reference.md +34 -0
  410. package/skills/uipath-troubleshoot/references/activity-packages/web-activities/playbooks/http-request-connection-failure.md +48 -0
  411. package/skills/uipath-troubleshoot/references/activity-packages/web-activities/playbooks/http-request-timeout.md +40 -0
  412. package/skills/uipath-troubleshoot/references/activity-packages/web-activities/playbooks/net-http-request-aggregate-failure.md +38 -0
  413. package/skills/uipath-troubleshoot/references/activity-packages/web-activities/summary.md +13 -0
  414. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/investigation_guide.md +55 -0
  415. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/overview.md +82 -0
  416. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/add-picture-failures.md +51 -0
  417. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/append-text-missing-container.md +31 -0
  418. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/append-text-zero-byte-file.md +32 -0
  419. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/export-pdf-com-hang.md +46 -0
  420. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/export-pdf-missing-output-dir.md +32 -0
  421. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/export-pdf-output-path-format.md +35 -0
  422. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/read-text-doc-format.md +30 -0
  423. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/read-text-missing-container.md +29 -0
  424. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/read-text-protected-view.md +32 -0
  425. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/replace-text-com-busy.md +35 -0
  426. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/replace-text-file-locked.md +33 -0
  427. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/replace-text-headers-textboxes-skipped.md +30 -0
  428. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/replace-text-length-limit.md +30 -0
  429. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/replace-text-loop-template-overwrite.md +31 -0
  430. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/replace-text-multiline-formatting.md +31 -0
  431. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/replace-text-silent-no-substitution.md +32 -0
  432. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/replace-text-version-mismatch.md +30 -0
  433. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/word-com-interop-failures.md +52 -0
  434. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/word-com-start-background-session0.md +50 -0
  435. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/word-export-pdf-com-wrong-thread.md +46 -0
  436. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/word-open-sharepoint-url-com-command-failed.md +45 -0
  437. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/word-scope-cannot-create-unknown-type.md +30 -0
  438. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/word-scope-com-not-installed.md +35 -0
  439. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/word-scope-file-corrupted.md +34 -0
  440. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/word-scope-file-path-not-found.md +36 -0
  441. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/word-scope-hangs-background-prompt.md +34 -0
  442. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/presentation.md +11 -0
  443. package/skills/uipath-troubleshoot/references/activity-packages/word-activities/summary.md +38 -0
  444. package/skills/uipath-troubleshoot/references/products/integration-service/investigation_guide.md +9 -0
  445. package/skills/uipath-troubleshoot/references/products/integration-service/overview.md +7 -0
  446. package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/connection-invalid.md +9 -0
  447. package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/connector-aggregate-exception.md +30 -0
  448. package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/connector-general-exception.md +43 -0
  449. package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/connector-null-reference.md +36 -0
  450. package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/connector-remote-exception.md +31 -0
  451. package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/connector-runtime-exception.md +40 -0
  452. package/skills/uipath-troubleshoot/references/products/integration-service/summary.md +5 -0
  453. package/skills/uipath-troubleshoot/references/products/maestro/investigation_guide.md +2 -1
  454. package/skills/uipath-troubleshoot/references/products/orchestrator/investigation_guide.md +105 -10
  455. package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/job-faulted-logon-failure.md +1 -1
  456. package/skills/uipath-troubleshoot/references/summary.md +59 -3
  457. package/skills/uipath-troubleshoot/schemas/evidence.schema.md +48 -0
  458. package/skills/uipath-troubleshoot/schemas/hypotheses.schema.md +22 -7
  459. package/skills/uipath-troubleshoot/schemas/scope-check.schema.md +1 -1
  460. package/skills/uipath-troubleshoot/schemas/state.schema.md +81 -6
  461. package/version-manifest.json +2 -2
  462. package/skills/uipath-data-fabric/SKILL.md +0 -239
  463. package/skills/uipath-data-fabric/references/bulk-import.md +0 -73
  464. package/skills/uipath-data-fabric/references/entity-schema.md +0 -391
  465. package/skills/uipath-data-fabric/references/file-attachments.md +0 -65
  466. package/skills/uipath-maestro-bpmn/.maintenance/README.md +0 -241
  467. package/skills/uipath-maestro-bpmn/.maintenance/check-all.sh +0 -41
  468. package/skills/uipath-maestro-bpmn/.maintenance/check-anchors.sh +0 -83
  469. package/skills/uipath-maestro-bpmn/.maintenance/check-depth.sh +0 -132
  470. package/skills/uipath-maestro-bpmn/.maintenance/check-link-text.sh +0 -123
  471. package/skills/uipath-maestro-bpmn/.maintenance/check-links.sh +0 -70
  472. package/skills/uipath-maestro-bpmn/.maintenance/check-orphans.sh +0 -93
  473. package/skills/uipath-maestro-bpmn/.maintenance/check-plugin-pairs.sh +0 -39
  474. package/skills/uipath-maestro-bpmn/.maintenance/check-real-pack.sh +0 -79
  475. package/skills/uipath-maestro-bpmn/.maintenance/check-template.sh +0 -42
  476. package/skills/uipath-maestro-bpmn/.maintenance/check-uip-commands.sh +0 -266
  477. package/skills/uipath-maestro-bpmn/.maintenance/check-validation-fixtures.py +0 -1255
  478. package/skills/uipath-maestro-bpmn/.maintenance/check-validation-fixtures.sh +0 -8
  479. package/skills/uipath-maestro-bpmn/fixtures/validation/README.md +0 -94
  480. package/skills/uipath-maestro-bpmn/fixtures/validation/agent-invocation/agent-invocation.bpmn +0 -62
  481. package/skills/uipath-maestro-bpmn/fixtures/validation/agent-invocation/bindings_v2.json +0 -37
  482. package/skills/uipath-maestro-bpmn/fixtures/validation/agent-invocation/entry-points.json +0 -21
  483. package/skills/uipath-maestro-bpmn/fixtures/validation/agent-invocation/operate.json +0 -9
  484. package/skills/uipath-maestro-bpmn/fixtures/validation/agent-invocation/package-descriptor.json +0 -10
  485. package/skills/uipath-maestro-bpmn/fixtures/validation/agent-invocation/project.uiproj +0 -7
  486. package/skills/uipath-maestro-bpmn/fixtures/validation/contract-variants/bindings_v2.json +0 -68
  487. package/skills/uipath-maestro-bpmn/fixtures/validation/contract-variants/contract-variants.bpmn +0 -270
  488. package/skills/uipath-maestro-bpmn/fixtures/validation/contract-variants/entry-points.json +0 -25
  489. package/skills/uipath-maestro-bpmn/fixtures/validation/contract-variants/operate.json +0 -9
  490. package/skills/uipath-maestro-bpmn/fixtures/validation/contract-variants/package-descriptor.json +0 -10
  491. package/skills/uipath-maestro-bpmn/fixtures/validation/contract-variants/project.uiproj +0 -7
  492. package/skills/uipath-maestro-bpmn/fixtures/validation/gateway-boundary-error/bindings_v2.json +0 -19
  493. package/skills/uipath-maestro-bpmn/fixtures/validation/gateway-boundary-error/entry-points.json +0 -25
  494. package/skills/uipath-maestro-bpmn/fixtures/validation/gateway-boundary-error/gateway-boundary-error.bpmn +0 -91
  495. package/skills/uipath-maestro-bpmn/fixtures/validation/gateway-boundary-error/operate.json +0 -9
  496. package/skills/uipath-maestro-bpmn/fixtures/validation/gateway-boundary-error/package-descriptor.json +0 -10
  497. package/skills/uipath-maestro-bpmn/fixtures/validation/gateway-boundary-error/project.uiproj +0 -7
  498. package/skills/uipath-maestro-bpmn/fixtures/validation/imported-brownfield-preservation/bindings_v2.json +0 -4
  499. package/skills/uipath-maestro-bpmn/fixtures/validation/imported-brownfield-preservation/entry-points.json +0 -25
  500. package/skills/uipath-maestro-bpmn/fixtures/validation/imported-brownfield-preservation/imported-brownfield-preservation.bpmn +0 -63
  501. package/skills/uipath-maestro-bpmn/fixtures/validation/imported-brownfield-preservation/operate.json +0 -9
  502. package/skills/uipath-maestro-bpmn/fixtures/validation/imported-brownfield-preservation/package-descriptor.json +0 -10
  503. package/skills/uipath-maestro-bpmn/fixtures/validation/imported-brownfield-preservation/project.uiproj +0 -7
  504. package/skills/uipath-maestro-bpmn/fixtures/validation/integration-service-enriched/bindings_v2.json +0 -52
  505. package/skills/uipath-maestro-bpmn/fixtures/validation/integration-service-enriched/entry-points.json +0 -21
  506. package/skills/uipath-maestro-bpmn/fixtures/validation/integration-service-enriched/integration-service-enriched.bpmn +0 -65
  507. package/skills/uipath-maestro-bpmn/fixtures/validation/integration-service-enriched/operate.json +0 -9
  508. package/skills/uipath-maestro-bpmn/fixtures/validation/integration-service-enriched/package-descriptor.json +0 -10
  509. package/skills/uipath-maestro-bpmn/fixtures/validation/integration-service-enriched/project.uiproj +0 -7
  510. package/skills/uipath-maestro-bpmn/fixtures/validation/linear-process/bindings_v2.json +0 -4
  511. package/skills/uipath-maestro-bpmn/fixtures/validation/linear-process/entry-points.json +0 -25
  512. package/skills/uipath-maestro-bpmn/fixtures/validation/linear-process/linear-process.bpmn +0 -55
  513. package/skills/uipath-maestro-bpmn/fixtures/validation/linear-process/operate.json +0 -9
  514. package/skills/uipath-maestro-bpmn/fixtures/validation/linear-process/package-descriptor.json +0 -10
  515. package/skills/uipath-maestro-bpmn/fixtures/validation/linear-process/project.uiproj +0 -7
  516. package/skills/uipath-maestro-bpmn/fixtures/validation/registry-coverage-matrix/bindings_v2.json +0 -20
  517. package/skills/uipath-maestro-bpmn/fixtures/validation/registry-coverage-matrix/entry-points.json +0 -17
  518. package/skills/uipath-maestro-bpmn/fixtures/validation/registry-coverage-matrix/operate.json +0 -9
  519. package/skills/uipath-maestro-bpmn/fixtures/validation/registry-coverage-matrix/package-descriptor.json +0 -10
  520. package/skills/uipath-maestro-bpmn/fixtures/validation/registry-coverage-matrix/project.uiproj +0 -7
  521. package/skills/uipath-maestro-bpmn/fixtures/validation/registry-coverage-matrix/registry-coverage-matrix.bpmn +0 -207
  522. package/skills/uipath-maestro-bpmn/fixtures/validation/subprocess-multi-instance/bindings_v2.json +0 -4
  523. package/skills/uipath-maestro-bpmn/fixtures/validation/subprocess-multi-instance/entry-points.json +0 -33
  524. package/skills/uipath-maestro-bpmn/fixtures/validation/subprocess-multi-instance/operate.json +0 -9
  525. package/skills/uipath-maestro-bpmn/fixtures/validation/subprocess-multi-instance/package-descriptor.json +0 -10
  526. package/skills/uipath-maestro-bpmn/fixtures/validation/subprocess-multi-instance/project.uiproj +0 -7
  527. package/skills/uipath-maestro-bpmn/fixtures/validation/subprocess-multi-instance/subprocess-multi-instance.bpmn +0 -94
  528. package/skills/uipath-maestro-bpmn/fixtures/validation/wrapper-family-contract/bindings_v2.json +0 -124
  529. package/skills/uipath-maestro-bpmn/fixtures/validation/wrapper-family-contract/entry-points.json +0 -25
  530. package/skills/uipath-maestro-bpmn/fixtures/validation/wrapper-family-contract/operate.json +0 -9
  531. package/skills/uipath-maestro-bpmn/fixtures/validation/wrapper-family-contract/package-descriptor.json +0 -10
  532. package/skills/uipath-maestro-bpmn/fixtures/validation/wrapper-family-contract/project.uiproj +0 -7
  533. package/skills/uipath-maestro-bpmn/fixtures/validation/wrapper-family-contract/wrapper-family-contract.bpmn +0 -151
  534. package/skills/uipath-maestro-bpmn/references/author/CAPABILITY.md +0 -141
  535. package/skills/uipath-maestro-bpmn/references/author/references/brownfield.md +0 -48
  536. package/skills/uipath-maestro-bpmn/references/author/references/editing-operations.md +0 -75
  537. package/skills/uipath-maestro-bpmn/references/author/references/greenfield.md +0 -41
  538. package/skills/uipath-maestro-bpmn/references/author/references/planning-arch.md +0 -82
  539. package/skills/uipath-maestro-bpmn/references/author/references/planning-impl.md +0 -104
  540. package/skills/uipath-maestro-bpmn/references/author/references/plugins/agents/impl.md +0 -34
  541. package/skills/uipath-maestro-bpmn/references/author/references/plugins/agents/planning.md +0 -38
  542. package/skills/uipath-maestro-bpmn/references/author/references/plugins/api-workflows/impl.md +0 -37
  543. package/skills/uipath-maestro-bpmn/references/author/references/plugins/api-workflows/planning.md +0 -28
  544. package/skills/uipath-maestro-bpmn/references/author/references/plugins/business-rules/impl.md +0 -36
  545. package/skills/uipath-maestro-bpmn/references/author/references/plugins/business-rules/planning.md +0 -29
  546. package/skills/uipath-maestro-bpmn/references/author/references/plugins/call-activity-subprocess/impl.md +0 -67
  547. package/skills/uipath-maestro-bpmn/references/author/references/plugins/call-activity-subprocess/planning.md +0 -29
  548. package/skills/uipath-maestro-bpmn/references/author/references/plugins/connectors/impl.md +0 -29
  549. package/skills/uipath-maestro-bpmn/references/author/references/plugins/connectors/planning.md +0 -33
  550. package/skills/uipath-maestro-bpmn/references/author/references/plugins/gateways/impl.md +0 -32
  551. package/skills/uipath-maestro-bpmn/references/author/references/plugins/gateways/planning.md +0 -34
  552. package/skills/uipath-maestro-bpmn/references/author/references/plugins/hitl/impl.md +0 -42
  553. package/skills/uipath-maestro-bpmn/references/author/references/plugins/hitl/planning.md +0 -30
  554. package/skills/uipath-maestro-bpmn/references/author/references/plugins/integration-service/impl.md +0 -134
  555. package/skills/uipath-maestro-bpmn/references/author/references/plugins/integration-service/planning.md +0 -67
  556. package/skills/uipath-maestro-bpmn/references/author/references/plugins/multi-instance/impl.md +0 -50
  557. package/skills/uipath-maestro-bpmn/references/author/references/plugins/multi-instance/planning.md +0 -29
  558. package/skills/uipath-maestro-bpmn/references/author/references/plugins/queues/impl.md +0 -29
  559. package/skills/uipath-maestro-bpmn/references/author/references/plugins/queues/planning.md +0 -29
  560. package/skills/uipath-maestro-bpmn/references/author/references/plugins/rpa-jobs/impl.md +0 -35
  561. package/skills/uipath-maestro-bpmn/references/author/references/plugins/rpa-jobs/planning.md +0 -29
  562. package/skills/uipath-maestro-bpmn/references/author/references/plugins/script/impl.md +0 -118
  563. package/skills/uipath-maestro-bpmn/references/author/references/plugins/script/planning.md +0 -30
  564. package/skills/uipath-maestro-bpmn/references/author/references/plugins/sequence-flows/impl.md +0 -30
  565. package/skills/uipath-maestro-bpmn/references/author/references/plugins/sequence-flows/planning.md +0 -30
  566. package/skills/uipath-maestro-bpmn/references/author/references/plugins/service-tasks/impl.md +0 -33
  567. package/skills/uipath-maestro-bpmn/references/author/references/plugins/service-tasks/planning.md +0 -31
  568. package/skills/uipath-maestro-bpmn/references/author/references/plugins/signals/impl.md +0 -33
  569. package/skills/uipath-maestro-bpmn/references/author/references/plugins/signals/planning.md +0 -46
  570. package/skills/uipath-maestro-bpmn/references/author/references/plugins/start-end-events/impl.md +0 -59
  571. package/skills/uipath-maestro-bpmn/references/author/references/plugins/start-end-events/planning.md +0 -37
  572. package/skills/uipath-maestro-bpmn/references/author/references/plugins/waits-triggers/impl.md +0 -40
  573. package/skills/uipath-maestro-bpmn/references/author/references/plugins/waits-triggers/planning.md +0 -34
  574. package/skills/uipath-maestro-bpmn/references/author/references/supported-elements.md +0 -123
  575. package/skills/uipath-maestro-bpmn/references/author/references/task-recipes/README.md +0 -29
  576. package/skills/uipath-maestro-bpmn/references/author/references/task-recipes/agent-job.md +0 -36
  577. package/skills/uipath-maestro-bpmn/references/author/references/task-recipes/api-workflow.md +0 -29
  578. package/skills/uipath-maestro-bpmn/references/author/references/task-recipes/business-rule.md +0 -18
  579. package/skills/uipath-maestro-bpmn/references/author/references/task-recipes/call-activity.md +0 -56
  580. package/skills/uipath-maestro-bpmn/references/author/references/task-recipes/hitl.md +0 -17
  581. package/skills/uipath-maestro-bpmn/references/author/references/task-recipes/http-request.md +0 -119
  582. package/skills/uipath-maestro-bpmn/references/author/references/task-recipes/queue.md +0 -21
  583. package/skills/uipath-maestro-bpmn/references/author/references/task-recipes/rpa-job.md +0 -23
  584. package/skills/uipath-maestro-bpmn/references/author/references/validation.md +0 -118
  585. package/skills/uipath-maestro-bpmn/references/shared/bpmn-xml-contract.md +0 -197
  586. package/skills/uipath-maestro-bpmn/references/shared/cli-conventions.md +0 -46
  587. package/skills/uipath-maestro-bpmn/references/shared/error-handling.md +0 -82
  588. package/skills/uipath-maestro-bpmn/references/shared/variables-bindings-expressions.md +0 -150
  589. package/skills/uipath-maestro-bpmn/references/shared/wrapper-shells.md +0 -554
  590. /package/skills/uipath-maestro-bpmn/references/{shared/expression-authoring.md → expression-authoring.md} +0 -0
  591. /package/skills/uipath-maestro-bpmn/references/{shared/public-safety.md → public-safety.md} +0 -0
  592. /package/{agents → skills/uipath-rpa/agents}/uipath-project-discovery-agent.md +0 -0
@@ -0,0 +1,50 @@
1
+ ---
2
+ confidence: medium
3
+ ---
4
+
5
+ # Word Application Scope — COM Start Fails in Background / Session 0 (unattended)
6
+
7
+ ## Context
8
+
9
+ What this looks like:
10
+ - `Word Application Scope` / `Use Word File` faults on **COM start**, before any document is opened.
11
+ - Exception type `UiPath.Word.WordException`, message `Error opening document, make sure Word application is installed. If already installed, an Office Repair may be required.`
12
+ - Stack runs through the COM-start path:
13
+ - `UiPath.Word.Windows.Utilities.WordAppHelpers.StartNewApplication`
14
+ - `UiPath.Word.Windows.Utilities.ComAppReferenceCountManager.StartOrAttach`
15
+ - `UiPath.Word.Activities.WordApplicationScope.Execute`
16
+ - The job is typically **unattended** (Orchestrator-dispatched on a robot machine). A common tell: Word opens fine when a user launches it interactively on the same machine, but the unattended robot fails.
17
+ - Distinct from the open-path `COMException "Command failed"` (faults on `Documents.Open`; see [word-open-sharepoint-url-com-command-failed.md](./word-open-sharepoint-url-com-command-failed.md)) and from the wrong-thread cast (`0x8001010E`; see [word-export-pdf-com-wrong-thread.md](./word-export-pdf-com-wrong-thread.md)).
18
+
19
+ What can cause it (more than one may apply):
20
+ - **Background Process / Session 0 (primary).** The process is published as a Background Process, so on an Unattended Robot it runs in **Session 0** under `LOCAL SERVICE` with no interactive desktop. Microsoft Office apps (Word/Excel/PowerPoint) are user-session apps — their COM server can only instantiate inside an interactive Windows session, so `StartNewApplication` fails. The project-side marker is `runtimeOptions.requiresUserInteraction: false` in `project.json` (equivalently, **Project Settings → Starts in Background = Yes**). **Note: modern `project.json` has no `"background": true` key — `requiresUserInteraction: false` is the flag.**
21
+ - **Word not installed / not COM-capable** on the robot machine — no supported Word desktop edition, or a non-interop install. The error's first clause ("make sure Word application is installed") points here; confirmed only when Word does *not* open interactively for the robot user.
22
+ - **Broken Office COM Interop registration** — install/uninstall/downgrade or component (e.g. Skype for Business) mismatch left Word mis-registered; needs an Office Repair. This fails **both** interactively and unattended, so it is ruled out when Word opens cleanly in an interactive session.
23
+
24
+ What to look for:
25
+ - `runtimeOptions.requiresUserInteraction` in `project.json` (`false` ⇒ background process).
26
+ - Whether the run is unattended Session 0 / background vs attended / interactive.
27
+ - Whether Word opens standalone for the robot user on the affected machine (host-side check).
28
+
29
+ ## Investigation
30
+
31
+ 1. Read the error from job evidence. Confirm the type is `UiPath.Word.WordException` with the "make sure Word application is installed … Office Repair may be required" text and the top frame is `WordAppHelpers.StartNewApplication` (COM start) — not `Documents.Open` and not a child cast.
32
+ 2. Read `runtimeOptions.requiresUserInteraction` from `project.json`. `false` confirms the process is a Background Process that runs in Session 0 when unattended. Do NOT look for a `"background": true` key — it does not exist in modern `project.json`.
33
+ 3. Establish the run surface: unattended Orchestrator job in background / Session 0 vs attended / interactive session. The job's robot/machine and session type are in the job evidence.
34
+ 4. Host-side discriminators (out-of-band — ask the user, not reachable via CLI): (a) Does a supported Word desktop edition open standalone for the robot user (`Win+R → winword`)? (b) Does the Studio Repair Tool for Microsoft Office *detect* Word? Answers split the causes:
35
+ - Word **opens interactively** but the **background** robot fails ⇒ Background/Session-0 limitation (primary cause).
36
+ - Word **does not open** / is absent ⇒ not installed.
37
+ - Word **errors interactively too** / Repair detects a problem ⇒ broken registration.
38
+
39
+ ## Resolution
40
+
41
+ - **If `requiresUserInteraction: false` / Background Process / Session 0 (Word opens interactively):**
42
+ - Publish the process as a **foreground** process: Studio **Project Settings → Starts in Background → No** (sets `runtimeOptions.requiresUserInteraction: true`), so the Office activities run in an interactive session.
43
+ - Configure the unattended robot to open an **interactive Windows session** — a Service Mode Robot using a robot account with Unattended setup and **Windows credentials** (so it auto-logs-on an interactive session), rather than a headless background run.
44
+ - If the process must stay background, wrap the Office activities in a **Use Foreground** activity, which temporarily moves execution into the foreground.
45
+ - **Do NOT run an Office Repair** — install and registration are healthy when Word opens cleanly interactively.
46
+ - Confirm with an out-of-band A/B re-run: foreground / interactive run succeeds vs the background run faulting.
47
+ - **If Word is not installed / not COM-capable** on the robot machine: install a supported Microsoft Word desktop edition (interop-capable) for the robot user.
48
+ - **If Office COM registration is broken** (Word errors interactively too): run the **Repair Tool for Microsoft Office** (Studio → Home → Tools → Apps) on the robot machine.
49
+
50
+ If the failure persists after the process runs foreground in a confirmed interactive session with Word installed and registered, capture a `Verbose` robot log plus the full stack and open a UiPath support case.
@@ -0,0 +1,46 @@
1
+ ---
2
+ confidence: medium
3
+ ---
4
+
5
+ # Word Application Scope — Save Document as PDF COM Wrong-Thread (0x8001010E RPC_E_WRONG_THREAD)
6
+
7
+ ## Context
8
+
9
+ What this looks like:
10
+ - `Save Document as PDF` (`WordExportToPdf`) — or another activity inside the surrounding `Word Application Scope` / `Use Word File` — faults casting the document COM object.
11
+ - Error message contains:
12
+ - `Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.Interop.Word._Document'.`
13
+ - `... the QueryInterface call on the COM component for the interface with IID '{0002096B-0000-0000-C000-000000000046}' failed ...`
14
+ - `The application called an interface that was marshalled for a different thread. (0x8001010E (RPC_E_WRONG_THREAD)).`
15
+ - IID `{0002096B-0000-0000-C000-000000000046}` = `Microsoft.Office.Interop.Word._Document`.
16
+ - The workflow is often structurally correct — the export is the sole/last child of the scope that opened the document, with no `Parallel`/`Pick`/`Invoke`/coded thread between scope-open and export.
17
+
18
+ What can cause it (more than one may apply):
19
+ - **Scope attached to an externally-owned Word instance** — Word (`WINWORD.EXE`) was already open when the scope ran. `Word Application Scope` exposes no new-instance / isolated-instance / attach control (unlike `Excel Process Scope`), so it reuses the running Word. That instance's `_Document` lives on the external process's STA apartment; the robot worker thread's cross-apartment `QueryInterface` fails.
20
+ - **The attached Word closed mid-run** — the externally-owned Word window closed (manually, by a user, by another process, or by an embedded OLE host) after the scope bound the document but before the export. The close tore down / re-marshalled the apartment owning the `_Document`, leaving the activity's proxy bound to a stale/replaced apartment. `RPC_E_WRONG_THREAD` (not `0x80010108 RPC_E_DISCONNECTED`) is the signature of a *replaced* apartment, not a clean server death.
21
+ - **Off-STA / non-interactive runtime** — the export ran where the worker thread is not the STA that owns the document: an unattended robot in Session 0, a background process, or a thread other than the scope creator (`Parallel`/`Pick`/async/`Invoke Code`/coded `.cs`). Word interop requires an interactive STA session.
22
+ - **Package version skew** — a pre-release / alpha `UiPath.Word.Activities` build on a runtime it was not paired with. Alpha-build behavior is undefined; rule it out by testing the stable LTS-bundled version.
23
+
24
+ What to look for:
25
+ - Whether `WINWORD.EXE` was already running when the job started, and whether it stayed open through the export.
26
+ - Run surface: Studio Run/Debug foreground vs attended vs unattended/Session 0 vs background.
27
+ - Scope structure: is the export the child of the scope that opened the document; any `Parallel`/`Pick`/`Invoke`/coded thread between scope-open and export.
28
+ - `UiPath.Word.Activities` version (stable vs alpha/pre-release).
29
+
30
+ ## Investigation
31
+
32
+ 1. Read the error from job evidence. Confirm the HRESULT is `0x8001010E RPC_E_WRONG_THREAD` and the IID is `{0002096B-...}` (`_Document`). Distinguish from `0x80010108 RPC_E_DISCONNECTED` (server died) — different cause, different fix.
33
+ 2. Read the faulted activity and its surrounding `Word Application Scope` / `Use Word File` from the `.xaml`. Confirm the export is correctly nested (sole/last child of the scope that opened the document) and capture the scope's `FilePath` / `CreateNewFile`.
34
+ 3. Trace threading from source: grep the workflow(s) for `Parallel`, `ParallelForEach`, `Pick`, `PickBranch`, `InvokeWorkflowFile`, `InvokeCode`, and coded `.cs` workflows. If any sits between scope-open and export, the off-STA cause is in play.
35
+ 4. Establish the runtime sequence (ask the user if not in logs): Was Word already open when the run started? Did that Word window close before the export ran? Was the run foreground Studio / attended, or unattended / Session 0 / background?
36
+ 5. Grep the workflow for any activity that closes or kills Word or a host app (`Close Application`, `Close Window`, `Kill Process`, `Quit`, host `Dispose`). If none exist, a mid-run close was external/manual — out of the workflow graph.
37
+ 6. Read `UiPath.Word.Activities` version from `project.json`. Note whether it is a pre-release / alpha build vs the stable version bundled with the runtime's LTS.
38
+
39
+ ## Resolution
40
+
41
+ - **If Word was already open / attached externally (and/or closed mid-run):** ensure no user-opened `WINWORD.EXE` is running when the workflow executes, and do not open or close Word on the host during the run — let the scope own its own Word instance. Confirm with an A/B re-run: Trial A opens external Word, lets the scope attach, then closes that Word window before the export (expect the error); Trial B runs with no external Word open (expect success). Error only in A confirms the attachment / mid-run-close cause.
42
+ - **If the export must run while Word may be open, or unattended:** migrate the document-to-PDF path to the **System Word** activities (background, no Word UI, no shared interop instance), which remove the dependency on an interactive/external Word. Verify the System Word group covers the export before migrating; if it does not, keep `Word Application Scope` and apply the no-external-Word fix above.
43
+ - **If the run surface is unattended / Session 0 / background:** Word interop requires an interactive STA session. Run the automation attended in an interactive session, or switch to the System Word (background) activities. If a `Parallel`/`Pick`/`Invoke`/coded thread sits between scope-open and export, move the export onto the same thread/scope that opened the document.
44
+ - **If the package is a pre-release / alpha build:** pin `UiPath.Word.Activities` to the stable version bundled with the runtime's LTS and re-test to rule out a build regression.
45
+
46
+ If the failure persists after no external Word is present and the run is attended/STA, capture a `Verbose` robot log plus the full marshalling stack trace and open a UiPath support case — the residual cases are package or Office-version-specific bugs that need vendor diagnosis.
@@ -0,0 +1,45 @@
1
+ ---
2
+ confidence: medium
3
+ ---
4
+
5
+ # Word Application Scope — Open SharePoint URL COMException "Command failed"
6
+
7
+ ## Context
8
+
9
+ What this looks like:
10
+ - `Word Application Scope` / `Use Word File` faults on **open**, not on a child save/export.
11
+ - Exception type `System.Runtime.InteropServices.COMException`, message `Command failed`.
12
+ - Stack runs through the OPEN path:
13
+ - `Microsoft.Office.Interop.Word.Documents.Open(...)`
14
+ - `UiPath.Word.Windows.Utilities.WordDocumentFactory.OpenOrCreateNewDocument`
15
+ - `UiPath.Word.Windows.Utilities.WordDocumentFactory.CreateDocument` / `CreateRuntimeWordDocument`
16
+ - `UiPath.Word.Activities.WordApplicationScope.Execute`
17
+ - The scope's `FilePath` is a SharePoint / OneDrive **web sharing link**, recognizable by a `:w:` / `:x:` / `:p:` / `:f:` segment and a `?e=` token — e.g. `https://<tenant>-my.sharepoint.com/:w:/p/<user>/<token>?e=<id>`. The scope is often nested inside a `Use OneDrive and SharePoint` (`UseDriveCard`) activity.
18
+ - Distinct from the COM wrong-thread cast (`0x8001010E`, IID `{0002096B-...}`) — that faults on a child cast, not on `Documents.Open`. See [word-export-pdf-com-wrong-thread.md](./word-export-pdf-com-wrong-thread.md).
19
+
20
+ What can cause it (more than one may apply):
21
+ - **Web-view sharing-link URL passed verbatim** — `Word Application Scope` passes `FilePath` straight to local Word's `Documents.Open`. A `:w:`/`:f:` sharing link is a browser-redirect landing page, not a document filename, so `Documents.Open` cannot resolve it → generic `COMException "Command failed"`. The enclosing `Use OneDrive and SharePoint` card does **not** pre-download or resolve the file for the nested Word activity — it only manages the M365 connection.
22
+ - **`CreateNewFile` against a URL** — `CreateNewFile` defaults `True` when the attribute is absent. "Create if not exists" is not supported with a URL path; `uip rpa validate` surfaces this as a warning, and the create branch fails against a remote URL.
23
+ - **File not openable by Word** — locked / checked-out, Protected View, password-protected, an online-only OneDrive placeholder not materialized locally, or an unsupported format.
24
+
25
+ What to look for:
26
+ - The exact `FilePath` value and whether it is a `:w:`/`:f:` sharing link vs a direct document URL vs a local/UNC path.
27
+ - Whether `CreateNewFile` is set or defaulting to `True`.
28
+ - Whether the document already exists at the target location.
29
+
30
+ ## Investigation
31
+
32
+ 1. Read the error from job evidence. Confirm the type is `COMException` with message `Command failed` and the top frame is `Documents.Open` (the OPEN branch) — not a child cast and not `WordAppHelpers.StartNewApplication` (COM-start; see [word-com-start-background-session0.md](./word-com-start-background-session0.md)).
33
+ 2. Read the faulted `Word Application Scope` from the `.xaml`. Capture the verbatim `FilePath`, the `CreateNewFile` value (absent ⇒ `True`), and whether the scope sits inside a `Use OneDrive and SharePoint` / `UseDriveCard`.
34
+ 3. Classify the `FilePath`: a SharePoint web-view **sharing link** has a `:w:`/`:x:`/`:p:`/`:f:` segment and a `?e=` token. A **direct document URL** looks like `https://<tenant>-my.sharepoint.com/personal/<user>/Documents/<file>.docx`. A **local/synced** path is a drive/UNC path.
35
+ 4. Run `uip rpa validate --file-path "<MAIN_XAML>" --output json`. A warning `'Create if not exists' is not supported when using a URL for the file path` confirms the `CreateNewFile`-with-URL problem.
36
+ 5. Out-of-band: have the user paste the `FilePath` into desktop Word **File > Open** on the robot host. A sharing link fails there too; a direct document URL or synced local path opens.
37
+
38
+ ## Resolution
39
+
40
+ - **If `FilePath` is a `:w:`/`:f:` sharing link:** replace it with a Word-openable form — a direct document URL (`.../personal/<user>/Documents/<file>.docx`; in SharePoint use *Copy link* and pick a direct document link, strip any `?web=1`/`?e=` suffix), a WebDAV-style path, or a synced/downloaded local path. Confirm the replacement opens in desktop Word File > Open before relying on it.
41
+ - **If `CreateNewFile` defaults `True` and the document already exists:** set `CreateNewFile = False`. "Create if not exists" is unsupported with a URL path; re-run `uip rpa validate` and confirm the warning clears.
42
+ - **If the document must stay in SharePoint:** restructure to **download-then-open** — the `Use OneDrive and SharePoint` card does not auto-download for the nested Word activity, so use the connector's file activities to pull the file to a local path, then point `Word Application Scope` at that local path. A guaranteed-local path removes the URL-format and authentication dependencies entirely.
43
+ - **If a direct URL still fails after the format is correct:** local Word reaching SharePoint depends on cached M365 credentials in the robot's Word process; an unauthenticated open surfaces the same generic `COMException`. Prefer a synced/local path, or ensure the robot's Word session is signed in to the tenant.
44
+
45
+ If the failure persists with a confirmed Word-openable path that opens in desktop Word File > Open, capture a `Verbose` robot log plus the full stack and open a UiPath support case.
@@ -0,0 +1,30 @@
1
+ ---
2
+ confidence: high
3
+ ---
4
+
5
+ # Word Application Scope — "Cannot create unknown type WordApplicationScope"
6
+
7
+ ## Context
8
+
9
+ What this looks like:
10
+ - The workflow fails to load or compile with `Cannot create unknown type '{clr-namespace:UiPath.Word.Activities;assembly=UiPath.Word.Activities}WordApplicationScope'` (or a similar "unknown type" / "could not load activity" error)
11
+ - The failure happens before any document is touched — at job start or during package restore, not at runtime inside the scope
12
+
13
+ What can cause it:
14
+ - The machine executing the job **lacks the `UiPath.Word.Activities` package dependency**, or has a version that does not contain the `WordApplicationScope` type. The XAML references the activity, but the assembly is not restored on that host.
15
+ - **Version mismatch across environments** — the package resolves locally in Studio but a different (or missing) version is installed on the remote/unattended robot via Orchestrator, so the type cannot be created there.
16
+
17
+ What to look for:
18
+ - `project.json` lists `UiPath.Word.Activities` but the robot's package cache / feed does not have that version.
19
+ - Works in Studio, fails only when run via Orchestrator on a remote robot.
20
+
21
+ ## Investigation
22
+
23
+ 1. Open `Manage Packages` in Studio and confirm `UiPath.Word.Activities` is installed and referenced. Compare the resolved version against `project.json`.
24
+ 2. If the job runs via Orchestrator on a remote robot, confirm the same `UiPath.Word.Activities` version is available on that robot — check the robot's package feed and that the published package bundled the dependency.
25
+
26
+ ## Resolution
27
+
28
+ - **If the package is missing or out of date in Studio** — install / update `UiPath.Word.Activities` via `Manage Packages`, rebuild, and re-publish.
29
+ - **If the version differs across environments** — pin the dependency version in `project.json` and confirm that exact version is published to the feed the robot restores from, so versions match perfectly across Studio and every robot.
30
+ - **If running on a remote robot** — confirm the robot can reach the package feed and that the published process bundled `UiPath.Word.Activities`; republish if the dependency was not included.
@@ -0,0 +1,35 @@
1
+ ---
2
+ confidence: high
3
+ ---
4
+
5
+ # Word Application Scope — Error Opening Document / Word Not Installed (COM Interop)
6
+
7
+ ## Context
8
+
9
+ What this looks like:
10
+ - Activity `Word Application Scope` (`UiPath.Word.Activities.WordApplicationScope`) faults the moment it tries to open the document, before reading or writing any content
11
+ - Error message contains one of: `Error opening document, make sure Word application is installed`, `Could not load file or assembly 'Microsoft.Office.Interop.Word'`, `Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed`, `80040154 (REGDB_E_CLASSNOTREG)`, or `Cannot create an instance of Microsoft.Office.Interop.Word.ApplicationClass`
12
+
13
+ What can cause it:
14
+ - `Word Application Scope` drives the **Microsoft Word Interop API** — it launches a real WINWORD.EXE via COM. The scope cannot establish that COM connection when:
15
+ - Desktop Word is not installed on the execution host (only the web/online version is available, a Linux robot, a stripped-down VM, or a container image)
16
+ - A **bitness conflict** between Office and the robot process — 32-bit Office against a 64-bit robot (or vice versa) — so cross-bitness COM marshaling fails to create the class factory
17
+ - Office is installed but its COM registration is damaged (failed update, partial install)
18
+
19
+ What to look for:
20
+ - `REGDB_E_CLASSNOTREG` / `make sure Word application is installed` is the signature of "no usable desktop Word for Interop" — it is an environment fault, not a workflow defect.
21
+
22
+ ## Investigation
23
+
24
+ 1. Read the faulted node from the workflow `.xaml` and confirm it is `Word Application Scope` (classic Interop) rather than the modern `Use Word File` surface.
25
+ 2. Confirm desktop Microsoft Word is installed on the execution machine. Ask the user (or someone with access to the robot host, signed in as the robot's Windows user) to check `Control Panel > Programs and Features` for a Microsoft Office / Microsoft 365 entry, or run `Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\winword.exe'` in PowerShell. Web/online Word does not satisfy Interop.
26
+ 3. Capture the Office bitness (`File > Account > About Word`) and compare it against the robot process bitness. A 32-bit/64-bit mismatch is a common cause when Word *is* installed but the scope still faults at startup.
27
+ 4. Confirm the robot type. Linux robots and many cloud/container unattended hosts have no Word and cannot run Interop activities at all.
28
+
29
+ ## Resolution
30
+
31
+ - **If Word is not installed** — install the desktop Microsoft Word (or full Office / Microsoft 365 desktop suite) on the execution machine under a license the robot's Windows user can activate, then re-run.
32
+ - **If only web/online Office is present** — the online edition cannot back Interop. Install the desktop suite, or migrate the workflow to the modern `Use Word File` surface where the operation supports it.
33
+ - **If Office and robot bitness differ** — reinstall Office at the same bitness as the robot (preferred: 64-bit Office for 64-bit robots), or run the robot under the matching bitness.
34
+ - **If Office is installed at matching bitness but COM is still unregistered** — run the Office Repair tool: `Control Panel > Programs and Features > Microsoft Office > Change > Repair` (Online Repair re-registers the COM components).
35
+ - **If Word cannot be installed on the host** (Linux robot, locked-down VM, container) — re-architect to avoid Interop. There is no in-place workaround; `Word Application Scope` requires a registered desktop Word.
@@ -0,0 +1,34 @@
1
+ ---
2
+ confidence: medium
3
+ ---
4
+
5
+ # Word Application Scope — "The file appears to be corrupted"
6
+
7
+ ## Context
8
+
9
+ What this looks like:
10
+ - Activity `Word Application Scope` (`UiPath.Word.Activities.WordApplicationScope`) faults opening or saving the document with a message containing `The file appears to be corrupted`, `Word experienced an error trying to open the file`, or `cannot be opened because there are problems with the contents`
11
+ - The same document opens cleanly when a user double-clicks it interactively — corruption is intermittent / robot-only
12
+
13
+ What can cause it (more than one may apply):
14
+ - **Background WINWORD.EXE holds a lock** — a previous run (or a crashed scope) left an orphaned WINWORD.EXE owning the file handle, so the new run cannot read/save and Word reports the half-written file as corrupted
15
+ - **Template reused in place** — the workflow opens a template `.docx`/`.dotx`, edits it, and writes back to the same path. A concurrent/locked handle leaves the source partially overwritten and unreadable on the next open
16
+ - **Mark-of-the-Web / Protected View** — the file came from the internet or an untrusted share; Word opens it in Protected View and the Interop write fails, surfacing as a content/corruption error
17
+
18
+ What to look for:
19
+ - Multiple `WINWORD.EXE` instances in Task Manager on the robot host with no visible window.
20
+ - Whether the input path and the output path are the **same file** (in-place template overwrite).
21
+
22
+ ## Investigation
23
+
24
+ 1. Read the `Word Application Scope` node from the `.xaml`. Capture the input document path and the path the workflow saves to. Note whether they are identical (in-place edit of a template).
25
+ 2. Check the robot machine for orphaned `WINWORD.EXE` processes before the next run (Task Manager → instances with no window).
26
+ 3. Ask the user to open the failing document interactively on the robot host as the robot's Windows user. If it opens in **Protected View** (yellow banner) or prompts for recovery, that is the blocking state.
27
+ 4. Confirm the file is not held open by a sync client (OneDrive/SharePoint), antivirus, or a concurrent job at failure time.
28
+
29
+ ## Resolution
30
+
31
+ - **If an orphaned WINWORD.EXE holds the file** — add a `Kill Process` activity configured for `WINWORD` immediately **before** the `Word Application Scope` to clear locked sessions. As a one-time cleanup, end stray instances via Task Manager or `Stop-Process -Name WINWORD -Force`. Going forward, ensure the scope always disposes (no `Try/Catch` swallowing its exit) so it closes Word cleanly.
32
+ - **If the workflow overwrites a template in place** — change the workflow to **save as a new file** (a distinct output path), leaving the source template untouched. Build the output path with `Path.Combine` rather than reusing the input path variable.
33
+ - **If the document opens in Protected View / Mark-of-the-Web** — unblock the file (`Right-click > Properties > Unblock`) or pre-process it with `Unblock-File <path>` in PowerShell before the workflow runs; or add the folder to Word Trusted Locations (`File > Options > Trust Center > Trust Center Settings > Trusted Locations`).
34
+ - **If the source file is genuinely corrupt** — open it interactively, use `File > Open > Open and Repair`, save a clean copy, and point the workflow at the repaired file.
@@ -0,0 +1,36 @@
1
+ ---
2
+ confidence: medium
3
+ ---
4
+
5
+ # Word Application Scope — File Path Verification Errors / Document Not Found
6
+
7
+ ## Context
8
+
9
+ What this looks like:
10
+ - Activity `Word Application Scope` (`UiPath.Word.Activities.WordApplicationScope`) faults because the target document does not exist at the resolved path — `Could not find file '<path>'`, `Could not find a part of the path`, or a generic open failure pointing at a path that is wrong
11
+ - The path string is built dynamically and resolves to the wrong location at runtime
12
+
13
+ What can cause it:
14
+ - The target file genuinely does not exist (the workflow expects to **create** a new document but the scope is configured to open an existing one)
15
+ - A **relative path** resolves against the wrong working directory — on an unattended robot a relative path resolves against the robot's working directory (often `C:\Windows\System32\config\systemprofile`), not the project folder, so a path that resolves correctly in Studio is not found at runtime
16
+ - A **dynamically generated path** is built incorrectly (string concatenation with wrong separators, missing folder segment, stale variable)
17
+ - Under an unattended robot session, a mapped drive letter is not available, or a OneDrive/SharePoint Files-On-Demand placeholder has not been hydrated
18
+
19
+ What to look for:
20
+ - Whether the workflow intends to open an existing document or create a new one.
21
+ - How the path is constructed (literal vs. concatenation vs. `Path.Combine`).
22
+
23
+ ## Investigation
24
+
25
+ 1. Read the `Word Application Scope` node from the `.xaml` and capture the literal expression bound to the document path.
26
+ 2. Resolve that expression to a concrete path for the failing run and confirm whether the file exists at that location on the robot host (not the developer machine).
27
+ 3. If the path is relative, determine the robot's working directory at run time — relative paths resolve there, not against the document's folder.
28
+ 4. Confirm the intent: is the scope meant to open an existing document, or generate a new one?
29
+
30
+ ## Resolution
31
+
32
+ - **If a new document should be created** — enable the activity's `Create if not exists` option so the scope generates the file when it is absent, instead of faulting.
33
+ - **If the path is relative or fragile** — build an **explicit absolute path** (an absolute root or a UNC path the robot can reach), or anchor the filename to a known base folder, rather than concatenating bare strings — so it resolves deterministically on every host. Do **not** rely on `Environment.CurrentDirectory`: on an unattended robot that is the robot's working directory (`...\systemprofile`), not the project folder, so `Path.Combine(Environment.CurrentDirectory, "yourfile.docx")` resolves to the same wrong location that failed. For a configurable base, store the folder path in an Orchestrator asset and combine the filename onto it.
34
+ - **If a mapped drive / cloud placeholder is the issue** — use a UNC path the robot session can reach, or ensure OneDrive/SharePoint files are hydrated (not Files-On-Demand placeholders) before the run.
35
+ - **If the file was moved/deleted upstream** — fix the upstream step that produces it, or add a `Path Exists` check before the scope to fail with a clear message instead of a raw open error.
36
+ - **If you are on StudioX / modern design** — consider replacing `Word Application Scope` with the modern `Use Word File` activity, which provides improved stability and clearer file-resolution behavior.
@@ -0,0 +1,34 @@
1
+ ---
2
+ confidence: medium
3
+ ---
4
+
5
+ # Word Application Scope — Workflow Hangs / Freezes on a Background Dialog
6
+
7
+ ## Context
8
+
9
+ What this looks like:
10
+ - The job reaches the `Word Application Scope` (`UiPath.Word.Activities.WordApplicationScope`) and then hangs indefinitely — no error, no progress, until the job times out
11
+ - WINWORD.EXE is running but unresponsive to the robot's COM calls
12
+
13
+ What can cause it:
14
+ - Word opened a **modal prompt in the background** that requires user interaction and blocks all COM calls until dismissed. Common prompts: a "Password Protected" / "Enter password" dialog, a document-recovery sidebar, a "Safe Mode" message after a prior crash, an activation/license prompt, or a "trust this file" / Protected View bar
15
+ - When the scope runs unattended (no visible Word window), the dialog is invisible to anyone watching the robot but still wedges the process
16
+
17
+ What to look for:
18
+ - One or more hidden `WINWORD.EXE` instances stuck in Task Manager during the freeze.
19
+ - Whether the document is password-protected, was recovered from a prior crash, or last closed uncleanly.
20
+
21
+ ## Investigation
22
+
23
+ 1. Reproduce with Word **visible**: ask the user (or someone with desktop access on the robot host, signed in as the robot's Windows user) to run the workflow and watch WINWORD.EXE. Note any dialog, banner, recovery sidebar, or Safe Mode prompt that appears.
24
+ 2. Open the target document manually once on the robot host to surface and clear any startup alert (recovery pane, activation, trust prompt).
25
+ 3. During the freeze, open Task Manager and check for multiple hidden `WINWORD.EXE` processes stuck with no window.
26
+ 4. Confirm whether the document is password-protected and whether the scope supplies the password.
27
+
28
+ ## Resolution
29
+
30
+ - **If a recovery sidebar / Safe Mode prompt appears** — open the document interactively on the robot host, dismiss the recovery/Safe Mode prompt, then save and close cleanly so the startup state is cleared before the next run.
31
+ - **If a password prompt blocks it** — supply the password in the `Word Application Scope` properties, or remove protection from the source document if it does not need to be encrypted.
32
+ - **If an activation / "trust this file" prompt blocks it** — complete Office activation under the robot's Windows user, and add the document folder to Word Trusted Locations (`File > Options > Trust Center > Trust Center Settings > Trusted Locations`).
33
+ - **If WINWORD.EXE was left orphaned and wedged** — add a `Kill Process` for `WINWORD` before the scope, and ensure the scope disposes on every path so Word always closes cleanly.
34
+ - **As a guard against silent hangs** — wrap the scope so the job fails fast rather than hanging forever (set a finite timeout on the surrounding sequence / job), and prefer the modern `Use Word File` surface where it avoids the interactive-prompt failure mode.
@@ -0,0 +1,11 @@
1
+ # Word Activities Presentation Rules
2
+
3
+ - **Activities** — use the display name (e.g., "Word Application Scope", "Use Word File", "Kill Process"), not the fully qualified class name (e.g., `UiPath.Word.Activities.WordApplicationScope`)
4
+ - **Documents** — refer to documents by their filename (e.g., "document 'Contract.docx'") or full path when ambiguous; not by the variable holding the document reference
5
+ - **Office versions** — refer to Office by its installed product name and bitness (e.g., "Microsoft 365 Apps for Enterprise (64-bit)", "Office 2019 (32-bit)"), not by internal version numbers like `16.0` unless they are the only identifier available
6
+ - **Word settings** — refer to Trust Center settings by the exact UI label path the user navigates (e.g., `File > Options > Trust Center > Trust Center Settings > Trusted Locations`), so the user can find the toggle without guessing
7
+ - **Processes** — refer to the Word process as `WINWORD.EXE` (the executable name the user sees in Task Manager), not "Word process" alone
8
+ - **Replace Text** — refer to the activity by display name ("Replace Text in Document" / classic "Replace Text"), and to its inputs by the property labels the user sees (`Search` / "Search for", `Replace` / "Replace with"); quote placeholder tokens exactly as they appear in the template (e.g. "`[Name]`")
9
+ - **Word instances** — refer to the external Word process as "Microsoft Word (`WINWORD.EXE`)" so the user knows which process to check for or close
10
+ - **HRESULTs** — quote the exact code and symbol together (e.g. "`0x8001010E RPC_E_WRONG_THREAD`"), and name the IID's interface (`{0002096B-...}` = `Microsoft.Office.Interop.Word._Document`) so the user can correlate it with the stack trace
11
+ - **Run surface** — name the surface in the user's terms (e.g. "Studio Run/Debug (foreground)", "unattended robot (Session 0)"), not internal runtime flags like `isAttended`
@@ -0,0 +1,38 @@
1
+ # Word Activities Playbooks
2
+
3
+ **Overview:** [overview.md](./overview.md) — `UiPath.Word.Activities` package, execution models, and common failure patterns
4
+ **Investigation guide:** [investigation_guide.md](./investigation_guide.md) — data correlation rules and testing prerequisites for Word Activities investigations
5
+
6
+ | Issue | Confidence | Description | Playbook |
7
+ |-------|:---:|-------------|----------|
8
+ | Word COM / Office Interop Failures & Word Process Crashes | Medium | Environmental/host-level COM failures common to **all** Word activities (the scope and any COM-driven activity), not just `Add Picture`: (E1) type library / class not registered (`0x8002801D` / `0x80040154`); (E2) 32/64-bit mismatch between Studio/Robot and Office; (E3) Word busy or blocked (`0x8001010A` / `0x80010001`) from orphaned `WINWORD.EXE` or a modal/Protected-View dialog; (E4) `WINWORD.EXE` crashes mid-operation and the activity then throws `RPC_E_WRONG_THREAD` (`0x8001010E`) on its async-completion path (a known `Add Picture` trigger: inserting a very large image, which the activity cannot resize) | [word-com-interop-failures.md](./playbooks/word-com-interop-failures.md) |
9
+ | Word Application Scope — Error Opening Document / Word Not Installed | High | COM Interop cannot create the `Word.Application` instance — no desktop Word (web-only Office, Linux/container robot), 32-bit/64-bit Office–robot bitness mismatch, or damaged Office COM registration (`make sure Word application is installed`, `REGDB_E_CLASSNOTREG`) | [word-scope-com-not-installed.md](./playbooks/word-scope-com-not-installed.md) |
10
+ | COM Start Fails in Background / Session 0 | Medium | `Word Application Scope` faults on **COM start** (`WordAppHelpers.StartNewApplication` → `ComAppReferenceCountManager.StartOrAttach`) with `UiPath.Word.WordException: "Error opening document, make sure Word application is installed. If already installed, an Office Repair may be required."` on an unattended robot. Primary cause: process published as a Background Process (`runtimeOptions.requiresUserInteraction: false`) runs in Session 0 with no interactive session, so Office COM can't start — Word opens fine interactively but the headless robot fails. Fix: publish foreground / open an interactive session / Use Foreground (NOT Office Repair). Also covers Word-not-installed and broken-registration | [word-com-start-background-session0.md](./playbooks/word-com-start-background-session0.md) |
11
+ | Word Application Scope — "The file appears to be corrupted" | Medium | Opening/saving reports corruption — orphaned WINWORD.EXE holding the lock, in-place template overwrite leaving a half-written source, or Protected View / Mark-of-the-Web blocking the write | [word-scope-file-corrupted.md](./playbooks/word-scope-file-corrupted.md) |
12
+ | Word Application Scope — Workflow Hangs / Freezes Indefinitely | Medium | WINWORD.EXE is up but unresponsive because Word opened a background modal prompt (password, document-recovery sidebar, Safe Mode, activation, trust-this-file) that blocks COM calls; invisible when the scope runs unattended | [word-scope-hangs-background-prompt.md](./playbooks/word-scope-hangs-background-prompt.md) |
13
+ | Word Application Scope — "Cannot create unknown type WordApplicationScope" | High | Load/compile-time failure: the execution host lacks the `UiPath.Word.Activities` dependency or runs a version without the type; common when a process works in Studio but fails on a remote robot with a different/missing package version | [word-scope-cannot-create-unknown-type.md](./playbooks/word-scope-cannot-create-unknown-type.md) |
14
+ | Word Application Scope — File Path Verification Errors / Document Not Found | Medium | The document path does not resolve at runtime — opening a file that should be created (`Create if not exists` unset), a relative path resolved against the wrong working directory, a malformed dynamic path, or an unavailable mapped drive / unhydrated cloud placeholder | [word-scope-file-path-not-found.md](./playbooks/word-scope-file-path-not-found.md) |
15
+ | Replace Text in Document — "Application is busy" / COM Interop (0x8001010A) | Medium | The activity's COM call is rejected because WINWORD.EXE is busy — open in the background, locked by another session, or stalled on a hidden modal dialog (`RPC_E_SERVERCALL_RETRYLATER`, `RPC_E_CALL_REJECTED`) | [replace-text-com-busy.md](./playbooks/replace-text-com-busy.md) |
16
+ | Replace Text in Document — File Lock / "File is Read-Only" on Save | Medium | The scope cannot persist the edit because the file is in use or read-only — `Auto Save` racing another access in a loop, a `Save As`/rename to the same open path, a concurrent job, or the read-only attribute set | [replace-text-file-locked.md](./playbooks/replace-text-file-locked.md) |
17
+ | Replace Text in Document — Placeholder Not Replaced (No Error, No Change) | Medium | Silent miss: the placeholder is split across Word XML runs (edited/reformatted in place) so the exact-string search never matches; the activity succeeds but the document is unchanged | [replace-text-silent-no-substitution.md](./playbooks/replace-text-silent-no-substitution.md) |
18
+ | Replace Text in Document — Input String Length Limit (256 chars) | High | Classic versions cap `Search`/`Replace` at 256 characters; longer values raise `ArgumentException` or truncate silently. Fix: upgrade the package or substitute via string/regex in code | [replace-text-length-limit.md](./playbooks/replace-text-length-limit.md) |
19
+ | Replace Text in Document — TargetInvocationException / Studio Crash on Drop | Medium | Design-time crash when the activity is dropped or the workflow opened — a Studio↔`UiPath.Word.Activities` version mismatch fails to construct the designer (`TargetInvocationException`). Distinct from the runtime "Cannot create unknown type" fault | [replace-text-version-mismatch.md](./playbooks/replace-text-version-mismatch.md) |
20
+ | Replace Text in Document — Placeholder Replaced Once, Then Missing in Loop | Medium | Works on the first loop iteration, then the placeholder is gone on later rows — the workflow edits the template in place, so the first replacement consumes the placeholder. Fix: Copy File to a fresh temp template per iteration | [replace-text-loop-template-overwrite.md](./playbooks/replace-text-loop-template-overwrite.md) |
21
+ | Replace Text in Document — Headers / Footers / Text Boxes Not Replaced | Medium | No error, but placeholders in headers, footers, or floating text boxes survive while body text is replaced — older `UiPath.Word.Activities` scans only the primary body. Fix: update the package (newer versions cover shapes/headers) | [replace-text-headers-textboxes-skipped.md](./playbooks/replace-text-headers-textboxes-skipped.md) |
22
+ | Replace Text in Document — Multi-line Replacement Loses Formatting | Medium | Replacement text collapses to one line / loses formatting because the `Replace` value carries raw `Environment.NewLine` breaks. Fix: keep replacements plain, or use Bookmarks / Form Fields + Set Bookmark Text for styled multi-line content | [replace-text-multiline-formatting.md](./playbooks/replace-text-multiline-formatting.md) |
23
+ | Read Text — Activity Outside Its Container | High | Modern Word-pack `Read Text` faults / warns as invalid when dropped outside a `Use Word File` / `Word Application Scope` (it has no file input of its own). Fix: nest it in a container, or use the standalone `System > File > Word Document` `Read Text` that takes a file path | [read-text-missing-container.md](./playbooks/read-text-missing-container.md) |
24
+ | Read Text — Standalone System Activity Fails on .doc | Medium | The standalone `System > File > Word Document` `Read Text` is `.docx`-only and errors / returns nothing on legacy binary `.doc`. Fix: read `.doc` through a `Use Word File` (Interop reads both), or convert to `.docx` first | [read-text-doc-format.md](./playbooks/read-text-doc-format.md) |
25
+ | Read Text — Protected View Blocks an Externally-Sourced File | Medium | Reading a file from email / internet / external share faults or hangs because Word opens it in Protected View (Mark-of-the-Web). Fix: unblock the file, add the folder to Trusted Locations, or disable Protected View on the host | [read-text-protected-view.md](./playbooks/read-text-protected-view.md) |
26
+ | Read Text — "Application is busy" / COM Interop (0x8001010A) | Medium | WINWORD.EXE busy/locked when the read's COM call fires (`RPC_E_SERVERCALL_RETRYLATER`) — same root cause and fix as the Replace Text COM-busy case (Kill Process WINWORD before the scope / clear the lock) | [replace-text-com-busy.md](./playbooks/replace-text-com-busy.md) |
27
+ | Export to PDF — "Command Failed" (Output Directory Missing) | Medium | `Export to PDF` / `Save Document as PDF` faults with a generic `Command Failed` because the output folder doesn't exist (the activity won't auto-create it). Fix: add a `Create Folder` before the export | [export-pdf-missing-output-dir.md](./playbooks/export-pdf-missing-output-dir.md) |
28
+ | Export to PDF — Malformed Output Path / Missing .pdf | Medium | The output File Path is built from unformatted concatenation — no `.pdf` suffix, missing/doubled separator, or an empty variable segment — so the save fails. Fix: `Path.Combine(folder, name & ".pdf")`, validate the pieces | [export-pdf-output-path-format.md](./playbooks/export-pdf-output-path-format.md) |
29
+ | Export to PDF — COM Interop Hang / Crash / COMException | Medium | The export hangs/crashes or throws `COMException` because an orphaned `WINWORD.EXE` or a locked input document blocks the COM call. Fix: Kill Process WINWORD before the scope, ensure the input is free; persistent → Invoke Code C# `ExportAsFixedFormat` fallback | [export-pdf-com-hang.md](./playbooks/export-pdf-com-hang.md) |
30
+ | Export to PDF — TargetInvocationException / Outdated Package | Medium | `TargetInvocationException` / syntax bugs from an outdated `UiPath.Word.Activities` against a newer Studio — same design-time version-mismatch signature and fix (Manage Packages → update) as the Replace Text case | [replace-text-version-mismatch.md](./playbooks/replace-text-version-mismatch.md) |
31
+ | Save Document as PDF — COM Wrong-Thread (0x8001010E) | Medium | `Save Document as PDF` (`WordExportToPdf`) or another child of `Word Application Scope` faults casting the document to `Microsoft.Office.Interop.Word._Document` (IID `{0002096B-...}`) with `RPC_E_WRONG_THREAD`. Causes: scope attached to an already-open external Word, that external Word closed mid-run, an off-STA / Session-0 / background runtime, or a non-creator thread (Parallel/Pick/Invoke/coded). `Word Application Scope` exposes no isolated-instance control | [word-export-pdf-com-wrong-thread.md](./playbooks/word-export-pdf-com-wrong-thread.md) |
32
+ | Open SharePoint URL — COMException "Command failed" | Medium | `Word Application Scope` / `Use Word File` faults on **open** (`Documents.Open` → `WordDocumentFactory.OpenOrCreateNewDocument`) with `COMException: Command failed`. `FilePath` is a SharePoint/OneDrive web-view **sharing link** (`:w:`/`:f:` segment, `?e=` token) passed verbatim to local Word, which cannot open it. Also covers `CreateNewFile` defaulting `True` against a URL. Fix: use a direct document URL / WebDAV / synced local path, set `CreateNewFile=False`, or download-then-open | [word-open-sharepoint-url-com-command-failed.md](./playbooks/word-open-sharepoint-url-com-command-failed.md) |
33
+ | Append Text — "Activity is valid only inside WordApplicationScope" | High | App-Integration `Append Text` faults/warns as invalid outside a `Word Application Scope` / `Use Word File` (no file input of its own). Fix: nest it in a scope, or use the standalone `Word Document` `Append Text` (takes a file path) | [append-text-missing-container.md](./playbooks/append-text-missing-container.md) |
34
+ | Append Text — "Archive file cannot be size zero" | Medium | The target `.docx` is a 0-byte file (a renamed `.txt` or a failed/truncated write) and isn't a valid OpenXML package. Fix: delete it + check `Create if not exists`, or fix the upstream that produced the empty file | [append-text-zero-byte-file.md](./playbooks/append-text-zero-byte-file.md) |
35
+ | Append Text — "make sure Word application is installed" | High | Same Interop/COM startup failure as Word Application Scope — no desktop Word (server/unattended). Fix: install Word, or use the standalone Word Document activities (no Word needed) | [word-scope-com-not-installed.md](./playbooks/word-scope-com-not-installed.md) |
36
+ | Append Text — File Lock / Corrupted File | Medium | The target document is open/locked by a user or an orphaned WINWORD.EXE, blocking write — same lock family as the Word Application Scope corrupted-file case (Kill Process winword before the scope) | [word-scope-file-corrupted.md](./playbooks/word-scope-file-corrupted.md) |
37
+ | Append Text — Missing / Unresolved Activity (Package) | Medium | The activity shows missing/invalid (esp. after migration) — same `UiPath.Word.Activities` package-version issue as the Replace Text version-mismatch case (Manage Packages → update / reinstall) | [replace-text-version-mismatch.md](./playbooks/replace-text-version-mismatch.md) |
38
+ | Add Picture (WordAddImage) Failures | Medium | `Add Picture` fails to insert an image. Four categories: (C1) activity placed outside a `Use Word File` / `Word Application Scope`; (C2) Word COM interop exception or Word process crash — environmental/host, see [word-com-interop-failures.md](./playbooks/word-com-interop-failures.md); (C3) insertion target (text/bookmark) not found in the open document; (C4) invalid path or an in-memory `UiPath.Core.Image` bound to `Picture to insert` instead of a path string | [add-picture-failures.md](./playbooks/add-picture-failures.md) |
@@ -30,6 +30,15 @@ If no source code is available, the error message usually names the connection.
30
30
 
31
31
  If the connection identity is still unclear, ask the user which connection or connector is involved.
32
32
 
33
+ ## Connector Activity Runtime Exceptions
34
+
35
+ When the failure is a robot exception thrown by a connector activity (`ConnectorActivity`, `ConnectorTriggerActivity`, `ConnectorHttpActivity`, `ConnectorPersistenceActivity`), the exception class and its error code route the diagnosis:
36
+
37
+ - **`GeneralException` / `RuntimeException`** carry a structured `DAP-` code (`DAP-GE-####`, `DAP-RT-####`). The code maps to an exact cause — read it from the job log / Info and match the corresponding playbook before gathering more data. `DAP-GE-*` = connection resolution; `DAP-RT-*` = binding / input / trigger / operation.
38
+ - **`UiPath.Ipc.RemoteException` / `UiPath.CoreIpc.RemoteException`** carry NO DAP code. They are a generic out-of-process wrapper — **unwrap to the innermost message** (follow `--->` chains) and classify on that (token/auth, transport, downstream HTTP). The `RemoteException` class itself is not IS-specific; only treat it as a connector failure when the faulted activity is a connector activity and the inner message fits.
39
+ - **`System.AggregateException`** is never the cause — unwrap `InnerExceptions[0]` (recurse) and re-classify on the inner exception.
40
+ - **`System.NullReferenceException`** has no detail — use the stack frame (often a `ForEach` over a `SWEntities.*_List` connector output) to find which reference was null.
41
+
33
42
  ## Domain-Specific Data Gathering
34
43
 
35
44
  After the Orchestrator job data bundle (job details, logs, traces) is collected and the connection is identified:
@@ -32,6 +32,13 @@ Organization (cloud.uipath.com)
32
32
  - **Triggers** — event-based subscriptions that can start Orchestrator jobs or Maestro instances
33
33
  - **OAuth Management** — create, re-authenticate, and ping connections via OAuth flows
34
34
 
35
+ ## Runtime Execution Model
36
+
37
+ Connector activities (`ConnectorActivity`, `ConnectorTriggerActivity`, `ConnectorHttpActivity`, `ConnectorPersistenceActivity`) execute **out-of-process** in the connector executor and communicate over IPC. Two consequences for diagnosis:
38
+
39
+ - The runtime wraps failures in its own exceptions with structured codes — `GeneralException` (`DAP-GE-*`, connection resolution) and `RuntimeException` (`DAP-RT-*`, binding/input/operation).
40
+ - An unhandled fault in the executor process crosses the IPC boundary as `UiPath.Ipc.RemoteException` / `UiPath.CoreIpc.RemoteException` (no DAP code) — the real error is the inner message.
41
+
35
42
  ## Connection Resource File
36
43
 
37
44
  Projects and solutions store connection references as JSON files. The location depends on whether the project is standalone or part of a solution — **always check both layouts**:
@@ -44,6 +44,15 @@ What to look for:
44
44
 
45
45
  4. **Cross-reference workflow binding** — if the workflow source is available, confirm the connection ID in the activity (`ConnectionId`/`ConnectionKey` attributes in XAML, or equivalent in coded workflows) matches `resource.key` from step 1. A mismatch means the runtime error connection ID is hard-bound elsewhere.
46
46
 
47
+ 5. **Disambiguate the 404 — "deleted" vs "cross-workspace."** A `ping` 404 means the connection is *not resolvable from the runner's context*, NOT necessarily *deleted*. Decide using the step-1 resource-file evidence, not the 404 alone:
48
+
49
+ | `ping` result | resource file `resource.name` / `resource.folders` | Cause |
50
+ |---------------|-----------------------------------------------------|-------|
51
+ | 404 | runner's own identity / job folder, OR no resource file and connection absent everywhere | Connection deleted or renamed after publish |
52
+ | 404 | a **different** user (email) or a workspace **other than** the runner's | Connection lives in another user's personal workspace — cross-workspace, **not** deleted |
53
+
54
+ Do NOT report "connection deleted" on a 404 alone. If the resource file's owner (`resource.name`) is a different user than the runner — e.g. the connection is owned by `original_email@…` but the job runs as `replacement_email@…` — the connection exists and is owned elsewhere: classify it as cross-workspace ownership, not deletion. Reporting the wrong mechanism (deleted vs cross-workspace) is a root-cause miss even when the recommended fix happens to coincide.
55
+
47
56
  ## Resolution
48
57
 
49
58
  - **If connection not found in folder:** tell the user to create a new connection using the exact `connectorName` from step 1 (e.g., "Create a new **Microsoft OneDrive & SharePoint** connection"). If `authenticationType` is "AuthenticateAfterDeployment", tell the user they will need to authenticate the connection after creating it.
@@ -0,0 +1,30 @@
1
+ ---
2
+ confidence: low
3
+ ---
4
+
5
+ # Connector Activity — AggregateException
6
+
7
+ ## Context
8
+
9
+ What this looks like — robot exception `System.AggregateException` on a connector activity (the stack shows a connector class such as `UiPath.<Connector>.IntegrationService.Activities.<Operation>` or `...Scope`, often via `AsyncCodeActivity.CompleteAsyncCodeActivityWorkItem`). Connector activities run asynchronously; when the async operation faults (or several parallel branches fault), the failures are collected into an `AggregateException`. The wrapper itself carries no useful cause — **the real error is in `InnerExceptions[0]`** (and, if that is itself a wrapper, recurse).
10
+
11
+ Which activities produce this:
12
+ - **ConnectorActivity** — and connector `Scope` activities wrapping async connector calls.
13
+
14
+ What can cause it:
15
+ - Any underlying connector failure surfaced through the async boundary — most commonly a `GeneralException`/`RuntimeException` (DAP code), a `RemoteException` (token/transport/HTTP), or a downstream service error.
16
+ - Multiple parallel connector calls where one or more faulted.
17
+
18
+ ## Investigation
19
+
20
+ 1. **Unwrap.** Read the inner exception(s) from the job log / `traces spans get` — the aggregate is never the answer. Take `InnerExceptions[0]`; if it is itself a wrapper (`RemoteException`, another `AggregateException`), recurse to the innermost concrete error.
21
+ 2. **Re-classify by the inner exception** and switch to the matching playbook:
22
+ - inner `...GeneralException` (DAP-GE) → [connector-general-exception.md](./connector-general-exception.md)
23
+ - inner `...RuntimeException` (DAP-RT) → [connector-runtime-exception.md](./connector-runtime-exception.md)
24
+ - inner `Ipc`/`CoreIpc` `RemoteException` → [connector-remote-exception.md](./connector-remote-exception.md)
25
+ - inner `NullReferenceException` → [connector-null-reference.md](./connector-null-reference.md)
26
+ 3. If multiple inner exceptions, report each — but the first concrete one is usually the root.
27
+
28
+ ## Resolution
29
+
30
+ There is no fix for `AggregateException` itself. Resolve the **unwrapped inner exception** using the playbook it maps to (step 2). The aggregate disappears once the underlying connector failure is fixed.
@@ -0,0 +1,43 @@
1
+ ---
2
+ confidence: high
3
+ ---
4
+
5
+ # Connector Activity — GeneralException (DAP-GE)
6
+
7
+ ## Context
8
+
9
+ What this looks like — robot exception `UiPath.IntegrationService.Activities.Runtime.Exceptions.GeneralException` with a `DAP-GE-` error code. The job faults at the moment the connector activity tries to resolve its connection (before the external API is called). The message carries the code:
10
+
11
+ - `Failed to retrieve connection. Consider using a different connection. Error code: DAP-GE-3000.` — and a `-`-delimited detail that names the real cause:
12
+ - `- Connection [<id>] is invalid or you do not have access to it` — connection missing, deleted, or not accessible from the runner's identity/workspace.
13
+ - `- User '<user-id>' does not have Connections.View permissions in [Connection: <id>]` — RBAC: the runner (robot account in deployed mode) lacks `Connections.View` in the folder where the connection lives.
14
+ - `- Bad Gateway` (or other upstream text) — Integration Service / Identity returned a 5xx while resolving the connection.
15
+ - `Connection is disabled. Please enable the connection to continue. Error code: DAP-GE-3005.` — the connection exists and is bound correctly but is disabled.
16
+
17
+ Which activities produce this — the generic Integration Service connector activities, regardless of which connector they wrap:
18
+ - **ConnectorActivity** — any connector operation (per-connector classes are generated, e.g. `UiPath.Salesforce.IntegrationService.Activities.*`, but the runtime base is `ConnectorActivity`).
19
+ - **ConnectorHttpActivity** — the connector "HTTP request" / custom-call activity.
20
+ - **ConnectorTriggerActivity** — the trigger's debug/sample lookup resolves the same connection.
21
+ - **ConnectorPersistenceActivity** — long-running connector waits.
22
+
23
+ What can cause it:
24
+ - **DAP-GE-3000, invalid/no-access:** connection deleted/renamed after publish; connection lives in a different user's personal workspace than the runner; folder bindings (`bindings_v2.json`) point at the wrong folder.
25
+ - **DAP-GE-3000, Connections.View:** robot account lacks the permission in the connection's folder. Debug mode works (user identity) but deployed mode fails (robot identity).
26
+ - **DAP-GE-3000, Bad Gateway / 5xx:** transient Integration Service / Identity outage — retryable, not a config error.
27
+ - **DAP-GE-3005, disabled:** someone disabled the connection, or it auto-disabled after repeated auth failures.
28
+
29
+ ## Investigation
30
+
31
+ The error code already names the cause class; the remaining work is confirming ownership/permission. Read the connection identity first.
32
+
33
+ 1. **Read the connection resource file** — glob `**/connection/<connector-key>/*.json` from the project root (see "Connection Resource File" in [overview.md](../overview.md)). Extract `resource.key` (connection ID — must match the ID in the error), `resource.name` (owner), `resource.folders[*].fullyQualifiedName` (binding), `spec.connectorName`. This is the only way to distinguish "deleted" from "cross-workspace ownership" for DAP-GE-3000 invalid/no-access. If no source is available, say so and proceed on the error text.
34
+ 2. For **DAP-GE-3005** the cause is unambiguous — skip to Resolution.
35
+ 3. `uip is connections ping <connection-id>` — confirms current state (disabled / not accessible).
36
+ 4. For the **Connections.View** detail: identify whether the failing identity is a robot account (deployed) vs the user (debug). Robot accounts often lack the permission the user has.
37
+
38
+ ## Resolution
39
+
40
+ - **DAP-GE-3005 (disabled):** re-enable the connection in the Integration Service UI (or `uip is connections edit <connection-id>`). If it auto-disabled, re-authenticate — see [connection-auth-expired.md](./connection-auth-expired.md).
41
+ - **DAP-GE-3000, invalid / no access / cross-workspace:** this is the activity-side surfacing of [connection-invalid.md](./connection-invalid.md) — follow its Resolution (create a connection in the runner's workspace and repoint the activity, or deploy to a shared folder with a shared connection).
42
+ - **DAP-GE-3000, Connections.View:** grant the robot account at least `Connections.View` in the folder where the connection resides, **or** move/recreate the connection in a folder the robot can access (the runtime message names the connection's folder GUID and states both options verbatim).
43
+ - **DAP-GE-3000, Bad Gateway / 5xx:** transient platform error — retry the job. If it persists, check Integration Service / Identity status before treating it as a config problem.
@@ -0,0 +1,36 @@
1
+ ---
2
+ confidence: medium
3
+ ---
4
+
5
+ # Connector Activity — NullReferenceException
6
+
7
+ ## Context
8
+
9
+ What this looks like — robot exception `System.NullReferenceException` on or just after a connector activity. There is no error code and no message detail; the stack frame is the only signal. In the telemetry it most often surfaces while **enumerating a connector output that is null** — the stack shows `UiPath.Core.Activities.ForEach`1[[...IntegrationService.Activities.SWEntities.<Cxxx>_<operation>_List...]]`, i.e. a `For Each` over a connector "List records" / query output that returned null instead of an empty list.
10
+
11
+ Which activities produce this:
12
+ - **ConnectorActivity** — and the `For Each` / downstream activity that consumes its output.
13
+
14
+ What can cause it:
15
+ - The connector operation returned **no body / null** (not an empty collection), and the workflow iterates or dereferences it without a null guard.
16
+ - An **unmapped output argument** — the activity's result was never assigned to the variable the next activity reads.
17
+ - A required **input object was null**, so the connector returned nothing and the workflow then dereferenced the missing output.
18
+ - The `SWEntities` bundle type changed between publishes (regenerated connector entity), leaving a stale binding that resolves null. (If the exception is instead `InvalidCastException: Unable to cast ... SWEntities ...`, that is a distinct entity-type-mismatch failure, not this playbook.)
19
+
20
+ ## Investigation
21
+
22
+ NRE is opaque — the goal is to find **which reference was null** and why.
23
+
24
+ 1. **Read the stack frame** from the job log to identify the activity and the consumed type (the `SWEntities.*_List` / `*_Get` type names the operation).
25
+ 2. If source is available, inspect the connector activity's **output mapping** and the consumer (`For Each` / `Assign`): confirm the output variable is assigned and that the consumer handles an empty/absent result.
26
+ 3. Determine whether the operation **legitimately returns nothing** for the given input (e.g. a query with no matches) — if so, the defect is the missing null/empty guard, not the connector.
27
+ 4. Check whether the project was **republished after the connector entity changed** — a stale output binding can resolve null.
28
+
29
+ ## Resolution
30
+
31
+ - **If the operation can return no rows:** guard the output before use — check for null / empty before the `For Each` or dereference.
32
+ - **If the output is unmapped:** assign the connector activity's result to the variable the downstream activity reads.
33
+ - **If a required input was null:** populate it (or guard upstream) so the operation returns a result.
34
+ - **If a stale binding after republish:** re-bind the connector activity's output to the current entity type and republish.
35
+
36
+ If none of the above reproduces a null, treat as a low-confidence lead and gather more evidence (full stack, the exact activity, the input/output variables) before concluding.