@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.
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +5 -2
- package/CODEOWNERS +22 -7
- package/README.md +14 -1
- package/assets/skill-status.json +14 -1
- package/assets/uip-catalog-snapshot.json +13 -2
- package/hooks/hooks.json +12 -0
- package/hooks/send-telemetry.sh +445 -0
- package/hooks/suggest-permissions.sh +6 -0
- package/package.json +1 -1
- package/skills/uipath-admin/SKILL.md +24 -4
- package/skills/uipath-admin/references/audit-commands.md +25 -21
- package/skills/uipath-admin/references/audit-workflow-guide.md +26 -25
- package/skills/uipath-admin/references/diagnose/CAPABILITY.md +74 -0
- package/skills/uipath-admin/references/diagnose/references/failure-modes.md +228 -0
- package/skills/uipath-admin/references/diagnose/references/troubleshooting-guide.md +106 -0
- package/skills/uipath-admin/references/identity-troubleshoot-guide.md +251 -0
- package/skills/uipath-agents/SKILL.md +12 -8
- package/skills/uipath-agents/references/coded/capabilities/context-grounding.md +2 -0
- package/skills/uipath-agents/references/coded/capabilities/conversational-agents.md +2 -0
- package/skills/uipath-agents/references/coded/capabilities/guardrails/guardrails-recommend.md +12 -7
- package/skills/uipath-agents/references/coded/capabilities/guardrails/guardrails.md +141 -1
- package/skills/uipath-agents/references/coded/capabilities/human-in-the-loop.md +2 -0
- package/skills/uipath-agents/references/coded/capabilities/integration-service.md +19 -33
- package/skills/uipath-agents/references/coded/lifecycle/bindings-reference.md +54 -22
- package/skills/uipath-agents/references/coded/lifecycle/build.md +1 -0
- package/skills/uipath-agents/references/coded/lifecycle/evaluations/evaluation-sets.md +5 -1
- package/skills/uipath-agents/references/coded/lifecycle/setup.md +3 -1
- package/skills/uipath-agents/references/coded/quickstart.md +11 -10
- package/skills/uipath-agents/references/coded-vs-lowcode-guide.md +1 -0
- package/skills/uipath-agents/references/context-grounding-patterns.md +1 -1
- package/skills/uipath-agents/references/lowcode/agent-definition.md +97 -12
- package/skills/uipath-agents/references/lowcode/capabilities/built-in-tools/analyze-attachments.md +2 -2
- package/skills/uipath-agents/references/lowcode/capabilities/built-in-tools/batch-transform/impl-json.md +40 -14
- package/skills/uipath-agents/references/lowcode/capabilities/built-in-tools/built-in-tools.md +4 -3
- package/skills/uipath-agents/references/lowcode/capabilities/built-in-tools/deeprag/impl-json.md +38 -6
- package/skills/uipath-agents/references/lowcode/capabilities/context/attachments.md +1 -1
- package/skills/uipath-agents/references/lowcode/capabilities/context/context.md +1 -1
- package/skills/uipath-agents/references/lowcode/capabilities/context/datafabric.md +1 -1
- package/skills/uipath-agents/references/lowcode/capabilities/context/index.md +7 -3
- package/skills/uipath-agents/references/lowcode/capabilities/escalation/escalation.md +49 -38
- package/skills/uipath-agents/references/lowcode/capabilities/guardrails/guardrails-recommend.md +3 -1
- package/skills/uipath-agents/references/lowcode/capabilities/guardrails/guardrails.md +49 -49
- package/skills/uipath-agents/references/lowcode/capabilities/inline-in-flow/inline-in-flow.md +34 -14
- package/skills/uipath-agents/references/lowcode/capabilities/integration-service/integration-service.md +1 -1
- package/skills/uipath-agents/references/lowcode/capabilities/memory/memory.md +2 -0
- package/skills/uipath-agents/references/lowcode/capabilities/process/process.md +2 -2
- package/skills/uipath-agents/references/lowcode/capabilities/process/solution-files.md +1 -1
- package/skills/uipath-agents/references/lowcode/critical-rules/autonomous-critical-rules.md +15 -0
- package/skills/uipath-agents/references/lowcode/critical-rules/conversational-critical-rules.md +19 -0
- package/skills/uipath-agents/references/lowcode/{critical-rules.md → critical-rules/critical-rules.md} +25 -27
- package/skills/uipath-agents/references/lowcode/debug.md +6 -3
- package/skills/uipath-agents/references/lowcode/evaluations/evaluate.md +2 -0
- package/skills/uipath-agents/references/lowcode/lowcode.md +29 -6
- package/skills/uipath-agents/references/lowcode/model-selection-guide.md +4 -1
- package/skills/uipath-agents/references/lowcode/project-lifecycle.md +20 -8
- package/skills/uipath-agents/references/lowcode/prompting/agent-prompting-guide.md +17 -0
- package/skills/uipath-agents/references/lowcode/{agent-prompting-guide.md → prompting/autonomous-agent-prompting-guide.md} +9 -11
- package/skills/uipath-agents/references/lowcode/prompting/conversational-agent-prompting-guide.md +123 -0
- package/skills/uipath-agents/references/lowcode/solution-resources.md +1 -1
- package/skills/uipath-api-workflow/SKILL.md +32 -12
- package/skills/uipath-api-workflow/references/cli-reference.md +110 -22
- package/skills/uipath-api-workflow/references/connector-activity-discovery.md +43 -4
- package/skills/uipath-api-workflow/references/troubleshooting.md +23 -7
- package/skills/uipath-api-workflow/references/workflow-file-format.md +25 -7
- package/skills/uipath-coded-apps/SKILL.md +55 -12
- package/skills/uipath-coded-apps/assets/fixtures/governance-dashboard-starter-kit.tar.gz +0 -0
- package/skills/uipath-coded-apps/assets/scripts/dashboards/build-dashboard.mjs +1371 -0
- package/skills/uipath-coded-apps/assets/scripts/dashboards/capability-registry.json +845 -0
- package/skills/uipath-coded-apps/assets/scripts/dashboards/flows/build.mjs +338 -0
- package/skills/uipath-coded-apps/assets/scripts/dashboards/flows/edit.mjs +248 -0
- package/skills/uipath-coded-apps/assets/scripts/dashboards/flows/template.mjs +82 -0
- package/skills/uipath-coded-apps/assets/scripts/dashboards/flows/upgrade.mjs +73 -0
- package/skills/uipath-coded-apps/assets/scripts/dashboards/lifecycle.mjs +207 -0
- package/skills/uipath-coded-apps/assets/scripts/dashboards/setup-admin-folder.mjs +146 -0
- package/skills/uipath-coded-apps/assets/scripts/dashboards/tests/regime-eject.test.mjs +124 -0
- package/skills/uipath-coded-apps/assets/scripts/dashboards/tests/resolution.test.mjs +1635 -0
- package/skills/uipath-coded-apps/assets/templates/action-app/app-template.css +9 -0
- package/skills/uipath-coded-apps/assets/templates/action-app/document-tab-template.css +139 -0
- package/skills/uipath-coded-apps/assets/templates/action-app/form-template.css +442 -0
- package/skills/uipath-coded-apps/assets/templates/action-app/index-template.css +111 -0
- package/skills/uipath-coded-apps/assets/templates/action-app-template.md +357 -152
- package/skills/uipath-coded-apps/assets/templates/web-app-template.md +255 -78
- package/skills/uipath-coded-apps/references/create-action-app.md +284 -195
- package/skills/uipath-coded-apps/references/create-web-app.md +64 -26
- package/skills/uipath-coded-apps/references/dashboards/CAPABILITY.md +179 -0
- package/skills/uipath-coded-apps/references/dashboards/aesthetic/charting.md +138 -0
- package/skills/uipath-coded-apps/references/dashboards/aesthetic/layout-patterns.md +152 -0
- package/skills/uipath-coded-apps/references/dashboards/plugins/build/impl.md +423 -0
- package/skills/uipath-coded-apps/references/dashboards/plugins/deploy/impl.md +322 -0
- package/skills/uipath-coded-apps/references/dashboards/primitives/customization.md +66 -0
- package/skills/uipath-coded-apps/references/dashboards/primitives/detail-views.md +64 -0
- package/skills/uipath-coded-apps/references/dashboards/primitives/incremental-editor.md +92 -0
- package/skills/uipath-coded-apps/references/dashboards/primitives/state-file.md +64 -0
- package/skills/uipath-coded-apps/references/dashboards/primitives/tier-resolution.md +474 -0
- package/skills/uipath-coded-apps/references/debug.md +15 -21
- package/skills/uipath-coded-apps/references/oauth-client-setup.md +5 -5
- package/skills/uipath-coded-apps/references/oauth-scopes.md +64 -2
- package/skills/uipath-coded-apps/references/pack-publish-deploy.md +12 -5
- package/skills/uipath-coded-apps/references/patterns.md +10 -5
- package/skills/uipath-coded-apps/references/sdk/action-center.md +32 -6
- package/skills/uipath-coded-apps/references/sdk/agents.md +241 -0
- package/skills/uipath-coded-apps/references/sdk/governance-traces.md +186 -0
- package/skills/uipath-coded-apps/references/sdk/governance.md +72 -0
- package/skills/uipath-coded-apps/references/sdk/imports.md +4 -0
- package/skills/uipath-coded-apps/references/sdk/maestro.md +114 -0
- package/skills/uipath-coded-apps/references/sdk/orchestrator.md +80 -4
- package/skills/uipath-coded-apps/references/sdk/pagination.md +2 -0
- package/skills/uipath-coded-apps/references/sdk/traces.md +89 -0
- package/skills/uipath-coded-apps/references/widgets/validation-station.md +308 -0
- package/skills/uipath-coded-apps/scripts/validate-action-schema.js +241 -0
- package/skills/uipath-connector-builder/SKILL.md +192 -0
- package/skills/uipath-connector-builder/references/auth.md +171 -0
- package/skills/uipath-connector-builder/references/configuration.md +130 -0
- package/skills/uipath-connector-builder/references/debugging.md +80 -0
- package/skills/uipath-connector-builder/references/element-json.md +148 -0
- package/skills/uipath-connector-builder/references/events.md +132 -0
- package/skills/uipath-connector-builder/references/hooks.md +198 -0
- package/skills/uipath-connector-builder/references/overview.md +78 -0
- package/skills/uipath-connector-builder/references/standard-resources.md +111 -0
- package/skills/uipath-connector-builder/references/system-resources.md +85 -0
- package/skills/uipath-feedback/SKILL.md +43 -29
- package/skills/{uipath-agents/references/coded/frameworks/coded-functions.md → uipath-functions/SKILL.md} +36 -23
- package/skills/uipath-governance/SKILL.md +49 -8
- package/skills/uipath-governance/references/aops-policy/aops-policy-commands.md +10 -10
- package/skills/uipath-governance/references/aops-policy/aops-policy-deploy-guide.md +7 -7
- package/skills/uipath-governance/references/auth-context.md +101 -0
- package/skills/uipath-governance/references/cli-cheatsheet.md +207 -0
- package/skills/uipath-governance/references/compliance-pack/catalog/impl.md +79 -0
- package/skills/uipath-governance/references/compliance-pack/coverage/impl.md +141 -0
- package/skills/uipath-governance/references/compliance-pack/disable/impl.md +39 -0
- package/skills/uipath-governance/references/compliance-pack/full-apply/impl.md +164 -0
- package/skills/uipath-governance/references/compliance-pack/partial-apply/impl.md +266 -0
- package/skills/uipath-governance/references/compliance-pack/partial-apply/merge-overrides-guide.md +28 -0
- package/skills/uipath-governance/references/compliance-pack/partial-apply/planning.md +82 -0
- package/skills/uipath-governance/references/compliance-pack/partial-apply/synthesize-formdata-guide.md +22 -0
- package/skills/uipath-governance/references/compliance-pack/preview-gate.md +43 -0
- package/skills/uipath-governance/references/compliance-pack/query/impl.md +75 -0
- package/skills/uipath-governance/references/diagnose/CAPABILITY.md +71 -0
- package/skills/uipath-governance/references/diagnose/references/failure-modes.md +201 -0
- package/skills/uipath-governance/references/diagnose/references/troubleshooting-guide.md +137 -0
- package/skills/uipath-governance/references/disambiguation-guide.md +15 -0
- package/skills/uipath-governance/scripts/merge-overrides.mjs +81 -0
- package/skills/uipath-governance/scripts/synthesize-formdata.mjs +86 -0
- package/skills/uipath-human-in-the-loop/SKILL.md +30 -25
- package/skills/uipath-human-in-the-loop/references/hitl-node-apptask.md +38 -4
- package/skills/uipath-human-in-the-loop/references/hitl-node-coded-action-app.md +2 -3
- package/skills/uipath-human-in-the-loop/references/hitl-node-quickform.md +92 -34
- package/skills/uipath-ixp/SKILL.md +120 -0
- package/skills/uipath-ixp/references/cli-reference.md +121 -0
- package/skills/uipath-ixp/references/improve-prompts-guide.md +283 -0
- package/skills/uipath-ixp/references/label-documents-guide.md +207 -0
- package/skills/uipath-ixp/references/project-setup-guide.md +90 -0
- package/skills/uipath-maestro-bpmn/SKILL.md +167 -68
- package/skills/uipath-maestro-bpmn/references/cli-conventions.md +47 -0
- package/skills/uipath-maestro-bpmn/references/diagnose/CAPABILITY.md +6 -6
- package/skills/uipath-maestro-bpmn/references/operate/CAPABILITY.md +3 -3
- package/skills/uipath-maestro-bpmn/references/registry-workflow.md +199 -0
- package/skills/uipath-maestro-bpmn/references/structural-bpmn.md +500 -0
- package/skills/uipath-maestro-bpmn/validator/README.md +214 -0
- package/skills/uipath-maestro-bpmn/validator/bpmn-spec.json +2477 -0
- package/skills/uipath-maestro-bpmn/validator/model.mjs +419 -0
- package/skills/uipath-maestro-bpmn/validator/package.json +17 -0
- package/skills/uipath-maestro-bpmn/validator/rules.mjs +1403 -0
- package/skills/uipath-maestro-bpmn/validator/samples/invalid-conditional-and-variable.bpmn +25 -0
- package/skills/uipath-maestro-bpmn/validator/samples/valid-baseline.bpmn +52 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/A.2.0.bpmn +157 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/A.2.1.bpmn +333 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/B.1.0.bpmn +598 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/B.2.0.bpmn +1709 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/C.2.0.bpmn +564 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/C.3.0.bpmn +671 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/C.4.0.bpmn +1045 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/C.5.0.bpmn +1176 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/C.6.0.bpmn +670 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/C.7.0.bpmn +466 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Can_Parse_Complex_Process_With_Task_Gateway_BoundaryEvent_etc.bpmn +74 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/ExclusiveGatewayDefaultFlow.bpmn +32 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/ExternalAgentWorkflow.bpmn +62 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Golden_Scenario.initial.bpmn +361 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/InclusiveJoinRouteAwayBranch.bpmn +62 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Parse_AsyncExecution_And_Create_CorrectModel.bpmn +74 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Parse_IXP_ExtractionValidation_And_Create_CorrectModel.bpmn +35 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Parse_IXP_Extraction_FileUpload_And_Create_CorrectModel.bpmn +33 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Parse_IXP_Extraction_JobAttachment_And_Create_CorrectModel.bpmn +35 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Parse_SubProcess_With_Multiple_Element_Types.bpmn +76 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/StartEventWithOutputs.bpmn +36 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/StartGatewayEnd.bpmn +44 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/all elements.bpmn +516 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/all_sequence_flow_types.bpmn +173 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/demo.bpmn +181 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/subprocess-example-001-collapsed.bpmn +126 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/subprocess-example-001-expanded.bpmn +122 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/subprocess-example-003-collapsed_deeply-nested.bpmn +438 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/A.1.0.bpmn +87 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/A.3.0.bpmn +165 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ApiWorkflow.bpmn +39 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/BpmnNestedSubProcessTests.bpmn +102 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/BpmnTimerBoundaryEvents.bpmn +160 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/BpmnXmlWithCatchAllErrorEventSubProcess.bpmn +45 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/BpmnXmlWithSpecificErrorEventSubProcess.bpmn +46 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/CaseManagementWithConstantIdentifier.bpmn +218 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ErrorBoundary.bpmn +78 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ErrorPropagationInEventSubprocess.bpmn +340 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/EventBasedGatewayFirstCatcherWins.bpmn +56 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/Example-EventBasedGateway.bpmn +117 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ExclusiveGatewayConditional.bpmn +45 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ExclusiveGatewaySharedEndEvent.bpmn +45 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ExclusiveWithParallelGateway.bpmn +68 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/FourScriptTasks.bpmn +84 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/HitlTaskOnly.bpmn +55 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/InclusiveGatewayForkJoin.bpmn +69 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/Parse_BPMN_Elements_And_Create_CorrectModel.bpmn +20 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/Parse_HttpRequest_ServiceTask_And_Create_Correct_Model.bpmn +34 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/Parse_MessageBoundaryEvent_And_Create_CorrectModel.bpmn +87 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/Parse_Script_Task_V2_And_Create_Correct_Model.bpmn +31 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/Parse_Sets_Containers_Properly.bpmn +129 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ScriptWritesVariableThenGatewayBranches.bpmn +55 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/boundaryevent.bpmn +30 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/collapsed-subprocess.bpmn +83 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/connectable-types.bpmn +85 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/extensions-orchestrator-start-job.bpmn +80 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/multiparticipantpool.bpmn +77 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/nestedsubprocess.bpmn +36 -0
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/simple.bpmn +59 -0
- package/skills/uipath-maestro-bpmn/validator/test/integration.test.mjs +146 -0
- package/skills/uipath-maestro-bpmn/validator/test/model-helpers.mjs +42 -0
- package/skills/uipath-maestro-bpmn/validator/test/ported-rule-tests.mjs +983 -0
- package/skills/uipath-maestro-bpmn/validator/test/run-tests.mjs +530 -0
- package/skills/uipath-maestro-bpmn/validator/uipath-moddle.v1.json +715 -0
- package/skills/uipath-maestro-bpmn/validator/validate-bpmn.mjs +164 -0
- package/skills/uipath-maestro-case/SKILL.md +5 -1
- package/skills/uipath-maestro-case/assets/templates/sdd-template-examples.md +10 -0
- package/skills/uipath-maestro-case/assets/templates/sdd-template.md +89 -17
- package/skills/uipath-maestro-case/references/bindings-and-expressions.md +26 -0
- package/skills/uipath-maestro-case/references/case-editing-operations.md +3 -0
- package/skills/uipath-maestro-case/references/implementation.md +11 -4
- package/skills/uipath-maestro-case/references/phase-0-interview.md +8 -7
- package/skills/uipath-maestro-case/references/phased-execution.md +2 -1
- package/skills/uipath-maestro-case/references/plugins/conditions/stage-exit-conditions/impl-json.md +21 -0
- package/skills/uipath-maestro-case/references/plugins/conditions/stage-exit-conditions/planning.md +2 -0
- package/skills/uipath-maestro-case/references/plugins/variables/global-vars/impl-json.md +15 -9
- package/skills/uipath-maestro-case/references/plugins/variables/io-binding/impl-json.md +131 -4
- package/skills/uipath-maestro-case/references/sdd-generation-rules.md +94 -17
- package/skills/uipath-maestro-flow/references/author/CAPABILITY.md +1 -1
- package/skills/uipath-maestro-flow/references/author/references/planning-arch.md +2 -2
- package/skills/uipath-maestro-flow/references/author/references/plugins/hitl/impl.md +11 -11
- package/skills/uipath-maestro-flow/references/author/references/plugins/hitl/planning.md +6 -6
- package/skills/uipath-maestro-flow/references/author/references/plugins/http/impl-connector.md +4 -1
- package/skills/uipath-maestro-flow/references/author/references/plugins/inline-agent/impl.md +157 -122
- package/skills/uipath-maestro-flow/references/author/references/plugins/inline-agent/planning.md +16 -4
- package/skills/uipath-maestro-flow/references/evaluate/references/commands-reference.md +8 -8
- package/skills/uipath-maestro-flow/references/evaluate/references/running-guide.md +3 -3
- package/skills/uipath-maestro-flow/references/shared/cli-commands.md +1 -1
- package/skills/uipath-planner/SKILL.md +19 -8
- package/skills/uipath-planner/assets/templates/agent-sdd-template.md +14 -0
- package/skills/uipath-planner/assets/templates/api-workflow-sdd-template.md +14 -0
- package/skills/uipath-planner/assets/templates/case-sdd-template.md +14 -0
- package/skills/uipath-planner/assets/templates/coded-app-sdd-template.md +14 -0
- package/skills/uipath-planner/assets/templates/flow-sdd-template.md +14 -0
- package/skills/uipath-planner/assets/templates/rpa-sdd-template.md +40 -5
- package/skills/uipath-planner/references/asdd-crosswalk-guide.md +55 -0
- package/skills/uipath-planner/references/attended-reauth-pattern-guide.md +43 -0
- package/skills/uipath-planner/references/multi-skill-patterns-guide.md +4 -0
- package/skills/uipath-planner/references/non-pdd-lane-guide.md +2 -0
- package/skills/uipath-planner/references/pdd-analysis-guide.md +24 -1
- package/skills/uipath-planner/references/pdd-driven-lane-guide.md +6 -2
- package/skills/uipath-planner/references/plan-and-tasks-format.md +2 -0
- package/skills/uipath-planner/references/platform-availability-guide.md +43 -0
- package/skills/uipath-planner/references/product-selection-guide.md +20 -0
- package/skills/uipath-planner/references/sdd-generation-guide.md +90 -21
- package/skills/uipath-planner/references/tenant-library-search-guide.md +5 -1
- package/skills/uipath-planner/scripts/docx-extract.sh +54 -0
- package/skills/uipath-planner/scripts/sdd-to-docx.sh +76 -0
- package/skills/uipath-platform/SKILL.md +54 -7
- package/skills/uipath-platform/references/context-grounding/index-management.md +123 -0
- package/skills/uipath-platform/references/data-fabric/bulk-import.md +86 -0
- package/skills/{uipath-data-fabric/references → uipath-platform/references/data-fabric}/choice-sets.md +33 -12
- package/skills/uipath-platform/references/data-fabric/data-fabric.md +352 -0
- package/skills/uipath-platform/references/data-fabric/entity-schema.md +444 -0
- package/skills/uipath-platform/references/data-fabric/file-attachments.md +122 -0
- package/skills/{uipath-data-fabric/references → uipath-platform/references/data-fabric}/filter-platform-contract.md +3 -3
- package/skills/{uipath-data-fabric/references → uipath-platform/references/data-fabric}/records-query.md +46 -10
- package/skills/uipath-platform/references/integration-service/http-request.md +15 -1
- package/skills/uipath-platform/references/integration-service/vendor-docs-registry.json +173 -0
- package/skills/uipath-platform/references/uip-commands.md +12 -4
- package/skills/uipath-review/SKILL.md +53 -12
- package/skills/uipath-review/references/agents/agent-common-issues.md +1 -1
- package/skills/uipath-review/references/agents/agent-grading-rubric.md +133 -0
- package/skills/uipath-review/references/agents/agent-review-checklist.md +23 -3
- package/skills/uipath-review/references/agents/agents-coded-rules.md +7 -0
- package/skills/uipath-review/references/agents/agents-lowcode-rules.md +13 -3
- package/skills/uipath-review/references/agents/guardrails/guardrails-review.md +198 -0
- package/skills/uipath-review/references/architecture-assessment-guide.md +2 -0
- package/skills/uipath-review/references/review-workflow-guide.md +9 -5
- package/skills/uipath-review/references/rule-catalog-workflow.md +3 -3
- package/skills/uipath-rpa/SKILL.md +18 -6
- package/skills/uipath-rpa/references/cli-reference.md +57 -3
- package/skills/uipath-rpa/references/common-activity-card.md +1 -1
- package/skills/uipath-rpa/references/connector-capabilities.md +2 -0
- package/skills/uipath-rpa/references/data-manipulation-guide.md +311 -0
- package/skills/uipath-rpa/references/environment-setup.md +0 -2
- package/skills/uipath-rpa/references/error-handling-guide.md +381 -0
- package/skills/uipath-rpa/references/is-connector-xaml-guide.md +127 -11
- package/skills/uipath-rpa/references/reframework-guide.md +2 -0
- package/skills/uipath-rpa/references/testing-guide.md +19 -0
- package/skills/uipath-rpa/references/ui-automation-guide.md +129 -18
- package/skills/uipath-rpa/references/uia-configure-target-workflows.md +22 -1
- package/skills/uipath-rpa/references/uia-elements-interaction-guide.md +93 -0
- package/skills/uipath-rpa/references/xaml/canvas-layout-guide.md +41 -4
- package/skills/uipath-rpa/references/xaml/common-pitfalls.md +12 -3
- package/skills/uipath-rpa/references/xaml/flowchart-guide.md +113 -0
- package/skills/uipath-rpa/references/xaml/xaml-basics-and-rules.md +5 -9
- package/skills/uipath-solution/SKILL.md +11 -8
- package/skills/uipath-solution/references/pack-and-deploy.md +18 -1
- package/skills/uipath-solution/references/solution-overview.md +3 -0
- package/skills/uipath-test/SKILL.md +2 -1
- package/skills/uipath-troubleshoot/SKILL.md +24 -26
- package/skills/uipath-troubleshoot/agents/depth-verifier.md +24 -25
- package/skills/uipath-troubleshoot/agents/hypothesis-generator.md +8 -4
- package/skills/uipath-troubleshoot/agents/hypothesis-tester.md +85 -38
- package/skills/uipath-troubleshoot/agents/presenter.md +7 -7
- package/skills/uipath-troubleshoot/agents/scope-checker.md +3 -6
- package/skills/uipath-troubleshoot/agents/shared.md +26 -21
- package/skills/uipath-troubleshoot/agents/triage.md +117 -49
- package/skills/uipath-troubleshoot/references/activity-packages/cv-activities/investigation_guide.md +43 -0
- package/skills/uipath-troubleshoot/references/activity-packages/cv-activities/overview.md +57 -0
- package/skills/uipath-troubleshoot/references/activity-packages/cv-activities/playbooks/cv-action-failed-after-find.md +100 -0
- package/skills/uipath-troubleshoot/references/activity-packages/cv-activities/playbooks/cv-cell-targeting-failures.md +111 -0
- package/skills/uipath-troubleshoot/references/activity-packages/cv-activities/playbooks/cv-element-not-found.md +125 -0
- package/skills/uipath-troubleshoot/references/activity-packages/cv-activities/playbooks/cv-get-text-empty-or-wrong-result.md +117 -0
- package/skills/uipath-troubleshoot/references/activity-packages/cv-activities/playbooks/cv-invalid-descriptor.md +102 -0
- package/skills/uipath-troubleshoot/references/activity-packages/cv-activities/playbooks/cv-scope-setup-failures.md +136 -0
- package/skills/uipath-troubleshoot/references/activity-packages/cv-activities/playbooks/cv-scroll-search-failures.md +114 -0
- package/skills/uipath-troubleshoot/references/activity-packages/cv-activities/playbooks/cv-server-auth-throttling-network.md +95 -0
- package/skills/uipath-troubleshoot/references/activity-packages/cv-activities/playbooks/cv-silent-failures-and-false-results.md +124 -0
- package/skills/uipath-troubleshoot/references/activity-packages/cv-activities/presentation.md +8 -0
- package/skills/uipath-troubleshoot/references/activity-packages/cv-activities/summary.md +15 -0
- package/skills/uipath-troubleshoot/references/activity-packages/database-activities/investigation_guide.md +42 -0
- package/skills/uipath-troubleshoot/references/activity-packages/database-activities/overview.md +41 -0
- package/skills/uipath-troubleshoot/references/activity-packages/database-activities/playbooks/connect-to-database-failures.md +104 -0
- package/skills/uipath-troubleshoot/references/activity-packages/database-activities/playbooks/execute-non-query-failures.md +97 -0
- package/skills/uipath-troubleshoot/references/activity-packages/database-activities/playbooks/execute-query-failures.md +134 -0
- package/skills/uipath-troubleshoot/references/activity-packages/database-activities/playbooks/start-transaction-failures.md +94 -0
- package/skills/uipath-troubleshoot/references/activity-packages/database-activities/presentation.md +10 -0
- package/skills/uipath-troubleshoot/references/activity-packages/database-activities/summary.md +10 -0
- package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/investigation_guide.md +27 -9
- package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/overview.md +51 -10
- package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/append-range-failures.md +146 -0
- package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/delete-range-failures.md +126 -0
- package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/excel-application-card-failures.md +139 -0
- package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/excel-application-scope-failures.md +118 -0
- package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/execute-macro-failures.md +149 -0
- package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/playbooks/write-range-failures.md +145 -0
- package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/presentation.md +12 -7
- package/skills/uipath-troubleshoot/references/activity-packages/excel-activities/summary.md +6 -0
- package/skills/uipath-troubleshoot/references/activity-packages/gsuite-activities/investigation_guide.md +1 -0
- package/skills/uipath-troubleshoot/references/activity-packages/gsuite-activities/overview.md +12 -4
- package/skills/uipath-troubleshoot/references/activity-packages/gsuite-activities/playbooks/connection-and-auth-failures.md +55 -0
- package/skills/uipath-troubleshoot/references/activity-packages/gsuite-activities/playbooks/drive-file-not-found.md +18 -10
- package/skills/uipath-troubleshoot/references/activity-packages/gsuite-activities/playbooks/get-newest-email-not-found.md +9 -8
- package/skills/uipath-troubleshoot/references/activity-packages/gsuite-activities/playbooks/invalid-or-null-input.md +68 -0
- package/skills/uipath-troubleshoot/references/activity-packages/gsuite-activities/playbooks/transient-and-timeout-errors.md +52 -0
- package/skills/uipath-troubleshoot/references/activity-packages/gsuite-activities/playbooks/upload-storage-quota-exceeded.md +1 -1
- package/skills/uipath-troubleshoot/references/activity-packages/gsuite-activities/summary.md +5 -2
- package/skills/uipath-troubleshoot/references/activity-packages/mail-activities/overview.md +28 -0
- package/skills/uipath-troubleshoot/references/activity-packages/mail-activities/playbooks/delete-outlook-mail-failures.md +105 -0
- package/skills/uipath-troubleshoot/references/activity-packages/mail-activities/playbooks/get-outlook-mail-failures.md +109 -0
- package/skills/uipath-troubleshoot/references/activity-packages/mail-activities/playbooks/move-outlook-mail-failures.md +97 -0
- package/skills/uipath-troubleshoot/references/activity-packages/mail-activities/playbooks/send-outlook-mail-failures.md +95 -0
- package/skills/uipath-troubleshoot/references/activity-packages/mail-activities/summary.md +8 -0
- package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/investigation_guide.md +23 -0
- package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/overview.md +9 -0
- package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/application-scope-misconfigured.md +49 -0
- package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/authentication-token-invalid.md +53 -0
- package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/copy-item-argument-null.md +34 -0
- package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/create-folder-invalid-path.md +36 -0
- package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/download-file-conversion-or-destination.md +40 -0
- package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/drive-item-not-found.md +1 -1
- package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/email-trigger-connection-event-failure.md +45 -0
- package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/insufficient-graph-scope.md +44 -0
- package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/legacy-mail-null-reference.md +43 -0
- package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/mail-folder-not-found.md +4 -3
- package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/mail-invalid-odata-query.md +43 -0
- package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/mail-message-not-found.md +45 -0
- package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/request-throttled.md +45 -0
- package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/send-mail-rejected.md +52 -0
- package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/transient-service-error.md +48 -0
- package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/playbooks/upload-file-quota-or-size.md +47 -0
- package/skills/uipath-troubleshoot/references/activity-packages/o365-activities/summary.md +15 -1
- package/skills/uipath-troubleshoot/references/activity-packages/python-activities/investigation_guide.md +32 -0
- package/skills/uipath-troubleshoot/references/activity-packages/python-activities/overview.md +38 -0
- package/skills/uipath-troubleshoot/references/activity-packages/python-activities/playbooks/invoke-method-failures.md +57 -0
- package/skills/uipath-troubleshoot/references/activity-packages/python-activities/playbooks/invoke-python-method-pipe-is-broken.md +44 -0
- package/skills/uipath-troubleshoot/references/activity-packages/python-activities/playbooks/load-script-failures.md +62 -0
- package/skills/uipath-troubleshoot/references/activity-packages/python-activities/playbooks/python-path-not-valid.md +39 -0
- package/skills/uipath-troubleshoot/references/activity-packages/python-activities/playbooks/python-scope-architecture-version-mismatch.md +41 -0
- package/skills/uipath-troubleshoot/references/activity-packages/python-activities/playbooks/working-folder-relative-path.md +34 -0
- package/skills/uipath-troubleshoot/references/activity-packages/python-activities/presentation.md +9 -0
- package/skills/uipath-troubleshoot/references/activity-packages/python-activities/summary.md +12 -0
- package/skills/uipath-troubleshoot/references/activity-packages/system-activities/playbooks/get-asset-activity-bug-silent-failure.md +1 -1
- package/skills/uipath-troubleshoot/references/activity-packages/system-activities/playbooks/get-asset-robot-not-authenticated.md +29 -22
- package/skills/uipath-troubleshoot/references/activity-packages/system-activities/summary.md +1 -1
- package/skills/uipath-troubleshoot/references/activity-packages/web-activities/investigation_guide.md +30 -0
- package/skills/uipath-troubleshoot/references/activity-packages/web-activities/overview.md +36 -0
- package/skills/uipath-troubleshoot/references/activity-packages/web-activities/playbooks/deserialize-malformed-input.md +36 -0
- package/skills/uipath-troubleshoot/references/activity-packages/web-activities/playbooks/deserialize-null-input.md +35 -0
- package/skills/uipath-troubleshoot/references/activity-packages/web-activities/playbooks/deserialize-type-mismatch.md +40 -0
- package/skills/uipath-troubleshoot/references/activity-packages/web-activities/playbooks/http-client-null-reference.md +34 -0
- package/skills/uipath-troubleshoot/references/activity-packages/web-activities/playbooks/http-request-connection-failure.md +48 -0
- package/skills/uipath-troubleshoot/references/activity-packages/web-activities/playbooks/http-request-timeout.md +40 -0
- package/skills/uipath-troubleshoot/references/activity-packages/web-activities/playbooks/net-http-request-aggregate-failure.md +38 -0
- package/skills/uipath-troubleshoot/references/activity-packages/web-activities/summary.md +13 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/investigation_guide.md +55 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/overview.md +82 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/add-picture-failures.md +51 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/append-text-missing-container.md +31 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/append-text-zero-byte-file.md +32 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/export-pdf-com-hang.md +46 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/export-pdf-missing-output-dir.md +32 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/export-pdf-output-path-format.md +35 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/read-text-doc-format.md +30 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/read-text-missing-container.md +29 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/read-text-protected-view.md +32 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/replace-text-com-busy.md +35 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/replace-text-file-locked.md +33 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/replace-text-headers-textboxes-skipped.md +30 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/replace-text-length-limit.md +30 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/replace-text-loop-template-overwrite.md +31 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/replace-text-multiline-formatting.md +31 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/replace-text-silent-no-substitution.md +32 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/replace-text-version-mismatch.md +30 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/word-com-interop-failures.md +52 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/word-com-start-background-session0.md +50 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/word-export-pdf-com-wrong-thread.md +46 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/word-open-sharepoint-url-com-command-failed.md +45 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/word-scope-cannot-create-unknown-type.md +30 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/word-scope-com-not-installed.md +35 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/word-scope-file-corrupted.md +34 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/word-scope-file-path-not-found.md +36 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/playbooks/word-scope-hangs-background-prompt.md +34 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/presentation.md +11 -0
- package/skills/uipath-troubleshoot/references/activity-packages/word-activities/summary.md +38 -0
- package/skills/uipath-troubleshoot/references/products/integration-service/investigation_guide.md +9 -0
- package/skills/uipath-troubleshoot/references/products/integration-service/overview.md +7 -0
- package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/connection-invalid.md +9 -0
- package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/connector-aggregate-exception.md +30 -0
- package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/connector-general-exception.md +43 -0
- package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/connector-null-reference.md +36 -0
- package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/connector-remote-exception.md +31 -0
- package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/connector-runtime-exception.md +40 -0
- package/skills/uipath-troubleshoot/references/products/integration-service/summary.md +5 -0
- package/skills/uipath-troubleshoot/references/products/maestro/investigation_guide.md +2 -1
- package/skills/uipath-troubleshoot/references/products/orchestrator/investigation_guide.md +105 -10
- package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/job-faulted-logon-failure.md +1 -1
- package/skills/uipath-troubleshoot/references/summary.md +59 -3
- package/skills/uipath-troubleshoot/schemas/evidence.schema.md +48 -0
- package/skills/uipath-troubleshoot/schemas/hypotheses.schema.md +22 -7
- package/skills/uipath-troubleshoot/schemas/scope-check.schema.md +1 -1
- package/skills/uipath-troubleshoot/schemas/state.schema.md +81 -6
- package/version-manifest.json +2 -2
- package/skills/uipath-data-fabric/SKILL.md +0 -239
- package/skills/uipath-data-fabric/references/bulk-import.md +0 -73
- package/skills/uipath-data-fabric/references/entity-schema.md +0 -391
- package/skills/uipath-data-fabric/references/file-attachments.md +0 -65
- package/skills/uipath-maestro-bpmn/.maintenance/README.md +0 -241
- package/skills/uipath-maestro-bpmn/.maintenance/check-all.sh +0 -41
- package/skills/uipath-maestro-bpmn/.maintenance/check-anchors.sh +0 -83
- package/skills/uipath-maestro-bpmn/.maintenance/check-depth.sh +0 -132
- package/skills/uipath-maestro-bpmn/.maintenance/check-link-text.sh +0 -123
- package/skills/uipath-maestro-bpmn/.maintenance/check-links.sh +0 -70
- package/skills/uipath-maestro-bpmn/.maintenance/check-orphans.sh +0 -93
- package/skills/uipath-maestro-bpmn/.maintenance/check-plugin-pairs.sh +0 -39
- package/skills/uipath-maestro-bpmn/.maintenance/check-real-pack.sh +0 -79
- package/skills/uipath-maestro-bpmn/.maintenance/check-template.sh +0 -42
- package/skills/uipath-maestro-bpmn/.maintenance/check-uip-commands.sh +0 -266
- package/skills/uipath-maestro-bpmn/.maintenance/check-validation-fixtures.py +0 -1255
- package/skills/uipath-maestro-bpmn/.maintenance/check-validation-fixtures.sh +0 -8
- package/skills/uipath-maestro-bpmn/fixtures/validation/README.md +0 -94
- package/skills/uipath-maestro-bpmn/fixtures/validation/agent-invocation/agent-invocation.bpmn +0 -62
- package/skills/uipath-maestro-bpmn/fixtures/validation/agent-invocation/bindings_v2.json +0 -37
- package/skills/uipath-maestro-bpmn/fixtures/validation/agent-invocation/entry-points.json +0 -21
- package/skills/uipath-maestro-bpmn/fixtures/validation/agent-invocation/operate.json +0 -9
- package/skills/uipath-maestro-bpmn/fixtures/validation/agent-invocation/package-descriptor.json +0 -10
- package/skills/uipath-maestro-bpmn/fixtures/validation/agent-invocation/project.uiproj +0 -7
- package/skills/uipath-maestro-bpmn/fixtures/validation/contract-variants/bindings_v2.json +0 -68
- package/skills/uipath-maestro-bpmn/fixtures/validation/contract-variants/contract-variants.bpmn +0 -270
- package/skills/uipath-maestro-bpmn/fixtures/validation/contract-variants/entry-points.json +0 -25
- package/skills/uipath-maestro-bpmn/fixtures/validation/contract-variants/operate.json +0 -9
- package/skills/uipath-maestro-bpmn/fixtures/validation/contract-variants/package-descriptor.json +0 -10
- package/skills/uipath-maestro-bpmn/fixtures/validation/contract-variants/project.uiproj +0 -7
- package/skills/uipath-maestro-bpmn/fixtures/validation/gateway-boundary-error/bindings_v2.json +0 -19
- package/skills/uipath-maestro-bpmn/fixtures/validation/gateway-boundary-error/entry-points.json +0 -25
- package/skills/uipath-maestro-bpmn/fixtures/validation/gateway-boundary-error/gateway-boundary-error.bpmn +0 -91
- package/skills/uipath-maestro-bpmn/fixtures/validation/gateway-boundary-error/operate.json +0 -9
- package/skills/uipath-maestro-bpmn/fixtures/validation/gateway-boundary-error/package-descriptor.json +0 -10
- package/skills/uipath-maestro-bpmn/fixtures/validation/gateway-boundary-error/project.uiproj +0 -7
- package/skills/uipath-maestro-bpmn/fixtures/validation/imported-brownfield-preservation/bindings_v2.json +0 -4
- package/skills/uipath-maestro-bpmn/fixtures/validation/imported-brownfield-preservation/entry-points.json +0 -25
- package/skills/uipath-maestro-bpmn/fixtures/validation/imported-brownfield-preservation/imported-brownfield-preservation.bpmn +0 -63
- package/skills/uipath-maestro-bpmn/fixtures/validation/imported-brownfield-preservation/operate.json +0 -9
- package/skills/uipath-maestro-bpmn/fixtures/validation/imported-brownfield-preservation/package-descriptor.json +0 -10
- package/skills/uipath-maestro-bpmn/fixtures/validation/imported-brownfield-preservation/project.uiproj +0 -7
- package/skills/uipath-maestro-bpmn/fixtures/validation/integration-service-enriched/bindings_v2.json +0 -52
- package/skills/uipath-maestro-bpmn/fixtures/validation/integration-service-enriched/entry-points.json +0 -21
- package/skills/uipath-maestro-bpmn/fixtures/validation/integration-service-enriched/integration-service-enriched.bpmn +0 -65
- package/skills/uipath-maestro-bpmn/fixtures/validation/integration-service-enriched/operate.json +0 -9
- package/skills/uipath-maestro-bpmn/fixtures/validation/integration-service-enriched/package-descriptor.json +0 -10
- package/skills/uipath-maestro-bpmn/fixtures/validation/integration-service-enriched/project.uiproj +0 -7
- package/skills/uipath-maestro-bpmn/fixtures/validation/linear-process/bindings_v2.json +0 -4
- package/skills/uipath-maestro-bpmn/fixtures/validation/linear-process/entry-points.json +0 -25
- package/skills/uipath-maestro-bpmn/fixtures/validation/linear-process/linear-process.bpmn +0 -55
- package/skills/uipath-maestro-bpmn/fixtures/validation/linear-process/operate.json +0 -9
- package/skills/uipath-maestro-bpmn/fixtures/validation/linear-process/package-descriptor.json +0 -10
- package/skills/uipath-maestro-bpmn/fixtures/validation/linear-process/project.uiproj +0 -7
- package/skills/uipath-maestro-bpmn/fixtures/validation/registry-coverage-matrix/bindings_v2.json +0 -20
- package/skills/uipath-maestro-bpmn/fixtures/validation/registry-coverage-matrix/entry-points.json +0 -17
- package/skills/uipath-maestro-bpmn/fixtures/validation/registry-coverage-matrix/operate.json +0 -9
- package/skills/uipath-maestro-bpmn/fixtures/validation/registry-coverage-matrix/package-descriptor.json +0 -10
- package/skills/uipath-maestro-bpmn/fixtures/validation/registry-coverage-matrix/project.uiproj +0 -7
- package/skills/uipath-maestro-bpmn/fixtures/validation/registry-coverage-matrix/registry-coverage-matrix.bpmn +0 -207
- package/skills/uipath-maestro-bpmn/fixtures/validation/subprocess-multi-instance/bindings_v2.json +0 -4
- package/skills/uipath-maestro-bpmn/fixtures/validation/subprocess-multi-instance/entry-points.json +0 -33
- package/skills/uipath-maestro-bpmn/fixtures/validation/subprocess-multi-instance/operate.json +0 -9
- package/skills/uipath-maestro-bpmn/fixtures/validation/subprocess-multi-instance/package-descriptor.json +0 -10
- package/skills/uipath-maestro-bpmn/fixtures/validation/subprocess-multi-instance/project.uiproj +0 -7
- package/skills/uipath-maestro-bpmn/fixtures/validation/subprocess-multi-instance/subprocess-multi-instance.bpmn +0 -94
- package/skills/uipath-maestro-bpmn/fixtures/validation/wrapper-family-contract/bindings_v2.json +0 -124
- package/skills/uipath-maestro-bpmn/fixtures/validation/wrapper-family-contract/entry-points.json +0 -25
- package/skills/uipath-maestro-bpmn/fixtures/validation/wrapper-family-contract/operate.json +0 -9
- package/skills/uipath-maestro-bpmn/fixtures/validation/wrapper-family-contract/package-descriptor.json +0 -10
- package/skills/uipath-maestro-bpmn/fixtures/validation/wrapper-family-contract/project.uiproj +0 -7
- package/skills/uipath-maestro-bpmn/fixtures/validation/wrapper-family-contract/wrapper-family-contract.bpmn +0 -151
- package/skills/uipath-maestro-bpmn/references/author/CAPABILITY.md +0 -141
- package/skills/uipath-maestro-bpmn/references/author/references/brownfield.md +0 -48
- package/skills/uipath-maestro-bpmn/references/author/references/editing-operations.md +0 -75
- package/skills/uipath-maestro-bpmn/references/author/references/greenfield.md +0 -41
- package/skills/uipath-maestro-bpmn/references/author/references/planning-arch.md +0 -82
- package/skills/uipath-maestro-bpmn/references/author/references/planning-impl.md +0 -104
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/agents/impl.md +0 -34
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/agents/planning.md +0 -38
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/api-workflows/impl.md +0 -37
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/api-workflows/planning.md +0 -28
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/business-rules/impl.md +0 -36
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/business-rules/planning.md +0 -29
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/call-activity-subprocess/impl.md +0 -67
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/call-activity-subprocess/planning.md +0 -29
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/connectors/impl.md +0 -29
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/connectors/planning.md +0 -33
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/gateways/impl.md +0 -32
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/gateways/planning.md +0 -34
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/hitl/impl.md +0 -42
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/hitl/planning.md +0 -30
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/integration-service/impl.md +0 -134
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/integration-service/planning.md +0 -67
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/multi-instance/impl.md +0 -50
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/multi-instance/planning.md +0 -29
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/queues/impl.md +0 -29
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/queues/planning.md +0 -29
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/rpa-jobs/impl.md +0 -35
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/rpa-jobs/planning.md +0 -29
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/script/impl.md +0 -118
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/script/planning.md +0 -30
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/sequence-flows/impl.md +0 -30
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/sequence-flows/planning.md +0 -30
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/service-tasks/impl.md +0 -33
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/service-tasks/planning.md +0 -31
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/signals/impl.md +0 -33
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/signals/planning.md +0 -46
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/start-end-events/impl.md +0 -59
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/start-end-events/planning.md +0 -37
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/waits-triggers/impl.md +0 -40
- package/skills/uipath-maestro-bpmn/references/author/references/plugins/waits-triggers/planning.md +0 -34
- package/skills/uipath-maestro-bpmn/references/author/references/supported-elements.md +0 -123
- package/skills/uipath-maestro-bpmn/references/author/references/task-recipes/README.md +0 -29
- package/skills/uipath-maestro-bpmn/references/author/references/task-recipes/agent-job.md +0 -36
- package/skills/uipath-maestro-bpmn/references/author/references/task-recipes/api-workflow.md +0 -29
- package/skills/uipath-maestro-bpmn/references/author/references/task-recipes/business-rule.md +0 -18
- package/skills/uipath-maestro-bpmn/references/author/references/task-recipes/call-activity.md +0 -56
- package/skills/uipath-maestro-bpmn/references/author/references/task-recipes/hitl.md +0 -17
- package/skills/uipath-maestro-bpmn/references/author/references/task-recipes/http-request.md +0 -119
- package/skills/uipath-maestro-bpmn/references/author/references/task-recipes/queue.md +0 -21
- package/skills/uipath-maestro-bpmn/references/author/references/task-recipes/rpa-job.md +0 -23
- package/skills/uipath-maestro-bpmn/references/author/references/validation.md +0 -118
- package/skills/uipath-maestro-bpmn/references/shared/bpmn-xml-contract.md +0 -197
- package/skills/uipath-maestro-bpmn/references/shared/cli-conventions.md +0 -46
- package/skills/uipath-maestro-bpmn/references/shared/error-handling.md +0 -82
- package/skills/uipath-maestro-bpmn/references/shared/variables-bindings-expressions.md +0 -150
- package/skills/uipath-maestro-bpmn/references/shared/wrapper-shells.md +0 -554
- /package/skills/uipath-maestro-bpmn/references/{shared/expression-authoring.md → expression-authoring.md} +0 -0
- /package/skills/uipath-maestro-bpmn/references/{shared/public-safety.md → public-safety.md} +0 -0
- /package/{agents → skills/uipath-rpa/agents}/uipath-project-discovery-agent.md +0 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
confidence: high
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Append Text — "Activity is valid only inside WordApplicationScope"
|
|
6
|
+
|
|
7
|
+
## Context
|
|
8
|
+
|
|
9
|
+
What this looks like:
|
|
10
|
+
- The App-Integration **`Append Text`** activity (`UiPath.Word.Activities.WordAppendText`) shows a **design-time validation error** / faults with `Activity is valid only inside WordApplicationScope` (or "must be placed inside a Use Word File")
|
|
11
|
+
- The error fires before any text is appended
|
|
12
|
+
|
|
13
|
+
What can cause it:
|
|
14
|
+
- The App-Integration `Append Text` has **no file input of its own** — it appends to the document held open by a surrounding `Word Application Scope` / `Use Word File`. Dropped **outside** that container, it is invalid.
|
|
15
|
+
|
|
16
|
+
What to look for:
|
|
17
|
+
- Whether the `Append Text` node sits inside a `Word Application Scope` / `Use Word File` in the `.xaml`, or loose in the sequence.
|
|
18
|
+
- Whether it's the **App-Integration** `Append Text` (needs a container) or the **standalone** `Append Text` under the **Word Document** category (takes its own file path).
|
|
19
|
+
|
|
20
|
+
## Investigation
|
|
21
|
+
|
|
22
|
+
1. Read the workflow `.xaml`. Confirm the `Append Text` node is the App-Integration activity and whether it is nested inside a `Word Application Scope` / `Use Word File`.
|
|
23
|
+
2. Note whether the failure is design-time (validation) or runtime invalid-context — both point at the same missing-container cause.
|
|
24
|
+
|
|
25
|
+
## Resolution
|
|
26
|
+
|
|
27
|
+
- **Append to an open document** — place the `Append Text` activity **inside** a `Word Application Scope` (or `Use Word File`) that opens the target document, strictly within its **Do** body. The activity then appends to the container's open document.
|
|
28
|
+
- **Append without a scope / without opening MS Word** — use the standalone **`Append Text`** under the **Word Document** category instead, which takes the **file path directly** in its own properties (no container, no Word install needed).
|
|
29
|
+
- **Pick the surface deliberately** — App-Integration `Append Text` (scoped, Interop) for workflows already inside a Word scope; standalone Word Document `Append Text` for a one-off append by path.
|
|
30
|
+
|
|
31
|
+
> Same container-vs-standalone pattern as [read-text-missing-container.md](./read-text-missing-container.md) — the App-Integration Word activities need a scope; the Word Document ones take a path.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
confidence: medium
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Append Text — "Archive file cannot be size zero"
|
|
6
|
+
|
|
7
|
+
## Context
|
|
8
|
+
|
|
9
|
+
What this looks like:
|
|
10
|
+
- `Append Text` (`UiPath.Word.Activities.WordAppendText`) — or the surrounding scope opening the document — faults with `Archive file cannot be size zero` (or a similar OpenXML/ZIP "cannot open / not a valid package" error)
|
|
11
|
+
- The target `.docx`/`.doc` exists but is **0 bytes**
|
|
12
|
+
|
|
13
|
+
What can cause it:
|
|
14
|
+
- A `.docx` is a ZIP/OpenXML package and **must contain internal XML structures**. A **0-byte file** — typically created by *New → Text Document* then renaming the extension to `.docx`, or left behind by a failed/truncated download or interrupted write — is not a valid Word archive, so the open/append fails.
|
|
15
|
+
|
|
16
|
+
What to look for:
|
|
17
|
+
- The size of the target file on disk (0 bytes is the tell).
|
|
18
|
+
- Whether the file was hand-created by renaming a `.txt`, or produced by an upstream download/write that may have failed.
|
|
19
|
+
|
|
20
|
+
## Investigation
|
|
21
|
+
|
|
22
|
+
1. Read the `Append Text` / scope node and resolve the target document path.
|
|
23
|
+
2. Check the file size at that path on the execution host (ask the user / someone with host access if off-host). A 0-byte file is the cause.
|
|
24
|
+
3. Determine how the file got there — a manually renamed empty file vs a truncated upstream output — so the fix addresses the source.
|
|
25
|
+
|
|
26
|
+
## Resolution
|
|
27
|
+
|
|
28
|
+
- **If the file is a hand-made empty placeholder** — delete the 0-byte file and let UiPath generate a valid template: check **Create if not exists** in the `Word Application Scope` properties (or use a real `.docx` saved from Word). On the next run the scope creates a structurally valid file.
|
|
29
|
+
- **If the 0-byte file came from a failed upstream step** (download/write produced an empty file) — fix that step so it writes a complete `.docx`, and add a guard (check file size > 0) before appending.
|
|
30
|
+
- **Never fabricate a `.docx` by renaming a `.txt`** — a true Word file needs the OpenXML package structure; the extension alone is not enough.
|
|
31
|
+
|
|
32
|
+
> Distinct from a *corrupt-but-non-empty* document (orphaned-lock / half-written) — see [word-scope-file-corrupted.md](./word-scope-file-corrupted.md). The `Create if not exists` option is the same one covered in [word-scope-file-path-not-found.md](./word-scope-file-path-not-found.md) for generating an absent file.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
confidence: medium
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Export to PDF — COM Interop Hang / Crash / COMException
|
|
6
|
+
|
|
7
|
+
## Context
|
|
8
|
+
|
|
9
|
+
What this looks like:
|
|
10
|
+
- Activity `Export to PDF` / `Save Document as PDF` (`UiPath.Word.Activities.WordExportToPdf`) **freezes / hangs**, the job crashes, or it faults with a `System.Runtime.InteropServices.COMException`
|
|
11
|
+
- May be intermittent — succeeds on some runs, hangs/crashes on others
|
|
12
|
+
|
|
13
|
+
What can cause it:
|
|
14
|
+
- `WordExportToPdf` drives Microsoft Word via **COM Interop**. An **orphaned `WINWORD.EXE`** from a previous run left locked in memory blocks the new export, or the **input document is still open / locked** by another user, process, or a prior un-disposed scope. Word can't service the export call → hang or `COMException`.
|
|
15
|
+
|
|
16
|
+
What to look for:
|
|
17
|
+
- Orphaned `WINWORD.EXE` processes on the robot host (Task Manager, no visible window).
|
|
18
|
+
- Whether the input document is open elsewhere or held by a sync/AV client.
|
|
19
|
+
- Whether the surrounding `Word Application Scope` disposes cleanly on every path (an un-disposed scope leaves WINWORD.EXE behind).
|
|
20
|
+
|
|
21
|
+
## Investigation
|
|
22
|
+
|
|
23
|
+
1. Confirm the faulted activity is `Export to PDF` and capture the HRESULT if a `COMException` was thrown.
|
|
24
|
+
2. Ask the user (or someone with desktop access on the robot host, as the robot's Windows user) to check for orphaned `WINWORD.EXE` instances and whether the input document is open/locked elsewhere at run time.
|
|
25
|
+
3. Check whether prior runs left Word processes behind (a sign the scope isn't disposing).
|
|
26
|
+
|
|
27
|
+
## Resolution
|
|
28
|
+
|
|
29
|
+
- **Clear stale Word sessions** — add a **Kill Process** activity with `ProcessName = "WINWORD"` **immediately before** the Word automation / export sequence to clear hung background instances. Ensure the `Word Application Scope` disposes on every path so it doesn't orphan WINWORD.EXE. As a one-time cleanup, end stray `WINWORD.EXE` (`Stop-Process -Name WINWORD -Force`).
|
|
30
|
+
- **Ensure the input is free** — confirm the source document is fully closed and not locked by another user/application before exporting.
|
|
31
|
+
- **If COM errors persist after the above** — bypass the native activity and do the conversion in an **Invoke Code (C#)** step using Word Interop directly (import `Microsoft.Office.Interop.Word`):
|
|
32
|
+
```csharp
|
|
33
|
+
// Arguments: argInputFile (String), argOutputFile (String)
|
|
34
|
+
var wordApp = new Microsoft.Office.Interop.Word.Application();
|
|
35
|
+
try {
|
|
36
|
+
var doc = wordApp.Documents.Open(argInputFile);
|
|
37
|
+
doc.ExportAsFixedFormat(argOutputFile, Microsoft.Office.Interop.Word.WdExportFormat.wdExportFormatPDF);
|
|
38
|
+
doc.Close(false);
|
|
39
|
+
}
|
|
40
|
+
finally {
|
|
41
|
+
wordApp.Quit();
|
|
42
|
+
}
|
|
43
|
+
```
|
|
44
|
+
The `finally { wordApp.Quit(); }` guarantees Word is released even on error — addressing the orphaned-process root cause directly. Requires desktop Word installed on the host.
|
|
45
|
+
|
|
46
|
+
> Related COM failures: a modal dialog blocking Word (password / recovery / activation) → [word-scope-hangs-background-prompt.md](./word-scope-hangs-background-prompt.md); `RPC_E_SERVERCALL_RETRYLATER` busy signal → [replace-text-com-busy.md](./replace-text-com-busy.md); a startup `REGDB_E_CLASSNOTREG` (no desktop Word) → [word-scope-com-not-installed.md](./word-scope-com-not-installed.md).
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
confidence: medium
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Export to PDF — "Command Failed" Because the Output Directory Doesn't Exist
|
|
6
|
+
|
|
7
|
+
## Context
|
|
8
|
+
|
|
9
|
+
What this looks like:
|
|
10
|
+
- Activity `Export to PDF` / `Save Document as PDF` (`UiPath.Word.Activities.WordExportToPdf`) faults with a **generic `Command Failed`** error (no specific cause in the message)
|
|
11
|
+
- The output `.pdf` is never written
|
|
12
|
+
|
|
13
|
+
What can cause it:
|
|
14
|
+
- The output path points at a **folder that does not exist** on the execution machine. `WordExportToPdf` does **not** auto-create intermediate directories — if the target folder isn't there, the underlying save fails and surfaces only as a generic `Command Failed`.
|
|
15
|
+
|
|
16
|
+
What to look for:
|
|
17
|
+
- The output path's folder vs what exists on the robot host — a path like `C:\Output\2026\Invoices\file.pdf` where `C:\Output\2026\Invoices\` was never created.
|
|
18
|
+
- A dynamically built output folder (date-stamped, per-customer) that is assumed to exist but isn't created by any prior step.
|
|
19
|
+
|
|
20
|
+
## Investigation
|
|
21
|
+
|
|
22
|
+
1. Read the `Export to PDF` node from the `.xaml` and capture the literal output path expression. Resolve it to a concrete path for the failing run.
|
|
23
|
+
2. Check whether the **parent folder** of that path exists on the execution machine (ask the user / someone with host access if off-host). A missing parent folder is the cause.
|
|
24
|
+
3. Confirm no earlier activity in the workflow creates that folder.
|
|
25
|
+
|
|
26
|
+
## Resolution
|
|
27
|
+
|
|
28
|
+
- **Create the folder before exporting** — add a **Create Folder** activity (target = the output directory) **immediately before** the `Word Application Scope` / export step, so the directory is built dynamically at runtime. `Create Folder` is a no-op if the folder already exists, so it is safe on every run.
|
|
29
|
+
- **Or build the path from a guaranteed-existing root** — point the output at a directory the robot always has (e.g. the project output folder), or have the provisioning step pre-create the target tree.
|
|
30
|
+
- After adding `Create Folder`, re-run and confirm the `.pdf` is written.
|
|
31
|
+
|
|
32
|
+
> The generic `Command Failed` carries no detail — a missing output directory is the most common cause, but also rule out an invalid/un-suffixed path (see [export-pdf-output-path-format.md](./export-pdf-output-path-format.md)) and a busy/locked Word COM session (see [export-pdf-com-hang.md](./export-pdf-com-hang.md)).
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
confidence: medium
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Export to PDF — Malformed Output Path / Missing .pdf Extension
|
|
6
|
+
|
|
7
|
+
## Context
|
|
8
|
+
|
|
9
|
+
What this looks like:
|
|
10
|
+
- Activity `Export to PDF` / `Save Document as PDF` (`UiPath.Word.Activities.WordExportToPdf`) fails to save, or throws an unexpected exception while writing the file
|
|
11
|
+
- The output file is missing, has no extension, or lands at a wrong/garbled path
|
|
12
|
+
|
|
13
|
+
What can cause it:
|
|
14
|
+
- The output **File Path** is built from **unformatted dynamic pieces** — e.g. a folder variable concatenated to a filename without a separator, or **without a `.pdf` suffix**, producing an invalid target (no extension, doubled/missing backslashes, trailing spaces).
|
|
15
|
+
|
|
16
|
+
What to look for:
|
|
17
|
+
- The output-path expression in the `.xaml`: is it a clean absolute path ending in `.pdf`, or a raw string concatenation?
|
|
18
|
+
- Missing separator between folder and file, a filename with no `.pdf`, or an unresolved/empty variable segment.
|
|
19
|
+
|
|
20
|
+
## Investigation
|
|
21
|
+
|
|
22
|
+
1. Read the `Export to PDF` node and capture the exact output-path expression. Evaluate what it resolves to for the failing run.
|
|
23
|
+
2. Check the resolved string: does it end in `.pdf`? Is there exactly one separator between folder and filename? Are all variable segments populated (no empty/`null` pieces)?
|
|
24
|
+
|
|
25
|
+
## Resolution
|
|
26
|
+
|
|
27
|
+
- **Build the path explicitly with a `.pdf` suffix.** Use `Path.Combine` and an explicit extension rather than bare string concatenation, e.g.:
|
|
28
|
+
```vbnet
|
|
29
|
+
Path.Combine(targetFolderVar, fileNameVar & ".pdf")
|
|
30
|
+
```
|
|
31
|
+
or, if concatenating, ensure the separator and suffix: `targetFolderVar & "\" & fileNameVar & ".pdf"`.
|
|
32
|
+
- **Validate the pieces** — confirm `fileNameVar` has no extension already (avoid `name.pdf.pdf`), no illegal filename characters, and no trailing whitespace; confirm `targetFolderVar` is an absolute path.
|
|
33
|
+
- Re-run and confirm the `.pdf` is created at the intended path.
|
|
34
|
+
|
|
35
|
+
> If the path is correct but the **folder** doesn't exist, the symptom is the generic `Command Failed` — see [export-pdf-missing-output-dir.md](./export-pdf-missing-output-dir.md).
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
confidence: medium
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Read Text — Standalone System Activity Fails on Legacy .doc Files
|
|
6
|
+
|
|
7
|
+
## Context
|
|
8
|
+
|
|
9
|
+
What this looks like:
|
|
10
|
+
- The standalone **`Read Text`** activity under **`System > File > Word Document`** reads `.docx` files fine but **errors or returns nothing** on older `.doc` files
|
|
11
|
+
- Surfaces as a read/parse exception, an empty result, or a format-not-supported error when the input is a binary `.doc`
|
|
12
|
+
|
|
13
|
+
What can cause it:
|
|
14
|
+
- The standalone System Word Document `Read Text` activity is optimized for the **OpenXML `.docx`** format. The legacy binary **`.doc`** format is not reliably supported, so it fails or extracts nothing.
|
|
15
|
+
|
|
16
|
+
What to look for:
|
|
17
|
+
- The target file's extension/format — `.doc` (legacy binary) vs `.docx` (OpenXML).
|
|
18
|
+
- Whether the activity is the **standalone System** Read Text (the OpenXML-limited one) rather than the scoped Word-pack activity.
|
|
19
|
+
|
|
20
|
+
## Investigation
|
|
21
|
+
|
|
22
|
+
1. Confirm the input file is a legacy `.doc` (not `.docx`) — check the actual format, not just the extension (a renamed file can mislead).
|
|
23
|
+
2. Confirm the failing activity is the standalone `System > File > Word Document` `Read Text`, which is the OpenXML-limited surface.
|
|
24
|
+
|
|
25
|
+
## Resolution
|
|
26
|
+
|
|
27
|
+
- **Read `.doc` through the Interop container** — wrap the file in a **`Use Word File`** container (or legacy `Word Application Scope`) and read it with the Word-pack `Read Text` activity inside that scope. The Microsoft Word Interop framework the container uses opens and reads both `.doc` and `.docx` seamlessly (it converts the legacy format on open).
|
|
28
|
+
- **Or convert up front** — if you must stay on the standalone System activity, convert the `.doc` to `.docx` first (open-and-save-as via a Word scope, or a conversion step), then read the `.docx`.
|
|
29
|
+
|
|
30
|
+
> The Interop path requires desktop Word installed on the host (see [word-scope-com-not-installed.md](./word-scope-com-not-installed.md)). The standalone System activity does not need Word but is `.docx`-only.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
confidence: high
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Read Text — Activity Outside Its Container (Validation Warning / Runtime Error)
|
|
6
|
+
|
|
7
|
+
## Context
|
|
8
|
+
|
|
9
|
+
What this looks like:
|
|
10
|
+
- The modern `Read Text` activity (from the `UiPath.Word.Activities` pack) shows a **design-time validation warning** ("activity must be placed inside a `Use Word File`") or **faults at runtime** as invalid / missing parent
|
|
11
|
+
- Common messages: `Read Text` must be inside a `Use Word File` (or legacy `Word Application Scope`); a validation error preventing the run, or a runtime "activity is not valid in this context"
|
|
12
|
+
|
|
13
|
+
What can cause it:
|
|
14
|
+
- The modern Word-pack `Read Text` activity has **no file input of its own** — it reads the document held open by a surrounding `Use Word File` / `Word Application Scope` container. Dropped **outside** any container, it has nothing to read and is invalid.
|
|
15
|
+
|
|
16
|
+
What to look for:
|
|
17
|
+
- Whether the `Read Text` node is nested inside a `Use Word File` / `Word Application Scope` in the `.xaml`, or sits loose in the sequence.
|
|
18
|
+
- Whether the activity is the **modern pack** Read Text (needs a container) or the **standalone System** Read Text (takes its own file path).
|
|
19
|
+
|
|
20
|
+
## Investigation
|
|
21
|
+
|
|
22
|
+
1. Read the workflow `.xaml`. Confirm the `Read Text` node is the modern Word-pack activity and whether it is inside a `Use Word File` / `Word Application Scope`.
|
|
23
|
+
2. Note whether the failure is design-time (validation warning in Studio) or a runtime invalid-context fault — both point at the same missing-container cause.
|
|
24
|
+
|
|
25
|
+
## Resolution
|
|
26
|
+
|
|
27
|
+
- **If you want to read from an already-open document** — move the `Read Text` activity **inside** a `Use Word File` container (or a legacy `Word Application Scope`) that opens the target file. The activity then reads the container's open document.
|
|
28
|
+
- **If you want a stand-alone read with no container** — use the native **`Read Text`** activity under **`System > File > Word Document`** instead. It takes the **file path directly in its own properties**, so no scope is required.
|
|
29
|
+
- **Pick one surface deliberately** — the pack Read Text (scoped) for workflows already inside a Word scope; the System Word Document Read Text (standalone) for a one-off extraction by path.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
confidence: medium
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Read Text — Protected View Blocks Reading a File From an Untrusted Source
|
|
6
|
+
|
|
7
|
+
## Context
|
|
8
|
+
|
|
9
|
+
What this looks like:
|
|
10
|
+
- Reading a Word document (via `Read Text` inside `Use Word File` / `Word Application Scope`) **faults trying to open/access the file**, or hangs, when the file came from **email, the internet, or an external/network server**
|
|
11
|
+
- The same file opens and reads fine when it originated locally; only externally-sourced copies fail
|
|
12
|
+
|
|
13
|
+
What can cause it:
|
|
14
|
+
- Word opens files carrying a **Mark-of-the-Web** (downloaded / received from outside the machine) in **Protected View** — a read-only sandbox. The Interop read against a Protected-View document is blocked, surfacing as an access exception (or, unattended, a hang on the Protected View bar that nobody can dismiss).
|
|
15
|
+
|
|
16
|
+
What to look for:
|
|
17
|
+
- The file's origin — downloaded, email attachment, copied from a network/external share (carries Mark-of-the-Web) vs created locally.
|
|
18
|
+
- Whether the failure is specific to externally-sourced files.
|
|
19
|
+
|
|
20
|
+
## Investigation
|
|
21
|
+
|
|
22
|
+
1. Confirm the failing document came from an external source (email/internet/remote share) and that locally-created files read fine — that isolates Protected View / Mark-of-the-Web.
|
|
23
|
+
2. Ask the user (or someone with desktop access on the robot host, as the robot's Windows user) whether the file opens in Protected View when double-clicked.
|
|
24
|
+
|
|
25
|
+
## Resolution
|
|
26
|
+
|
|
27
|
+
- **Unblock the file (preferred, per-file)** — clear the Mark-of-the-Web before reading: `Right-click > Properties > Unblock`, or `Unblock-File <path>` in PowerShell as a workflow pre-step.
|
|
28
|
+
- **Add the folder to Trusted Locations** — `File > Options > Trust Center > Trust Center Settings > Trusted Locations` on the execution machine (as the robot's Windows user), so files in that folder skip Protected View.
|
|
29
|
+
- **Disable Protected View on the execution machine** — `File > Options > Trust Center > Trust Center Settings > Protected View` and uncheck the relevant rules (files from internet / Outlook / unsafe locations). Apply only on a controlled robot host, since it lowers a safety control.
|
|
30
|
+
- **If unattended and hanging rather than erroring** — the Protected View bar is an invisible blocking dialog; see [word-scope-hangs-background-prompt.md](./word-scope-hangs-background-prompt.md).
|
|
31
|
+
|
|
32
|
+
> Related: [word-scope-file-corrupted.md](./word-scope-file-corrupted.md) covers Protected View / Mark-of-the-Web blocking a *write/save*; this playbook covers it blocking a *read*.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
confidence: medium
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Replace Text in Document — "Application is busy" / COM Interop Retry Failure (0x8001010A)
|
|
6
|
+
|
|
7
|
+
## Context
|
|
8
|
+
|
|
9
|
+
What this looks like:
|
|
10
|
+
- Activity `Replace Text in Document` / `Replace Text` (`UiPath.Word.Activities.ReplaceTextInDocument` modern, `UiPath.Word.Activities.WordReplaceText` classic) faults with a COM HRESULT
|
|
11
|
+
- Error message contains one of:
|
|
12
|
+
- `The message filter indicated that the application is busy. (Exception from HRESULT: 0x8001010A (RPC_E_SERVERCALL_RETRYLATER))`
|
|
13
|
+
- `Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED))`
|
|
14
|
+
- Often intermittent — the same workflow succeeds on one run and faults on the next
|
|
15
|
+
|
|
16
|
+
What can cause it:
|
|
17
|
+
- Microsoft Word (WINWORD.EXE) is **busy or unresponsive** when the activity issues its COM call: another WINWORD.EXE is open in the background, the document is locked by another user/session, or Word is stalled on a modal pop-up dialog
|
|
18
|
+
- When the surrounding scope runs with `Visible = False`, a blocking dialog is invisible but still wedges the COM call
|
|
19
|
+
|
|
20
|
+
What to look for:
|
|
21
|
+
- Extra WINWORD.EXE instances in Task Manager on the robot host.
|
|
22
|
+
- Whether the document is also open in an interactive desktop window.
|
|
23
|
+
|
|
24
|
+
## Investigation
|
|
25
|
+
|
|
26
|
+
1. Capture the exact HRESULT (`0x8001010A` / `0x80010001`) and confirm the faulted activity is `Replace Text in Document` / `Replace Text` inside a `Word Application Scope` / `Use Word File` container.
|
|
27
|
+
2. Ask the user (or someone with desktop access on the robot host, signed in as the robot's Windows user) to check for orphaned WINWORD.EXE processes and whether the target document is open in another window.
|
|
28
|
+
3. Re-run with the scope `Visible = True` and observe whether Word shows a blocking dialog (recovery sidebar, macro/trust prompt, license activation) during the run.
|
|
29
|
+
|
|
30
|
+
## Resolution
|
|
31
|
+
|
|
32
|
+
- **If a stray / orphaned WINWORD.EXE is holding Word busy** — add a `Kill Process` activity with `ProcessName = "WINWORD"` to clear locked sessions: at the **very start of the workflow** to clear any pre-existing WINWORD before the run, and/or immediately **before** the Word scope. Ensure the scope disposes so Word always closes cleanly, and confirm the file is not open in another desktop window (by you, another user, or a background process) during the run.
|
|
33
|
+
- **If a modal dialog is blocking** — surface it by running `Visible = True`, then clear the source (a **password prompt** on a protected document, a recovery/trust prompt, license activation). Dismiss it, supply the password, or add the folder to Trusted Locations. See [word-scope-hangs-background-prompt.md](./word-scope-hangs-background-prompt.md) for the dialog-by-dialog breakdown.
|
|
34
|
+
- **If the document is locked by another process** — stop the concurrent accessor (a second job, a sync/AV client, an interactive session); see [word-scope-file-corrupted.md](./word-scope-file-corrupted.md) for the lock-clearing steps.
|
|
35
|
+
- **As a resilience guard** — wrap the operation in a `Retry Scope` so a transient `RPC_E_SERVERCALL_RETRYLATER` retries rather than faulting the job on the first busy signal.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
confidence: medium
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Replace Text in Document — File Lock / "File is Read-Only" on Save
|
|
6
|
+
|
|
7
|
+
## Context
|
|
8
|
+
|
|
9
|
+
What this looks like:
|
|
10
|
+
- Activity `Replace Text in Document` / `Replace Text` faults when the surrounding scope tries to persist the edit
|
|
11
|
+
- Error message contains one of:
|
|
12
|
+
- `The process cannot access the file because it is being used by another process`
|
|
13
|
+
- `The file is read-only` / `Cannot save the document because it is read-only`
|
|
14
|
+
|
|
15
|
+
What can cause it:
|
|
16
|
+
- The `Word Application Scope` / `Use Word File` container tries to **save changes while the same file is being accessed elsewhere** — most often when `Auto Save` is on and the document is touched by another activity in the same loop iteration, or a second job/sync client holds the handle
|
|
17
|
+
- A `Save As` / rename to the **same path** while the file is still open inside an active loop
|
|
18
|
+
|
|
19
|
+
What to look for:
|
|
20
|
+
- Whether `Auto Save` is enabled on the `Use Word File` scope.
|
|
21
|
+
- Whether the scope (or a save/rename) runs inside a loop over the same file path.
|
|
22
|
+
|
|
23
|
+
## Investigation
|
|
24
|
+
|
|
25
|
+
1. Read the scope and the `Replace Text in Document` node from the `.xaml`. Capture the file path, whether `Auto Save` is enabled, and whether the scope or any save/rename sits inside a `For Each` / `While` over the same path.
|
|
26
|
+
2. Check the robot host for a second process holding the file (orphaned WINWORD.EXE, a concurrent job, a sync/AV client) and whether the file's read-only attribute is set.
|
|
27
|
+
|
|
28
|
+
## Resolution
|
|
29
|
+
|
|
30
|
+
- **If Auto Save races another access in a loop** — uncheck **Auto Save** in the `Use Word File` properties so the document is written once on scope exit rather than continuously, removing the save-vs-access race.
|
|
31
|
+
- **If a `Save As` / rename reuses the same path inside a loop** — write to a distinct output path per iteration (build it with `Path.Combine`) instead of overwriting the open file; avoid `Save As` to the exact path the scope still holds open.
|
|
32
|
+
- **If another process holds the file** — clear the lock before the scope (`Kill Process` for `WINWORD`, stop the concurrent job, exclude the folder from sync/AV); see [word-scope-file-corrupted.md](./word-scope-file-corrupted.md) for the full lock-clearing steps.
|
|
33
|
+
- **If the file's read-only attribute is set** — clear it (`attrib -R <path>` or `Set-ItemProperty <path> -Name IsReadOnly -Value $false`) or copy to a writable working location before editing.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
confidence: medium
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Replace Text in Document — Headers, Footers, and Text Boxes Not Replaced
|
|
6
|
+
|
|
7
|
+
## Context
|
|
8
|
+
|
|
9
|
+
What this looks like:
|
|
10
|
+
- Activity `Replace Text in Document` / `Replace Text` finishes **without error**, but text inside **headers, footers, or floating text boxes / shapes** is left unchanged — only the main body got the substitution
|
|
11
|
+
- Placeholders in the body are replaced correctly; the same placeholder in a header or text box survives
|
|
12
|
+
|
|
13
|
+
What can cause it:
|
|
14
|
+
- **Older versions of `UiPath.Word.Activities`** scan only the primary body text. Content stored in header/footer story ranges or in floating shapes (text boxes) is outside the scanned range, so those placeholders are never matched.
|
|
15
|
+
|
|
16
|
+
What to look for:
|
|
17
|
+
- Where the surviving placeholder lives (header / footer / text box vs body).
|
|
18
|
+
- The `UiPath.Word.Activities` version in `project.json`.
|
|
19
|
+
|
|
20
|
+
## Investigation
|
|
21
|
+
|
|
22
|
+
1. Confirm the unreplaced placeholder is in a **header, footer, or text box / shape**, while body placeholders did replace — that locates the gap to non-body story ranges.
|
|
23
|
+
2. Check the `UiPath.Word.Activities` version in `project.json` against the latest release.
|
|
24
|
+
|
|
25
|
+
## Resolution
|
|
26
|
+
|
|
27
|
+
- **Update the package** — open `Manage Packages` in Studio and update `UiPath.Word.Activities` to the latest version, then rebuild. Newer versions natively replace inside headers, footers, and text shapes.
|
|
28
|
+
- **If you cannot upgrade** — substitute the header/footer/text-box content explicitly (e.g. address the header story range directly, or move the placeholder into the body), or do the replacement in code over the document XML, which covers all story ranges.
|
|
29
|
+
|
|
30
|
+
> This is a silent miss — the activity throws nothing. Trace the **output document content** (including headers/footers/text boxes), not just the absence of an exception. For a body-text silent miss caused by run-splitting rather than the package version, see [replace-text-silent-no-substitution.md](./replace-text-silent-no-substitution.md).
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
confidence: high
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Replace Text in Document — Input String Length Limit (256 Characters)
|
|
6
|
+
|
|
7
|
+
## Context
|
|
8
|
+
|
|
9
|
+
What this looks like:
|
|
10
|
+
- Activity `Replace Text in Document` / `Replace Text` faults or silently truncates when the `Search` or `Replace` value is long
|
|
11
|
+
- Error message is an `ArgumentException`, or there is no error but the written value is **cut off** at 256 characters
|
|
12
|
+
|
|
13
|
+
What can cause it:
|
|
14
|
+
- Classic versions of the activity enforce a **hard 256-character limit** on both the `Search for` and `Replace with` input fields. A value over 256 characters raises `ArgumentException` or is truncated.
|
|
15
|
+
|
|
16
|
+
What to look for:
|
|
17
|
+
- The length of the `Replace` (and `Search`) expressions at runtime — over 256 characters is the trigger.
|
|
18
|
+
- The `UiPath.Word.Activities` package version (the limit is a classic-version constraint).
|
|
19
|
+
|
|
20
|
+
## Investigation
|
|
21
|
+
|
|
22
|
+
1. Read the `Replace Text in Document` node and evaluate the actual length of the `Search` and `Replace` values for the failing run. Confirm one exceeds 256 characters.
|
|
23
|
+
2. Check the `UiPath.Word.Activities` version in `project.json` — the 256-char limit is present in classic/older versions and relaxed in current ones.
|
|
24
|
+
|
|
25
|
+
## Resolution
|
|
26
|
+
|
|
27
|
+
- **If the replacement text exceeds 256 characters** — update the `UiPath.Word.Activities` dependency to the latest version (the limit is relaxed in current releases), then rebuild.
|
|
28
|
+
- **If you cannot upgrade the package** — do the substitution in code instead: read the document text into a `String`, replace with `myString.Replace(...)` / regex in an `Assign`, and write the result back, which has no 256-character cap.
|
|
29
|
+
- **If the replacement text is long by nature** (e.g. a legal clause, a multi-sentence paragraph) — don't use `Replace Text` at all. Place a **Bookmark or Form Field** at the insertion point in the template and fill it with the `Set Bookmark Text` activity, which has no length cap and preserves the bookmark's formatting. Keep `Search` placeholder keys short.
|
|
30
|
+
- **If the value is being truncated silently** — same fix; verify the output document content after the write rather than trusting a no-error run.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
confidence: medium
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Replace Text in Document — Placeholder Replaced Once, Then Missing in Loop Iterations
|
|
6
|
+
|
|
7
|
+
## Context
|
|
8
|
+
|
|
9
|
+
What this looks like:
|
|
10
|
+
- Activity `Replace Text in Document` / `Replace Text` works on the **first** iteration of a loop and then does nothing (or the output is wrong) on every subsequent iteration
|
|
11
|
+
- No exception is necessarily thrown — later rows simply come out with the placeholder gone / the first row's value baked in
|
|
12
|
+
|
|
13
|
+
What can cause it:
|
|
14
|
+
- The workflow opens and edits the **template file in place** inside the loop. Once the placeholder (e.g. `[Name]`) is replaced on iteration 1, the literal placeholder **no longer exists in the file**, so iteration 2 finds nothing to replace. Every later row inherits the mutated document instead of a clean template.
|
|
15
|
+
|
|
16
|
+
What to look for:
|
|
17
|
+
- Whether the `Use Word File` / `Word Application Scope` inside the loop points at the **same template path** every iteration.
|
|
18
|
+
- Whether a fresh copy of the template is made per iteration (it usually is not — that's the bug).
|
|
19
|
+
|
|
20
|
+
## Investigation
|
|
21
|
+
|
|
22
|
+
1. Read the loop body from the `.xaml`. Confirm the Word scope's file path is the template itself (same path each iteration), not a per-iteration copy.
|
|
23
|
+
2. Confirm the symptom: iteration 1 succeeds, later iterations leave the placeholder missing / stale. The template on disk is mutated after the first run.
|
|
24
|
+
|
|
25
|
+
## Resolution
|
|
26
|
+
|
|
27
|
+
- **Copy the template per iteration** — at the **start of each loop iteration**, use a `Copy File` activity to create a fresh temporary copy of the template (a unique per-row output path, e.g. built with `Path.Combine`), and point the `Use Word File` / `Word Application Scope` at **that temporary file** instead of the template. Each row then starts from a clean, unmodified template.
|
|
28
|
+
- **Never edit the source template in place** — treat the template as read-only; generate a new output document per row.
|
|
29
|
+
- **Source:** the placeholder is consumed by the first replacement; the fix is a fresh template copy per iteration.
|
|
30
|
+
|
|
31
|
+
> Distinct from [replace-text-silent-no-substitution.md](./replace-text-silent-no-substitution.md) (placeholder split across Word XML runs — fails on *every* row, including the first) and [replace-text-file-locked.md](./replace-text-file-locked.md) (`IOException` from Auto Save racing a shared file in a loop). Here the first row succeeds and the cause is template mutation, not a run-split token or a file lock.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
confidence: medium
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Replace Text in Document — Multi-line Replacement Loses Formatting / Collapses to One Line
|
|
6
|
+
|
|
7
|
+
## Context
|
|
8
|
+
|
|
9
|
+
What this looks like:
|
|
10
|
+
- Activity `Replace Text in Document` / `Replace Text` completes, but the replacement text **loses its formatting** or **wraps into a single line** instead of preserving the intended paragraph breaks
|
|
11
|
+
- The `Search` placeholder is replaced, but the multi-line/styled result does not render as expected
|
|
12
|
+
|
|
13
|
+
What can cause it:
|
|
14
|
+
- The `Replace` value is a **raw string containing standard environment line breaks** (`Environment.NewLine` / `\r\n`). The activity inserts the text as a flat run, so OS line breaks do not become proper Word paragraph breaks and any intended formatting is dropped.
|
|
15
|
+
|
|
16
|
+
What to look for:
|
|
17
|
+
- Whether the `Replace` expression embeds `Environment.NewLine` / `vbCrLf` / `\n` to build multi-line content.
|
|
18
|
+
- Whether the expected output is rich/multi-paragraph (styled) rather than a simple token swap.
|
|
19
|
+
|
|
20
|
+
## Investigation
|
|
21
|
+
|
|
22
|
+
1. Read the `Replace` expression. Confirm it carries line breaks or formatting intent (multi-paragraph text), not a simple single-line value.
|
|
23
|
+
2. Confirm the symptom is layout/formatting (collapsed lines, lost styling), not a missing replacement.
|
|
24
|
+
|
|
25
|
+
## Resolution
|
|
26
|
+
|
|
27
|
+
- **Keep replacement strings simple** — use `Replace Text` only for plain, single-line token swaps. Avoid passing `Environment.NewLine`-laden strings and expecting Word paragraph formatting.
|
|
28
|
+
- **For complex multi-line / styled content** — do not use `Replace Text`. Use **Bookmarks or Form Fields** with the `Set Bookmark Text` activity (preserves the bookmark's formatting), or a copy-paste simulation approach when preserving nested multi-line paragraphs is mandatory.
|
|
29
|
+
- **If you must inject paragraphs via Replace** — split the content and insert paragraph breaks through the Word object model rather than relying on raw `Environment.NewLine` in the `Replace` field.
|
|
30
|
+
|
|
31
|
+
> For long replacement text that hits the 256-character input cap (a different failure), see [replace-text-length-limit.md](./replace-text-length-limit.md) — the Bookmarks / Form Fields path applies there too.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
confidence: medium
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Replace Text in Document — Placeholder Not Replaced (No Error, No Change)
|
|
6
|
+
|
|
7
|
+
## Context
|
|
8
|
+
|
|
9
|
+
What this looks like:
|
|
10
|
+
- Activity `Replace Text in Document` / `Replace Text` runs and the job **succeeds with no exception**, but the placeholder (e.g. `[Name]`, `{{Customer}}`) is left untouched in the output document
|
|
11
|
+
- Re-running does not help; the search term visibly matches the template text by eye
|
|
12
|
+
|
|
13
|
+
What can cause it:
|
|
14
|
+
- Word stores text as runs in its internal XML. A placeholder that was **typed, then partially edited (backspaced, retyped, or reformatted) in place** gets split across multiple runs. The displayed text reads `[Name]`, but in the XML it is fragmented (e.g. `[Na` + `me]`), so the activity's exact-string search never matches the contiguous term
|
|
15
|
+
- A formatting change mid-placeholder (bold on one character, a different font) also splits the run
|
|
16
|
+
|
|
17
|
+
What to look for:
|
|
18
|
+
- Whether the placeholder was edited in place in the template (a tell: it was typed with corrections).
|
|
19
|
+
- Whether part of the placeholder carries different formatting from the rest.
|
|
20
|
+
|
|
21
|
+
## Investigation
|
|
22
|
+
|
|
23
|
+
1. Confirm the activity reports success and the `Search` value exactly matches the on-screen placeholder (character-for-character, including brackets and case).
|
|
24
|
+
2. Inspect the template: select the whole placeholder and check the formatting is uniform across every character. If unsure, inspect the document XML (`.docx` → rename to `.zip` → `word/document.xml`) and look for the placeholder split across multiple `<w:t>` runs.
|
|
25
|
+
|
|
26
|
+
## Resolution
|
|
27
|
+
|
|
28
|
+
- **If the placeholder is split across runs** — in the Word template, fully highlight the placeholder, delete it, and **retype it in one continuous motion** without backspaces or mid-word formatting changes, so it lands in a single run. Save the template and re-run.
|
|
29
|
+
- **Make templates robust** — author placeholders by typing them cleanly once (or paste as plain text), keep uniform formatting across the whole token, and avoid editing them character-by-character afterwards.
|
|
30
|
+
- **If you cannot control the template** — read the document text into a string, replace with `myString.Replace(...)` / regex in an `Assign`, and write it back, which operates on the flattened text rather than run boundaries.
|
|
31
|
+
|
|
32
|
+
> This is a silent failure — the activity throws nothing. Trace the **output document content** (or add a post-replace `Word`-read + assertion) rather than relying on the activity not faulting.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
confidence: medium
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Replace Text in Document — TargetInvocationException / Studio Crash on Drop
|
|
6
|
+
|
|
7
|
+
## Context
|
|
8
|
+
|
|
9
|
+
What this looks like:
|
|
10
|
+
- Studio errors **immediately when the `Replace Text in Document` / `Replace Text` activity is dropped** onto the designer panel, or while opening a workflow that contains it
|
|
11
|
+
- Error message contains `System.Reflection.TargetInvocationException` (often wrapping an inner type/version load error), or Studio becomes unstable / crashes
|
|
12
|
+
|
|
13
|
+
What can cause it:
|
|
14
|
+
- A **version mismatch between Studio and the `UiPath.Word.Activities` package** — an older Studio loading a newer package dependency (or vice versa) cannot construct the activity's designer, so the reflection call that instantiates it throws
|
|
15
|
+
|
|
16
|
+
What to look for:
|
|
17
|
+
- The Studio version vs the installed `UiPath.Word.Activities` version.
|
|
18
|
+
- Whether the crash is design-time (on drop / open) rather than at runtime.
|
|
19
|
+
|
|
20
|
+
## Investigation
|
|
21
|
+
|
|
22
|
+
1. Confirm the failure is **design-time** (on dropping the activity or opening the workflow in Studio), not a runtime job fault — this distinguishes it from the runtime "Cannot create unknown type" package gap.
|
|
23
|
+
2. Compare the installed `UiPath.Word.Activities` version against the Studio version's supported range.
|
|
24
|
+
|
|
25
|
+
## Resolution
|
|
26
|
+
|
|
27
|
+
- **If Studio and the package are mismatched** — open `Manage Packages`, select `UiPath.Word.Activities`, and upgrade or downgrade to a version compatible with the installed Studio (a known-stable release for that Studio version), then reopen the workflow.
|
|
28
|
+
- **If upgrading the package is required by other activities** — upgrade Studio to a version that supports the newer package instead, so the whole dependency set is compatible.
|
|
29
|
+
|
|
30
|
+
> This is a **design-time** Studio crash from a version mismatch. For the **runtime** `Cannot create unknown type WordApplicationScope` fault (the robot lacks the package version at execution), see [word-scope-cannot-create-unknown-type.md](./word-scope-cannot-create-unknown-type.md).
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
---
|
|
2
|
+
confidence: medium
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Word COM / Office Interop Failures & Word Process Crashes
|
|
6
|
+
|
|
7
|
+
## Context
|
|
8
|
+
|
|
9
|
+
This playbook covers **environmental / host-level** failures of the Word COM (Office Interop) layer that the `UiPath.Word.Activities` package depends on. It is **not specific to one activity** — any operation that drives a real `WINWORD.EXE` through Office Interop can surface these, including the `Use Word File` (`WordProcessScope`) / `Word Application Scope` container itself and the activities inside it (`Add Picture`, `Replace Text`, `Get Text`, `Set Bookmark Content`, `Export to PDF`, etc.). When the failure is genuinely activity-specific (a misplaced activity, a missing bookmark, a bad image path), use that activity's own playbook instead — this one is for the COM/host layer that is common to all of them.
|
|
10
|
+
|
|
11
|
+
What this looks like:
|
|
12
|
+
- `System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' / 'Microsoft.Office.Interop.Word.ApplicationClass' to interface type 'Microsoft.Office.Interop.Word._Application'` (or `_Document`), carrying an `(Exception from HRESULT: 0x…)`.
|
|
13
|
+
- `The application is busy` / a call-rejected or retry HRESULT.
|
|
14
|
+
- **Microsoft Word (`WINWORD.EXE`) itself faults and closes** mid-operation, and the activity then throws a COM cast / RPC error on its async-completion path (e.g. `UiPath.Word.Activities.WordInteropActivity.EndExecute`).
|
|
15
|
+
- The job runs fine in Studio on the developer's machine but faults only on a specific robot host — a strong tell of an **environmental** difference, not a source bug.
|
|
16
|
+
|
|
17
|
+
## Causes
|
|
18
|
+
|
|
19
|
+
Name the confirmed sub-cause exactly. Do NOT assert a cause unless the investigation decision tree arrived at it.
|
|
20
|
+
|
|
21
|
+
- **E1. COM type library / class not registered.** `0x8002801D` (`TYPE_E_LIBNOTREGISTERED`, "Library not registered") or the sibling `0x80040154` (`REGDB_E_CLASSNOTREG`, "Class not registered"). The cast to the Word `_Application` interface fails **during Word COM startup** (`WordApplicationScopeRuntime.EnsureWordApplication`), before any document work. Typically follows a partial or failed Office update/repair that left the interop type library unregistered.
|
|
22
|
+
- **E2. Bitness mismatch.** A 32-bit/64-bit mismatch between the Studio/Robot process and the installed Office. Produces the same class of COM startup cast/registration failure as E1.
|
|
23
|
+
- **E3. Word busy or blocked.** `0x8001010A` (`RPC_E_SERVERCALL_RETRYLATER`, "The application is busy"), `0x80010001` (`RPC_E_CALL_REJECTED`), or `0x80010100` (`RPC_E_SYS_CALL_FAILED`). An orphaned/hung `WINWORD.EXE` from a prior run holds the COM server, or Word is blocked on a modal dialog (Protected View / Mark-of-the-Web "file from the internet", activation, recover/repair prompt). Often intermittent.
|
|
24
|
+
- **E4. Word process crash mid-operation (COM error is a downstream symptom).** `WINWORD.EXE` faults and closes *during* an operation. The activity's async-completion path then runs `QueryInterface` against the COM server / apartment that the dying process already tore down, and surfaces `0x8001010E` (`RPC_E_WRONG_THREAD`, "interface marshalled for a different thread") and/or an `InvalidCastException` on the Word `_Document` interface. **The HRESULT is the aftermath, not the originating fault — diagnose the crash, not the marshalling error.** Triggers: a host Office instability (any of E1–E3), or an operation that pushes Word past a resource/render limit on this install. One known Add-Picture-specific trigger is **inserting a very large but otherwise valid image at full resolution** — `Add Picture` exposes no resize property, so a multi-megapixel image is handed to Word un-downscaled. *(The large-image trigger is a suspected/contributing pattern observed in the field, not a documented defect — confirm it with the faulting module per Investigation.)*
|
|
25
|
+
|
|
26
|
+
## Investigation
|
|
27
|
+
|
|
28
|
+
1. **Decode the HRESULT and locate the faulting frame** from the job error and stack.
|
|
29
|
+
2. **Decision tree** (stop at the first match):
|
|
30
|
+
- Cast to the Word **`_Application`** interface failing in `EnsureWordApplication` / `WordApplicationScopeRuntime` during **startup**, with `0x8002801D` or `0x80040154` → **E1** (or **E2** if Studio/Robot and Office bitness differ — check both before concluding).
|
|
31
|
+
- "Application is busy" / call-rejected / retry-later (`0x8001010A`, `0x80010001`, `0x80010100`) → **E3**. Check the robot host for an orphaned `WINWORD.EXE`, and for a modal/Protected-View state (especially if inputs came from `Downloads` / the internet — see Mark-of-the-Web).
|
|
32
|
+
- Cast to the Word **`_Document`** interface with **`0x8001010E` (`RPC_E_WRONG_THREAD`)** on an async-completion frame (`WordInteropActivity.EndExecute`), **and/or the user reports that Word faulted and closed** → **E4**. The marshalling error is downstream of a process crash.
|
|
33
|
+
3. **For E4 — recover the crash forensics (decisive).** Pull the Windows **Application event log** record for the `WINWORD.EXE` crash — Event ID **1000** (`Application Error`), **1001** (Windows Error Reporting / APPCRASH bucket), or a `.NET Runtime` record — and read the **faulting module name + version** and **exception code** (e.g. `0xc0000005` access violation). The faulting module discriminates the trigger: a graphics / GDI+ / image-codec module points at an image-insert/render crash; an Office install / interop / loader module points at E1–E3; an RTF-import / document-conversion module points at a document-state interaction. If no crash record exists because the host's WER `ReportArchive` is saturated (e.g. another process is in a crash loop), restore WER retention or attach **ProcDump** to `WINWORD.EXE` (`procdump -e -ma WINWORD.EXE`) before reproducing. *(ProcDump and the WER archive are standard Microsoft/Sysinternals host tooling, not UiPath-documented steps.)*
|
|
34
|
+
4. **Capture the host Office state** for E1–E4: Office edition/channel and **bitness** (`File > Account > About Word`) versus the Studio/Robot process bitness; whether multiple Office installs coexist; and any orphaned `WINWORD.EXE` (Task Manager / `Get-Process WINWORD`).
|
|
35
|
+
5. **Confirm the workflow is not the cause.** If the activity is correctly scoped and its inputs are valid, and the same workflow succeeds in Studio on the developer's machine, the fault is environmental/host — do not edit the XAML.
|
|
36
|
+
|
|
37
|
+
## Resolution
|
|
38
|
+
|
|
39
|
+
Apply the fix for the identified sub-cause. The workflow itself usually needs no change.
|
|
40
|
+
|
|
41
|
+
- **E1 — type library / class not registered:** run an **online repair** of Microsoft Office on the robot host (`Settings > Apps > Microsoft Office > Modify > Online Repair`) to re-register the Office/Word COM type libraries. No workflow change required.
|
|
42
|
+
- **E2 — bitness mismatch:** reinstall Office at the same architecture as the Studio/Robot process (both 32-bit or both 64-bit).
|
|
43
|
+
- **E3 — busy / blocked:** kill any orphaned `WINWORD.EXE` (Task Manager / `Stop-Process -Name WINWORD -Force`) so the scope opens a clean instance, and ensure no `Try/Catch` swallows the scope's `Dispose`; dismiss/avoid modal and Protected-View states — if inputs are downloaded files, **unblock** them (`Right-click > Properties > Unblock` or `Unblock-File`) to clear the Mark-of-the-Web banner.
|
|
44
|
+
- **E4 — Word process crash:** this is a crash, not a marshalling bug.
|
|
45
|
+
1. Apply the E1–E3 host remediation (repair Office, match bitness, clear orphaned `WINWORD.EXE`) — a destabilized Office install is the most common crash cause.
|
|
46
|
+
2. If a specific operation reproducibly crashes Word with **valid** inputs, reduce what you hand Word. For `Add Picture` crashing on a large image, **pre-resize the image to a sane size before inserting it** (the activity has no resize property), use a smaller image, or insert via **`Paste Chart/Picture Into Document`** (clipboard) instead of the file-path insert.
|
|
47
|
+
3. Capture the faulting module (Investigation step 3) to confirm the trigger before committing to a fix.
|
|
48
|
+
- **Fallback (any cause) — avoid Office Interop entirely:** migrate to the file-based `Word Document` activities (Studio panel under **System > File > Word Document**), which manipulate the `.docx` through the document object model without launching Word.
|
|
49
|
+
|
|
50
|
+
**Prevention.** Treat a Word COM HRESULT (`0x8002801D` / `0x80040154` / `0x8001010A` / `0x8001010E`) — or a job that succeeds in Studio but faults only on a robot host — as an **environment problem on the host**, not a workflow defect. Investigate Office repair, bitness, orphaned processes, and (for crashes) the faulting module; do not edit the XAML.
|
|
51
|
+
|
|
52
|
+
If a COM failure persists after all environmental causes are ruled out, capture a `Verbose` robot log plus a Process Monitor trace and/or a **ProcDump** crash dump of `WINWORD.EXE` during the failure (and the offending input file, e.g. the image), and open a UiPath support case.
|