@uipath/skills 1.199.0 → 1.200.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/CODEOWNERS +14 -8
- package/README.md +18 -3
- package/assets/skill-status.json +9 -1
- package/assets/uip-catalog-snapshot.json +227 -21
- package/package.json +11 -2
- package/scripts/npm-package-lifecycle.mjs +46 -0
- package/skills/uipath-admin/SKILL.md +5 -1
- package/skills/uipath-admin/references/audit-commands.md +1 -1
- package/skills/uipath-admin/references/audit-workflow-guide.md +9 -0
- package/skills/uipath-agents/SKILL.md +2 -2
- package/skills/uipath-agents/references/lowcode/capabilities/context/index.md +7 -0
- package/skills/uipath-agents/references/lowcode/capabilities/integration-service/integration-service.md +5 -6
- package/skills/uipath-agents/references/lowcode/critical-rules/critical-rules.md +1 -1
- package/skills/uipath-agents/references/lowcode/evaluations/evaluation-sets.md +5 -0
- package/skills/uipath-agents/references/lowcode/project-lifecycle.md +3 -3
- package/skills/uipath-agents/references/lowcode/prompting/autonomous-agent-prompting-guide.md +3 -2
- package/skills/uipath-api-workflow/SKILL.md +2 -1
- package/skills/uipath-api-workflow/references/cli-reference.md +3 -3
- package/skills/uipath-coded-apps/SKILL.md +3 -2
- package/skills/uipath-coded-apps/assets/fixtures/governance-dashboard-starter-kit.tar.gz +0 -0
- package/skills/uipath-coded-apps/assets/templates/web-app-template.md +1 -1
- package/skills/uipath-coded-apps/references/create-web-app.md +60 -48
- package/skills/uipath-coded-apps/references/dashboards/CAPABILITY.md +2 -2
- package/skills/uipath-coded-apps/references/dashboards/plugins/build/impl.md +2 -2
- package/skills/uipath-coded-apps/references/dashboards/primitives/tier-resolution.md +16 -16
- package/skills/uipath-coded-apps/references/oauth-scopes.md +28 -272
- package/skills/uipath-coded-apps/references/sdk/action-center.md +26 -243
- package/skills/uipath-coded-apps/references/sdk/agents.md +20 -130
- package/skills/uipath-coded-apps/references/sdk/conversational-agent.md +52 -706
- package/skills/uipath-coded-apps/references/sdk/data-fabric.md +20 -237
- package/skills/uipath-coded-apps/references/sdk/feedback.md +4 -139
- package/skills/uipath-coded-apps/references/sdk/governance-traces.md +7 -55
- package/skills/uipath-coded-apps/references/sdk/governance.md +4 -44
- package/skills/uipath-coded-apps/references/sdk/imports.md +77 -35
- package/skills/uipath-coded-apps/references/sdk/maestro.md +29 -406
- package/skills/uipath-coded-apps/references/sdk/orchestrator.md +30 -324
- package/skills/uipath-coded-apps/references/sdk/pagination.md +9 -67
- package/skills/uipath-coded-apps/references/sdk/traces.md +8 -43
- package/skills/uipath-functions/SKILL.md +23 -23
- package/skills/uipath-governance/SKILL.md +5 -4
- package/skills/uipath-governance/references/cli-cheatsheet.md +2 -1
- package/skills/uipath-governance/references/compliance-pack/coverage/impl.md +143 -58
- package/skills/uipath-governance/references/compliance-pack/restore/impl.md +61 -0
- package/skills/uipath-human-in-the-loop/SKILL.md +4 -2
- package/skills/uipath-insights/SKILL.md +17 -18
- package/skills/uipath-ixp/SKILL.md +12 -7
- package/skills/uipath-ixp/references/cli-reference.md +71 -9
- package/skills/uipath-ixp/references/improve-prompts-guide.md +23 -9
- package/skills/uipath-ixp/references/label-documents-guide.md +33 -5
- package/skills/uipath-maestro-bpmn/SKILL.md +15 -14
- package/skills/uipath-maestro-bpmn/references/cli-conventions.md +15 -6
- package/skills/uipath-maestro-bpmn/references/structural-bpmn.md +18 -17
- package/skills/uipath-maestro-case/SKILL.md +46 -33
- package/skills/uipath-maestro-case/assets/templates/sdd-template.md +77 -37
- package/skills/uipath-maestro-case/assets/templates/sdd-viewer.html +0 -2
- package/skills/uipath-maestro-case/references/bindings-and-expressions.md +3 -1
- package/skills/uipath-maestro-case/references/bindings-v2-sync.md +2 -2
- package/skills/uipath-maestro-case/references/brownfield.md +15 -5
- package/skills/uipath-maestro-case/references/case-commands.md +19 -3
- package/skills/uipath-maestro-case/references/case-editing-operations.md +24 -21
- package/skills/uipath-maestro-case/references/case-schema.md +38 -16
- package/skills/uipath-maestro-case/references/connector-trigger-common.md +15 -8
- package/skills/uipath-maestro-case/references/evals/evals.json +35 -18
- package/skills/uipath-maestro-case/references/implementation.md +86 -71
- package/skills/uipath-maestro-case/references/phase-0-interview.md +92 -23
- package/skills/uipath-maestro-case/references/phased-execution.md +70 -55
- package/skills/uipath-maestro-case/references/placeholder-tasks.md +5 -5
- package/skills/uipath-maestro-case/references/planning.md +57 -9
- package/skills/uipath-maestro-case/references/plugins/case/impl-json.md +7 -5
- package/skills/uipath-maestro-case/references/plugins/case/planning.md +1 -1
- package/skills/uipath-maestro-case/references/plugins/conditions/case-exit-conditions/impl-json.md +5 -5
- package/skills/uipath-maestro-case/references/plugins/conditions/stage-entry-conditions/impl-json.md +41 -5
- package/skills/uipath-maestro-case/references/plugins/conditions/stage-entry-conditions/planning.md +27 -3
- package/skills/uipath-maestro-case/references/plugins/conditions/stage-exit-conditions/impl-json.md +6 -6
- package/skills/uipath-maestro-case/references/plugins/conditions/stage-exit-conditions/planning.md +3 -1
- package/skills/uipath-maestro-case/references/plugins/conditions/task-entry-conditions/impl-json.md +20 -7
- package/skills/uipath-maestro-case/references/plugins/conditions/task-entry-conditions/planning.md +37 -4
- package/skills/uipath-maestro-case/references/plugins/sla/impl-json.md +24 -13
- package/skills/uipath-maestro-case/references/plugins/sla/planning.md +9 -3
- package/skills/uipath-maestro-case/references/plugins/stages/impl-json.md +4 -0
- package/skills/uipath-maestro-case/references/plugins/stages/planning.md +4 -1
- package/skills/uipath-maestro-case/references/plugins/tasks/action/impl-json.md +3 -1
- package/skills/uipath-maestro-case/references/plugins/tasks/action/planning.md +2 -0
- package/skills/uipath-maestro-case/references/plugins/tasks/agent/impl-json.md +3 -2
- package/skills/uipath-maestro-case/references/plugins/tasks/agent/planning.md +4 -2
- package/skills/uipath-maestro-case/references/plugins/tasks/api-workflow/impl-json.md +3 -2
- package/skills/uipath-maestro-case/references/plugins/tasks/api-workflow/planning.md +4 -2
- package/skills/uipath-maestro-case/references/plugins/tasks/case-management/impl-json.md +3 -2
- package/skills/uipath-maestro-case/references/plugins/tasks/case-management/planning.md +4 -2
- package/skills/uipath-maestro-case/references/plugins/tasks/connector-activity/impl-json.md +1 -1
- package/skills/uipath-maestro-case/references/plugins/tasks/connector-activity/planning.md +2 -0
- package/skills/uipath-maestro-case/references/plugins/tasks/connector-trigger/impl-json.md +1 -1
- package/skills/uipath-maestro-case/references/plugins/tasks/connector-trigger/planning.md +2 -0
- package/skills/uipath-maestro-case/references/plugins/tasks/create-inline-common.md +1 -1
- package/skills/uipath-maestro-case/references/plugins/tasks/process/impl-json.md +3 -2
- package/skills/uipath-maestro-case/references/plugins/tasks/process/planning.md +6 -4
- package/skills/uipath-maestro-case/references/plugins/tasks/rpa/impl-json.md +3 -2
- package/skills/uipath-maestro-case/references/plugins/tasks/rpa/planning.md +4 -2
- package/skills/uipath-maestro-case/references/plugins/tasks/wait-for-timer/impl-json.md +4 -3
- package/skills/uipath-maestro-case/references/plugins/tasks/wait-for-timer/planning.md +4 -0
- package/skills/uipath-maestro-case/references/plugins/triggers/event/impl-json.md +17 -14
- package/skills/uipath-maestro-case/references/plugins/triggers/event/planning.md +1 -1
- package/skills/uipath-maestro-case/references/plugins/triggers/manual/impl-json.md +13 -10
- package/skills/uipath-maestro-case/references/plugins/triggers/timer/impl-json.md +18 -16
- package/skills/uipath-maestro-case/references/plugins/triggers/timer/planning.md +2 -2
- package/skills/uipath-maestro-case/references/plugins/variables/bindings/impl-json.md +1 -1
- package/skills/uipath-maestro-case/references/plugins/variables/global-vars/impl-json.md +11 -9
- package/skills/uipath-maestro-case/references/plugins/variables/io-binding/impl-json.md +6 -2
- package/skills/uipath-maestro-case/references/plugins/variables/io-binding/planning.md +19 -1
- package/skills/uipath-maestro-case/references/registry-discovery.md +3 -3
- package/skills/uipath-maestro-case/references/sdd-generation-rules.md +155 -51
- package/skills/uipath-maestro-case/references/sla-response-shapes.md +74 -0
- package/skills/uipath-maestro-flow/SKILL.md +4 -3
- package/skills/uipath-maestro-flow/references/author/CAPABILITY.md +3 -0
- package/skills/uipath-maestro-flow/references/author/references/editing-operations-json.md +10 -17
- package/skills/uipath-maestro-flow/references/author/references/editing-operations.md +1 -1
- package/skills/uipath-maestro-flow/references/author/references/greenfield.md +8 -6
- package/skills/uipath-maestro-flow/references/author/references/planning-impl.md +1 -1
- package/skills/uipath-maestro-flow/references/author/references/plugins/agent/impl.md +4 -9
- package/skills/uipath-maestro-flow/references/author/references/plugins/agentic-process/impl.md +3 -7
- package/skills/uipath-maestro-flow/references/author/references/plugins/api-workflow/impl.md +5 -8
- package/skills/uipath-maestro-flow/references/author/references/plugins/connector/impl.md +11 -4
- package/skills/uipath-maestro-flow/references/author/references/plugins/flow/impl.md +3 -7
- package/skills/uipath-maestro-flow/references/author/references/plugins/inline-agent/impl.md +14 -17
- package/skills/uipath-maestro-flow/references/author/references/plugins/ixp/impl.md +60 -13
- package/skills/uipath-maestro-flow/references/author/references/plugins/queue/impl.md +2 -14
- package/skills/uipath-maestro-flow/references/author/references/plugins/rpa/impl.md +4 -9
- package/skills/uipath-maestro-flow/references/author/references/plugins/script/impl.md +3 -0
- package/skills/uipath-maestro-flow/references/author/references/plugins/subflow/impl.md +5 -9
- package/skills/uipath-maestro-flow/references/author/references/plugins/transform/impl.md +13 -0
- package/skills/uipath-maestro-flow/references/shared/action-nodes.md +2 -2
- package/skills/uipath-maestro-flow/references/shared/file-format.md +16 -12
- package/skills/uipath-maestro-flow/references/shared/variables-and-expressions.md +3 -3
- package/skills/uipath-planner/SKILL.md +1 -1
- package/skills/uipath-planner/references/non-pdd-lane-guide.md +1 -1
- package/skills/uipath-platform/SKILL.md +1 -1
- package/skills/uipath-platform/references/data-fabric/bulk-import.md +10 -27
- package/skills/uipath-platform/references/data-fabric/choice-sets.md +7 -64
- package/skills/uipath-platform/references/data-fabric/data-fabric.md +76 -267
- package/skills/uipath-platform/references/data-fabric/entity-schema.md +23 -99
- package/skills/uipath-platform/references/data-fabric/file-attachments.md +5 -28
- package/skills/uipath-platform/references/data-fabric/filter-platform-contract.md +2 -2
- package/skills/uipath-platform/references/data-fabric/records-query.md +11 -32
- package/skills/uipath-platform/references/integration-service/reference-resolution.md +6 -2
- package/skills/uipath-platform/references/licensing/consumables-report.md +18 -0
- package/skills/uipath-platform/references/licensing/licensing.md +1 -1
- package/skills/uipath-platform/references/orchestrator/run-jobs.md +9 -2
- package/skills/uipath-platform/references/orchestrator/setup-environment.md +9 -0
- package/skills/uipath-platform/references/traces/feedback.md +4 -1
- package/skills/uipath-process-mining/SKILL.md +97 -0
- package/skills/uipath-process-mining/references/app-types.md +66 -0
- package/skills/uipath-process-mining/references/data-model.md +130 -0
- package/skills/uipath-process-mining/references/lifecycle-and-rbac.md +67 -0
- package/skills/uipath-process-mining/references/model-editing.md +112 -0
- package/skills/uipath-process-mining/references/pre-flight.md +119 -0
- package/skills/uipath-process-mining/references/querying.md +66 -0
- package/skills/uipath-process-mining/references/transformations.md +80 -0
- package/skills/uipath-process-mining/references/uip-pm-cli.md +145 -0
- package/skills/uipath-review/SKILL.md +23 -18
- package/skills/uipath-review/references/agents/agent-grading-rubric.md +1 -1
- package/skills/uipath-review/references/agents/agent-review-checklist.md +0 -4
- package/skills/uipath-review/references/agents/agents-coded-rules.md +1 -10
- package/skills/uipath-review/references/agents/agents-lowcode-rules.md +3 -6
- package/skills/uipath-review/references/agents/guardrails/coded-guardrails-review.md +62 -14
- package/skills/uipath-review/references/agents/guardrails/guardrails-review.md +60 -4
- package/skills/uipath-review/references/review-workflow-guide.md +3 -2
- package/skills/uipath-review/references/rule-catalog-workflow.md +4 -5
- package/skills/uipath-rpa/.maintenance/pattern-card-maintenance.md +20 -0
- package/skills/uipath-rpa/SKILL.md +57 -55
- package/skills/uipath-rpa/agents/uipath-project-discovery-agent.md +75 -19
- package/skills/uipath-rpa/assets/codedworkflow-template.md +245 -11
- package/skills/uipath-rpa/references/cli-reference.md +229 -6
- package/skills/uipath-rpa/references/coded/codedworkflow-reference.md +158 -2
- package/skills/uipath-rpa/references/coded/integration-service-guide.md +6 -5
- package/skills/uipath-rpa/references/coded/operations-guide.md +273 -5
- package/skills/uipath-rpa/references/coded-vs-xaml-guide.md +3 -3
- package/skills/uipath-rpa/references/common-pattern-card.md +303 -0
- package/skills/uipath-rpa/references/data-manipulation-guide.md +18 -3
- package/skills/uipath-rpa/references/debugging.md +0 -2
- package/skills/uipath-rpa/references/environment-setup.md +309 -1
- package/skills/uipath-rpa/references/error-handling-guide.md +1 -1
- package/skills/uipath-rpa/references/execution-maps-guide.md +110 -0
- package/skills/uipath-rpa/references/is-connector-xaml-guide.md +58 -4
- package/skills/uipath-rpa/references/legacy/activity-docs/Excel.md +1 -1
- package/skills/uipath-rpa/references/legacy/activity-docs/_DU-PROCESS.md +0 -2
- package/skills/uipath-rpa/references/legacy/activity-docs/_INDEX.md +2 -2
- package/skills/uipath-rpa/references/legacy/activity-docs/_PATTERNS.md +1 -1
- package/skills/uipath-rpa/references/legacy/activity-docs/_REFRAMEWORK.md +2 -7
- package/skills/uipath-rpa/references/legacy/cli-reference.md +599 -0
- package/skills/uipath-rpa/references/legacy/error-handling-guide.md +2 -2
- package/skills/uipath-rpa/references/legacy/legacy-mode-guide.md +16 -16
- package/skills/uipath-rpa/references/legacy/project-organization-guide.md +2 -2
- package/skills/uipath-rpa/references/legacy/selector-guide.md +163 -1
- package/skills/uipath-rpa/references/legacy/testing-guide.md +246 -3
- package/skills/uipath-rpa/references/legacy/xaml-basics-and-rules.md +267 -2
- package/skills/uipath-rpa/references/library-authoring-guide.md +4 -3
- package/skills/uipath-rpa/references/testing-guide.md +2 -28
- package/skills/uipath-rpa/references/trigger-pattern-guide.md +1 -1
- package/skills/uipath-rpa/references/xaml/canvas-layout-guide.md +140 -33
- package/skills/uipath-rpa/references/xaml/common-pitfalls.md +57 -240
- package/skills/uipath-rpa/references/xaml/csharp-activity-binding-guide.md +42 -2
- package/skills/uipath-rpa/references/xaml/long-running-workflow-guide.md +1 -1
- package/skills/uipath-rpa/references/xaml/xaml-basics-and-rules.md +194 -228
- package/skills/uipath-solution/references/activate-and-manage.md +22 -0
- package/skills/uipath-solution/references/develop-solution.md +26 -2
- package/skills/uipath-solution/references/pack-and-deploy.md +43 -9
- package/skills/uipath-test/SKILL.md +4 -4
- package/skills/uipath-test/references/playwright-first-mile-guide.md +5 -4
- package/skills/uipath-test/references/publish-and-link-guide.md +2 -2
- package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/click-silent-no-op.md +5 -5
- package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/playbooks/queue-operation-failed.md +20 -4
- package/skills/uipath-troubleshoot/references/activity-packages/classic-activities/summary.md +1 -1
- package/skills/uipath-troubleshoot/references/activity-packages/csv-activities/playbooks/read-csv-file-not-found.md +12 -0
- package/skills/uipath-troubleshoot/references/activity-packages/mail-activities/playbooks/send-outlook-mail-failures.md +12 -1
- package/skills/uipath-troubleshoot/references/activity-packages/system-activities/playbooks/get-asset-activity-bug-silent-failure.md +2 -1
- package/skills/uipath-troubleshoot/references/activity-packages/terminal-activities/playbooks/terminal-session-connection-failed.md +5 -1
- package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/click-silent-no-op.md +5 -5
- package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/dependency-version-conflict.md +27 -6
- package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/napplicationcard-view-generation-failed.md +10 -0
- package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/scope-container-wrong-page.md +1 -1
- package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/summary.md +1 -1
- package/skills/uipath-troubleshoot/references/activity-packages/web-activities/overview.md +4 -0
- package/skills/uipath-troubleshoot/references/activity-packages/web-activities/playbooks/http-request-auth-401-403.md +44 -0
- package/skills/uipath-troubleshoot/references/activity-packages/web-activities/playbooks/http-request-connection-failure.md +2 -1
- package/skills/uipath-troubleshoot/references/activity-packages/web-activities/playbooks/http-request-content-type-rejected.md +37 -0
- package/skills/uipath-troubleshoot/references/activity-packages/web-activities/playbooks/http-request-proxy-blocked.md +39 -0
- package/skills/uipath-troubleshoot/references/activity-packages/web-activities/playbooks/package-version-mismatch.md +42 -0
- package/skills/uipath-troubleshoot/references/activity-packages/web-activities/playbooks/securestring-misuse-analyzer.md +41 -0
- package/skills/uipath-troubleshoot/references/activity-packages/web-activities/summary.md +5 -0
- package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/connector-null-reference.md +14 -1
- package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/connector-runtime-exception.md +2 -0
- package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/is-activities-prerelease-not-found.md +39 -0
- package/skills/uipath-troubleshoot/references/products/integration-service/playbooks/response-content-too-large.md +41 -0
- package/skills/uipath-troubleshoot/references/products/integration-service/summary.md +9 -0
- package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/console-conflict-login-to-console.md +40 -0
- package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/credential-store-unavailable.md +42 -0
- package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/executor-start-transient-rerun.md +49 -0
- package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/job-consecutive-system-exceptions.md +47 -0
- package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/job-faulted-session-timeout.md +19 -19
- package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/job-output-too-large.md +47 -0
- package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/job-stopped-generic-exit-code.md +55 -0
- package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/known-issue-robot-defect.md +40 -0
- package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/platform-incident-correlation.md +45 -0
- package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/screen-capture-handle-invalid.md +43 -0
- package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/serverless-license-quota.md +43 -0
- package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/serverless-time-limit-exceeded.md +34 -0
- package/skills/uipath-troubleshoot/references/products/orchestrator/playbooks/workstation-in-use-machine-slots.md +40 -0
- package/skills/uipath-troubleshoot/references/products/orchestrator/summary.md +13 -1
- package/version-manifest.json +2 -2
- package/skills/uipath-maestro-bpmn/validator/README.md +0 -224
- package/skills/uipath-maestro-bpmn/validator/model.mjs +0 -419
- package/skills/uipath-maestro-bpmn/validator/package.json +0 -17
- package/skills/uipath-maestro-bpmn/validator/rules.mjs +0 -1403
- package/skills/uipath-maestro-bpmn/validator/samples/invalid-conditional-and-variable.bpmn +0 -25
- package/skills/uipath-maestro-bpmn/validator/samples/valid-baseline.bpmn +0 -52
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/A.2.0.bpmn +0 -157
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/A.2.1.bpmn +0 -333
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/B.1.0.bpmn +0 -598
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/B.2.0.bpmn +0 -1709
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/C.2.0.bpmn +0 -564
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/C.3.0.bpmn +0 -671
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/C.4.0.bpmn +0 -1045
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/C.5.0.bpmn +0 -1176
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/C.6.0.bpmn +0 -670
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/C.7.0.bpmn +0 -466
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Can_Parse_Complex_Process_With_Task_Gateway_BoundaryEvent_etc.bpmn +0 -74
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/ExclusiveGatewayDefaultFlow.bpmn +0 -32
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/ExternalAgentWorkflow.bpmn +0 -62
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Golden_Scenario.initial.bpmn +0 -361
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/InclusiveJoinRouteAwayBranch.bpmn +0 -62
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Parse_AsyncExecution_And_Create_CorrectModel.bpmn +0 -74
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Parse_IXP_ExtractionValidation_And_Create_CorrectModel.bpmn +0 -35
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Parse_IXP_Extraction_FileUpload_And_Create_CorrectModel.bpmn +0 -33
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Parse_IXP_Extraction_JobAttachment_And_Create_CorrectModel.bpmn +0 -35
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/Parse_SubProcess_With_Multiple_Element_Types.bpmn +0 -76
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/StartEventWithOutputs.bpmn +0 -36
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/StartGatewayEnd.bpmn +0 -44
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/all elements.bpmn +0 -516
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/all_sequence_flow_types.bpmn +0 -173
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/demo.bpmn +0 -181
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/subprocess-example-001-collapsed.bpmn +0 -126
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/subprocess-example-001-expanded.bpmn +0 -122
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/expected-findings/subprocess-example-003-collapsed_deeply-nested.bpmn +0 -438
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/A.1.0.bpmn +0 -87
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/A.3.0.bpmn +0 -165
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ApiWorkflow.bpmn +0 -39
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/BpmnNestedSubProcessTests.bpmn +0 -102
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/BpmnTimerBoundaryEvents.bpmn +0 -160
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/BpmnXmlWithCatchAllErrorEventSubProcess.bpmn +0 -45
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/BpmnXmlWithSpecificErrorEventSubProcess.bpmn +0 -46
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/CaseManagementWithConstantIdentifier.bpmn +0 -218
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ErrorBoundary.bpmn +0 -78
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ErrorPropagationInEventSubprocess.bpmn +0 -340
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/EventBasedGatewayFirstCatcherWins.bpmn +0 -56
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/Example-EventBasedGateway.bpmn +0 -117
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ExclusiveGatewayConditional.bpmn +0 -45
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ExclusiveGatewaySharedEndEvent.bpmn +0 -45
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ExclusiveWithParallelGateway.bpmn +0 -68
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/FourScriptTasks.bpmn +0 -84
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/HitlTaskOnly.bpmn +0 -55
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/InclusiveGatewayForkJoin.bpmn +0 -69
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/Parse_BPMN_Elements_And_Create_CorrectModel.bpmn +0 -20
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/Parse_HttpRequest_ServiceTask_And_Create_Correct_Model.bpmn +0 -34
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/Parse_MessageBoundaryEvent_And_Create_CorrectModel.bpmn +0 -87
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/Parse_Script_Task_V2_And_Create_Correct_Model.bpmn +0 -31
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/Parse_Sets_Containers_Properly.bpmn +0 -129
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/ScriptWritesVariableThenGatewayBranches.bpmn +0 -59
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/boundaryevent.bpmn +0 -30
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/collapsed-subprocess.bpmn +0 -83
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/connectable-types.bpmn +0 -85
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/extensions-orchestrator-start-job.bpmn +0 -80
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/multiparticipantpool.bpmn +0 -77
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/nestedsubprocess.bpmn +0 -36
- package/skills/uipath-maestro-bpmn/validator/test/fixtures/known-good/simple.bpmn +0 -59
- package/skills/uipath-maestro-bpmn/validator/test/integration.test.mjs +0 -146
- package/skills/uipath-maestro-bpmn/validator/test/model-helpers.mjs +0 -42
- package/skills/uipath-maestro-bpmn/validator/test/ported-rule-tests.mjs +0 -983
- package/skills/uipath-maestro-bpmn/validator/test/run-tests.mjs +0 -530
- package/skills/uipath-maestro-bpmn/validator/uipath-moddle.v1.json +0 -715
- package/skills/uipath-maestro-bpmn/validator/validate-bpmn.mjs +0 -164
- package/skills/uipath-review/references/agents/agents-common-rules.md +0 -32
- package/skills/uipath-rpa/assets/before-after-hooks-template.md +0 -115
- package/skills/uipath-rpa/assets/helper-utility-template.md +0 -22
- package/skills/uipath-rpa/assets/testcase-template.md +0 -92
- package/skills/uipath-rpa/references/coded/coding-guidelines.md +0 -255
- package/skills/uipath-rpa/references/coded/inspect-package-guide.md +0 -80
- package/skills/uipath-rpa/references/coded/third-party-packages-guide.md +0 -67
- package/skills/uipath-rpa/references/connector-capabilities.md +0 -79
- package/skills/uipath-rpa/references/legacy/activity-docs/Testing.md +0 -95
- package/skills/uipath-rpa/references/legacy/activity-docs/UIAutomation.md +0 -159
- package/skills/uipath-rpa/references/legacy/common-pitfalls.md +0 -318
- package/skills/uipath-rpa/references/legacy/discovery-workflow.md +0 -147
- package/skills/uipath-rpa/references/legacy/environment-setup.md +0 -78
- package/skills/uipath-rpa/references/legacy/project-structure.md +0 -206
- package/skills/uipath-rpa/references/legacy/test-data-guide.md +0 -142
- package/skills/uipath-rpa/references/legacy/validation-and-fixing.md +0 -154
- package/skills/uipath-rpa/references/project-structure-guide.md +0 -168
- package/skills/uipath-rpa/references/project-structure.md +0 -135
- package/skills/uipath-rpa/references/publishing-guide.md +0 -80
- package/skills/uipath-rpa/references/validation-guide.md +0 -170
- package/skills/uipath-rpa/references/xaml/csharp-expression-pitfalls.md +0 -43
- package/skills/uipath-rpa/references/xaml/flowchart-guide.md +0 -113
- package/skills/uipath-rpa/references/xaml/workflow-guide.md +0 -258
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
# UiPath UIAutomation Activities - Legacy Reference
|
|
2
|
-
|
|
3
|
-
## Overview
|
|
4
|
-
Legacy desktop UI automation for Windows. Click, type, find elements, manage windows/browsers. Package: `UiPath.UIAutomation.Activities`.
|
|
5
|
-
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
## Input Methods
|
|
9
|
-
|
|
10
|
-
| Method | Constant | Speed | Reliability | Special Keys | Notes |
|
|
11
|
-
|--------|----------|-------|-------------|--------------|-------|
|
|
12
|
-
| Hardware Events (default) | SYNTHESIZE_INPUT | Slow | Most reliable | YES | Acquires input lock, blocks user input |
|
|
13
|
-
| Window Messages | WINDOW_MESSAGES | Fast | Least reliable | YES | Best for classic Win32 apps |
|
|
14
|
-
| UI Automation API | API | Medium | Very reliable | **NO** | SimulateClick/SimulateType; bypasses input |
|
|
15
|
-
|
|
16
|
-
**CRITICAL: Cannot use SimulateClick AND SendWindowMessages simultaneously**
|
|
17
|
-
**SimulateType + special keys produces design-time WARNING** (not hard error)
|
|
18
|
-
|
|
19
|
-
---
|
|
20
|
-
|
|
21
|
-
## Key Activities
|
|
22
|
-
|
|
23
|
-
### Mouse
|
|
24
|
-
| Activity | Key Arguments | Defaults |
|
|
25
|
-
|----------|---------------|----------|
|
|
26
|
-
| `Click` | ClickType (Single/Double/Down/Up), MouseButton (Left/Right/Middle), KeyModifiers, CursorPosition, SimulateClick, SendWindowMessages | AlterIfDisabled=true |
|
|
27
|
-
| `Hover` | CursorPosition, SimulateHover, SendWindowMessages | Hover duration ~1000ms |
|
|
28
|
-
|
|
29
|
-
### Keyboard
|
|
30
|
-
| Activity | Key Arguments | Defaults |
|
|
31
|
-
|----------|---------------|----------|
|
|
32
|
-
| `TypeInto` | Text, SimulateType, SendWindowMessages, Activate, ClickBeforeTyping, EmptyField, DelayBetweenKeys | Activate=true, AlterIfDisabled=true |
|
|
33
|
-
| `TypeSecureText` | SecureText (SecureString) | Special keys escaped in non-Simulate mode |
|
|
34
|
-
| `SendHotkey` | Key, SpecialKey, KeyModifiers | Activate=true |
|
|
35
|
-
|
|
36
|
-
### Element Search
|
|
37
|
-
| Activity | Key Arguments | Key Gotcha |
|
|
38
|
-
|----------|---------------|------------|
|
|
39
|
-
| `Element Exists` | Target | **Returns false instead of throwing on timeout** |
|
|
40
|
-
| `Find Children` | Target, Filter, Scope | Returns lazy IEnumerable |
|
|
41
|
-
| `Find Relative` | Target, CursorPosition (offset) | Returns first element at coordinates |
|
|
42
|
-
| `Get Ancestor` | Target, UpLevels | Returns null at root |
|
|
43
|
-
| `Wait Element Appear` | Target, WaitVisible, WaitActive | Adaptive polling: 50ms -> 200ms -> 1000ms |
|
|
44
|
-
| `Wait Element Vanish` | Target, WaitNotVisible | Returns silently on timeout |
|
|
45
|
-
|
|
46
|
-
### Element Attributes
|
|
47
|
-
| Activity | Key Arguments | Notes |
|
|
48
|
-
|----------|---------------|-------|
|
|
49
|
-
| `Get Text` / `Get Value` | Target | Wraps GetAttribute("text") |
|
|
50
|
-
| `Get Attribute` | Target, Attribute | Returns null if attribute doesn't exist |
|
|
51
|
-
| `Set Value` | Target, Text | Uses SetAttribute("text") |
|
|
52
|
-
| `Select Item` | Target, Item | Exact match usually required |
|
|
53
|
-
| `Select Multiple Items` | Target, MultipleItems, AddToSelection | |
|
|
54
|
-
| `Check` | Target, Action (Check/Uncheck/Toggle) | Toggle reads current state first |
|
|
55
|
-
| `Wait Attribute` | Attribute, AttributeValue | Supports wildcards (* and ?); polls every 100ms |
|
|
56
|
-
| `Get Position` | Target | Returns Rectangle (screen coordinates) |
|
|
57
|
-
|
|
58
|
-
### Actions
|
|
59
|
-
| Activity | Purpose |
|
|
60
|
-
|----------|---------|
|
|
61
|
-
| `Activate` | Bring window to foreground |
|
|
62
|
-
| `Set Focus` | Set keyboard focus (doesn't foreground) |
|
|
63
|
-
| `Highlight` | Debug visualization (blocking for duration) |
|
|
64
|
-
| `Take Screenshot` | Capture element as Image |
|
|
65
|
-
|
|
66
|
-
### Scopes
|
|
67
|
-
| Activity | Key Arguments |
|
|
68
|
-
|----------|---------------|
|
|
69
|
-
| `Open Browser` | Url, BrowserType (IE/Chrome/Firefox/Edge), Private, NewSession, Hidden, CommunicationMethod |
|
|
70
|
-
| `Open Application` | Selector, FileName, Arguments, WorkingDirectory |
|
|
71
|
-
| `Window Scope` | Selector OR Window (mutually exclusive) |
|
|
72
|
-
| `Browser Scope` | Selector OR Browser (mutually exclusive) |
|
|
73
|
-
|
|
74
|
-
---
|
|
75
|
-
|
|
76
|
-
## Special Key Syntax (TypeInto)
|
|
77
|
-
```
|
|
78
|
-
[k(end)] - End key
|
|
79
|
-
[k(home)] - Home key
|
|
80
|
-
[k(del)] - Delete key
|
|
81
|
-
[k(backspace)] - Backspace
|
|
82
|
-
[k(enter)] - Enter
|
|
83
|
-
[k(tab)] - Tab
|
|
84
|
-
[k(escape)] - Escape
|
|
85
|
-
[k(ctrl+a)] - Ctrl+A (press+release)
|
|
86
|
-
[d(ctrl)] - Ctrl down
|
|
87
|
-
[u(ctrl)] - Ctrl up
|
|
88
|
-
[k(F1)] - Function key F1-F12
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
**Authoring rule:** when any of these tokens appears in `Text`, write the value with child element syntax — not attribute form. The attribute form `Text="["13700132[k(enter)]"]"` runs correctly but the value will not render in Studio because the literal `[` / `]` inside the string collide with the outer VB expression markers. Use:
|
|
92
|
-
|
|
93
|
-
```xml
|
|
94
|
-
<uix:NTypeInto ...>
|
|
95
|
-
<uix:NTypeInto.Text>
|
|
96
|
-
<InArgument x:TypeArguments="x:String">["13700132[k(enter)]"]</InArgument>
|
|
97
|
-
</uix:NTypeInto.Text>
|
|
98
|
-
</uix:NTypeInto>
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
See `../../xaml/common-pitfalls.md` § "NTypeInto `Text` with literal `[k(...)]` special-key tokens" for alternatives (`Chr(91)`/`Chr(93)` construction, split-activity).
|
|
102
|
-
|
|
103
|
-
---
|
|
104
|
-
|
|
105
|
-
## Critical Gotchas
|
|
106
|
-
|
|
107
|
-
### AlterIfDisabled Default
|
|
108
|
-
1. **AlterIfDisabled=true by default** on Click, TypeInto, SetValue, SelectItem, Check - can interact with disabled/grayed controls unexpectedly
|
|
109
|
-
|
|
110
|
-
### TypeInto Specifics
|
|
111
|
-
2. **SimulateType CANNOT handle special keys** - fails validation if `[k(...)]` syntax detected
|
|
112
|
-
3. **EmptyField uses hardcoded sequence**: `[k(end)d(shift)k(home)u(shift)k(del)]` - may fail for multi-line. **CRITICAL: EmptyField is silently ignored when SimulateType=true** - only works with hardware events and SendWindowMessages
|
|
113
|
-
4. **DelayBetweenKeys max 1000ms** - validation error if exceeded
|
|
114
|
-
5. **Activate=true by default** - may cause unwanted window switches
|
|
115
|
-
|
|
116
|
-
### Selector Issues
|
|
117
|
-
6. **Selector matching is fragile** - UI changes invalidate selectors
|
|
118
|
-
7. **Placeholders** `{varName}` resolved at runtime - null variables cause failures
|
|
119
|
-
8. **Closest matches** can return wrong element if multiple similar elements exist
|
|
120
|
-
9. **Closest matches disabled in Exists** activity (returns false cleanly)
|
|
121
|
-
|
|
122
|
-
### Click Specifics
|
|
123
|
-
10. **SimulateClick cannot CLICK_DOUBLE with BTN_RIGHT or BTN_MIDDLE**
|
|
124
|
-
11. **SimulateClick doesn't acquire input lock** - others do
|
|
125
|
-
12. **CursorMotionType** affects how cursor moves (straight line, smooth, etc.)
|
|
126
|
-
|
|
127
|
-
### Timing
|
|
128
|
-
13. **Default timeout ~30,000ms** (30 seconds) across most activities
|
|
129
|
-
14. **DelayBefore/DelayAfter are sequential** (Thread.Sleep internally)
|
|
130
|
-
15. **WaitUiElementAppear adaptive polling**: 50ms -> 200ms -> 1000ms
|
|
131
|
-
16. **Exists returns false instead of throwing** on timeout
|
|
132
|
-
|
|
133
|
-
### Browser Scope
|
|
134
|
-
17. **NewSession=true (default)** creates new browser process (slower but isolated)
|
|
135
|
-
18. **NewSession=false** reuses existing browser (faster, shared state/cookies)
|
|
136
|
-
19. **Private mode** may disable extensions/drivers
|
|
137
|
-
20. **CommunicationMethod**: Native (UiPath driver) vs WebDriver (Selenium-based)
|
|
138
|
-
|
|
139
|
-
### Window/Browser Scope Validation
|
|
140
|
-
21. **Must set either Selector OR Window/Browser** - not both, not neither
|
|
141
|
-
22. **If Window/Browser set, SearchScope cannot be set**
|
|
142
|
-
|
|
143
|
-
### Image-Based Activities
|
|
144
|
-
23. **Template matching** (not AI) - sensitive to resolution, brightness, minor UI changes
|
|
145
|
-
24. **Slower than selector-based** - use only for unstable selectors
|
|
146
|
-
|
|
147
|
-
### Error Handling
|
|
148
|
-
25. **ContinueOnError=false by default** - exceptions thrown
|
|
149
|
-
26. **Governance exceptions never suppressed** even with ContinueOnError=true
|
|
150
|
-
|
|
151
|
-
### Additional Validated Gotchas
|
|
152
|
-
27. **OpenBrowser defaults to IE** - BrowserType default is `BrowserType.IE`
|
|
153
|
-
28. **Hover has fixed 1000ms duration** - hardcoded, not configurable
|
|
154
|
-
29. **Default timeouts**: Timeout=30,000ms, DelayAfter=300ms, DelayBefore=200ms, OpenBrowser=60s
|
|
155
|
-
30. **AlterIfDisabled NOT passed to node in hardware events mode for TypeInto** (but IS passed for Click) - inconsistent behavior
|
|
156
|
-
31. **CursorMotionType.Smooth only works with hardware events** - has no effect with SimulateClick or SendWindowMessages
|
|
157
|
-
32. **Data Scraping hardcodes ContinueOnError=true** - extraction failures produce empty DataTable, no error
|
|
158
|
-
33. **SimulateClick MV3 workaround** - hidden project setting `EnableWorkaroundForSimulateClickMV3` (default false) needed for Chrome Manifest V3 extensions
|
|
159
|
-
34. **Image OCR uses hardcoded 5-pixel offset** - can cause incorrect crops on small images
|
|
@@ -1,318 +0,0 @@
|
|
|
1
|
-
# Common Pitfalls & Quick Reference
|
|
2
|
-
|
|
3
|
-
Essential gotchas, required scopes, and VB.NET patterns for legacy UiPath RPA workflows.
|
|
4
|
-
|
|
5
|
-
For the complete gotchas list, see [activity-docs/_COMMON-PITFALLS.md](./activity-docs/_COMMON-PITFALLS.md).
|
|
6
|
-
For the complete VB.NET cheat sheet, see [activity-docs/_PATTERNS.md](./activity-docs/_PATTERNS.md).
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
## Flowcharts/StateMachines Without ViewState
|
|
11
|
-
|
|
12
|
-
**Severity: HIGH.** Missing ViewState causes Studio to stack all nodes at (0,0) — unusable. Every Flowchart/StateMachine node needs `ShapeLocation` + `ShapeSize`. **Required xmlns:** `xmlns:av="http://schemas.microsoft.com/winfx/2006/xaml/presentation"`
|
|
13
|
-
|
|
14
|
-
See [activity-docs/_XAML-GUIDE.md](./activity-docs/_XAML-GUIDE.md) for coordinate systems, standard sizes, layout algorithms, connector formulas, and complete examples.
|
|
15
|
-
|
|
16
|
-
---
|
|
17
|
-
|
|
18
|
-
## Required Parent Scopes
|
|
19
|
-
|
|
20
|
-
These classic activities **must** be placed inside a specific parent scope:
|
|
21
|
-
|
|
22
|
-
| Activities | Required Parent Scope |
|
|
23
|
-
|-----------|----------------------|
|
|
24
|
-
| Excel Interop (ExcelReadRange, ExcelWriteCell, etc.) | `Excel Application Scope` |
|
|
25
|
-
| Excel Modern (ReadRangeX, WriteRangeX, etc.) | `ExcelApplicationCard` inside `ExcelProcessScopeX` |
|
|
26
|
-
| PowerPoint Interop (InsertSlide, InsertText, etc.) | `PowerPoint Application Scope` |
|
|
27
|
-
| Word Interop (AppendText, ReplaceText, etc.) | `Word Application Scope` |
|
|
28
|
-
| FTP activities (Download, Upload, Delete, etc.) | `FTP Session` (WithFtpSession) |
|
|
29
|
-
| Java activities (InvokeJavaMethod, LoadJar, etc.) | `Java Scope` |
|
|
30
|
-
| Python activities (RunScript, InvokeMethod, etc.) | `Python Scope` |
|
|
31
|
-
| Terminal activities (GetField, SetField, SendKeys, etc.) | `Terminal Session` |
|
|
32
|
-
| Office 365 activities (SendMail, CreateEvent, etc.) | `Microsoft Office 365 Scope` |
|
|
33
|
-
| SAP BAPI activities (InvokeSapBapi) | `SAP Application Scope` |
|
|
34
|
-
| SharePoint activities (GetListItems, UploadFile, etc.) | `SharePoint Application Scope` |
|
|
35
|
-
|
|
36
|
-
---
|
|
37
|
-
|
|
38
|
-
## Scope Activities Require ActivityAction Body (CRITICAL for XAML Generation)
|
|
39
|
-
|
|
40
|
-
Scope activities (Excel Application Scope, ExcelProcessScopeX, ExcelApplicationCard, Word Application Scope, etc.) do **NOT** accept direct children. They require an `ActivityAction<T>` body wrapper with a `DelegateInArgument`. `RetryScope` follows the same wrap-the-body rule but uses a bare `ActivityAction` (no `x:TypeArguments`, no `DelegateInArgument`) — see the per-activity table below. Placing activities directly inside the scope element will fail validation.
|
|
41
|
-
|
|
42
|
-
**Wrong — direct children (fails validation):**
|
|
43
|
-
```xml
|
|
44
|
-
<ueab:ExcelApplicationCard WorkbookPath="file.xlsx">
|
|
45
|
-
<ueab:ReadRangeX ... /> <!-- WRONG -->
|
|
46
|
-
</ueab:ExcelApplicationCard>
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
**Correct — ActivityAction body wrapper:**
|
|
50
|
-
```xml
|
|
51
|
-
<ueab:ExcelApplicationCard WorkbookPath="file.xlsx" DisplayName="Use Excel File">
|
|
52
|
-
<ueab:ExcelApplicationCard.Body>
|
|
53
|
-
<ActivityAction x:TypeArguments="ue:IWorkbookQuickHandle">
|
|
54
|
-
<ActivityAction.Argument>
|
|
55
|
-
<DelegateInArgument x:TypeArguments="ue:IWorkbookQuickHandle" Name="Excel" />
|
|
56
|
-
</ActivityAction.Argument>
|
|
57
|
-
<Sequence DisplayName="Do">
|
|
58
|
-
<!-- Child activities go here, using Excel handle -->
|
|
59
|
-
<ueab:ReadRangeX Range="[Excel.Sheet("Sheet1").Range("A1:A20")]" />
|
|
60
|
-
</Sequence>
|
|
61
|
-
</ActivityAction>
|
|
62
|
-
</ueab:ExcelApplicationCard.Body>
|
|
63
|
-
</ueab:ExcelApplicationCard>
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
### Common Scope Body Patterns
|
|
67
|
-
|
|
68
|
-
| Activity | Body TypeArgument | DelegateInArgument Name | Notes |
|
|
69
|
-
|----------|-------------------|------------------------|-------|
|
|
70
|
-
| `ExcelProcessScopeX` | `ui:IExcelProcess` | `ExcelProcessScopeTag` | Outer Excel scope |
|
|
71
|
-
| `ExcelApplicationCard` | `ue:IWorkbookQuickHandle` | `Excel` | Inner Excel scope (inside ExcelProcessScopeX) |
|
|
72
|
-
| `ExcelApplicationScope` | `ue:WorkbookApplication` | `ExcelWorkbookScope` | Classic Interop scope |
|
|
73
|
-
| `ForEachRow` | `ActivityAction(sd:DataRow)` | `row` | Iterates DataTable rows |
|
|
74
|
-
| `WordApplicationScope` | (Word handle type) | `WordApplicationScope` | Word COM scope |
|
|
75
|
-
| `PowerPointApplicationScope` | (PowerPoint handle type) | `PowerPointApplication` | PowerPoint COM scope |
|
|
76
|
-
| `TryCatch` | (special — `Catches` collection) | — | Not ActivityAction, but has nested body structure |
|
|
77
|
-
| `Parallel` | (multiple `Branches`) | — | Each branch is a separate Sequence |
|
|
78
|
-
| `RetryScope` | _(none — bare `<ActivityAction>`)_ | — | Body property is `.ActivityBody` (not `.Body`); `ActivityAction` takes no type argument or `DelegateInArgument` |
|
|
79
|
-
|
|
80
|
-
**`find-activities` now returns `Body` info** when an activity requires an `ActivityAction<T>` body — check the output before writing XAML for scope activities.
|
|
81
|
-
|
|
82
|
-
**Key xmlns required:**
|
|
83
|
-
- `xmlns:ue="clr-namespace:UiPath.Excel;assembly=UiPath.Excel.Activities"`
|
|
84
|
-
- `xmlns:ueab="clr-namespace:UiPath.Excel.Activities.Business;assembly=UiPath.Excel.Activities"`
|
|
85
|
-
- `xmlns:ui="http://schemas.uipath.com/workflow/activities"`
|
|
86
|
-
- `xmlns:sd="clr-namespace:System.Data;assembly=System.Data"` (for ForEachRow DataRow type)
|
|
87
|
-
|
|
88
|
-
**Nested scopes:** Modern Excel requires TWO levels: `ExcelProcessScopeX` → `ExcelApplicationCard` → activities. Each level has its own `ActivityAction` body.
|
|
89
|
-
|
|
90
|
-
**Always check `find-activities` output** for body pattern info before using scope activities.
|
|
91
|
-
|
|
92
|
-
---
|
|
93
|
-
|
|
94
|
-
## Dangerous Defaults (Source Code Verified)
|
|
95
|
-
|
|
96
|
-
### ContinueOnError Defaults to TRUE
|
|
97
|
-
These activities **silently swallow all errors** by default:
|
|
98
|
-
|
|
99
|
-
| Activity | Package | Impact |
|
|
100
|
-
|----------|---------|--------|
|
|
101
|
-
| `NetHttpRequest` / `HttpClient` (HTTP Request) | Web | HTTP 500/timeout → empty response, no error |
|
|
102
|
-
| `Data Scraping` wizard output | UIAutomation | Extraction failure → empty DataTable |
|
|
103
|
-
|
|
104
|
-
**Always** set `ContinueOnError=False` on HTTP Request activities.
|
|
105
|
-
|
|
106
|
-
### ContinueOnError in Library Workflows
|
|
107
|
-
**NEVER** use `ContinueOnError=True` in Library workflows. Library consumers cannot know which errors are silently swallowed. Always let exceptions propagate from libraries — the consuming process decides how to handle them.
|
|
108
|
-
|
|
109
|
-
### Excel AutoSave Causes Performance Disasters
|
|
110
|
-
`AutoSave=true` (default) on `ExcelApplicationScope` means every Write Cell triggers a disk write. In loops with 1000 operations, that's 1000 saves.
|
|
111
|
-
|
|
112
|
-
**Fix:** Set `AutoSave=false`, add a single `Save Workbook` at the end.
|
|
113
|
-
|
|
114
|
-
### OpenBrowser Defaults to Internet Explorer
|
|
115
|
-
`BrowserType` defaults to `IE` in source code. **Always explicitly set** BrowserType to Chrome, Firefox, or Edge.
|
|
116
|
-
|
|
117
|
-
### HTTP Request Very Short Timeout
|
|
118
|
-
Legacy `HttpClient` (also called `NetHttpRequest` internally) timeout is only 6,000-10,000ms. Both are often too low for production APIs.
|
|
119
|
-
|
|
120
|
-
**Fix:** Set `TimeoutMS` to 30,000-60,000ms.
|
|
121
|
-
|
|
122
|
-
---
|
|
123
|
-
|
|
124
|
-
## VB.NET Quote Escaping in Throw.Exception (CRITICAL for XAML Generation)
|
|
125
|
-
|
|
126
|
-
The `Throw.Exception` attribute wraps the bracket expression in `VisualBasicValue<Exception>`. When fully-qualified class names are combined with complex string expressions containing multiple `"`, the VB.NET compiler can reject the expression — even though the same `"` escaping works fine in simpler attributes like `LogMessage.Message`.
|
|
127
|
-
|
|
128
|
-
### What fails
|
|
129
|
-
|
|
130
|
-
```xml
|
|
131
|
-
<!-- FAILS: Fully-qualified name + complex string concatenation -->
|
|
132
|
-
<Throw Exception="[New UiPath.Core.Activities.BusinessRuleException("Invalid amount: " & amount.ToString("F2") & " for " & txId)]" />
|
|
133
|
-
|
|
134
|
-
<!-- FAILS: String.Format with multiple " inside brackets -->
|
|
135
|
-
<Throw Exception="[New UiPath.Core.Activities.BusinessRuleException(String.Format("Invalid amount: {0} for {1}", amount, txId))]" />
|
|
136
|
-
```
|
|
137
|
-
|
|
138
|
-
### What works
|
|
139
|
-
|
|
140
|
-
**Approach 1: Short-form class name + simple expression (recommended for simple messages)**
|
|
141
|
-
```xml
|
|
142
|
-
<!-- Works: Short name (namespace already imported) + simple concatenation -->
|
|
143
|
-
<Throw Exception="[New BusinessRuleException("Invalid amount for " & txId)]" />
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
**Approach 2: Variable for message, then Throw (recommended for complex messages)**
|
|
147
|
-
```xml
|
|
148
|
-
<!-- Best practice from codebase: construct message in a variable, then throw -->
|
|
149
|
-
<Assign DisplayName="Build Error Message">
|
|
150
|
-
<Assign.To>
|
|
151
|
-
<OutArgument x:TypeArguments="x:String">[errorMessage]</OutArgument>
|
|
152
|
-
</Assign.To>
|
|
153
|
-
<Assign.Value>
|
|
154
|
-
<InArgument x:TypeArguments="x:String">["Invalid amount: " & amount.ToString("F2") & " for transaction " & txId]</InArgument>
|
|
155
|
-
</Assign.Value>
|
|
156
|
-
</Assign>
|
|
157
|
-
<Throw Exception="[New BusinessRuleException(errorMessage)]" />
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
### Rules
|
|
161
|
-
|
|
162
|
-
1. **Always use short-form class names** in `Throw.Exception` — `BusinessRuleException` not `UiPath.Core.Activities.BusinessRuleException`. Ensure `UiPath.Core.Activities` is in the namespace imports.
|
|
163
|
-
2. **For complex messages, use the variable approach** — Assign the message string to a variable first, then pass the variable to the exception constructor.
|
|
164
|
-
3. **For simple messages, inline is fine** — `[New BusinessRuleException("simple message")]` works.
|
|
165
|
-
4. **Same rules apply to all exception types** — `Exception`, `BusinessRuleException`, `ArgumentException`, etc.
|
|
166
|
-
|
|
167
|
-
### Why this happens
|
|
168
|
-
|
|
169
|
-
`Throw.Exception` compiles the bracket expression via `VisualBasicValue<Exception>`. The combination of a long fully-qualified type path + embedded `"` string literals with concatenation operators creates ambiguity for the VB.NET expression compiler. Shorter expressions or variable references avoid this.
|
|
170
|
-
|
|
171
|
-
---
|
|
172
|
-
|
|
173
|
-
## Top Gotchas by Package
|
|
174
|
-
|
|
175
|
-
### Excel
|
|
176
|
-
- **Zombie EXCEL.EXE processes** after workflow crashes — use Kill Process in Finally block
|
|
177
|
-
- **Dates read as serial numbers** — set `PreserveFormat=true` or convert with `DateTime.FromOADate()`
|
|
178
|
-
- **Empty DataTable from Read Range** — verify sheet name, use `""` for entire used range
|
|
179
|
-
- **Write Range strips formatting** — use Write Cell in loops for small updates
|
|
180
|
-
|
|
181
|
-
### UIAutomation
|
|
182
|
-
- **TypeInto missing/wrong characters** — escape `{`, `}`, `[`, `]`, `+`, `^`, `%`, `~` with `{{}`, `{+}` etc.
|
|
183
|
-
- **EmptyField ignored with SimulateType** — only works with hardware events or SendWindowMessages
|
|
184
|
-
- **Selectors work in Studio, fail on Robot** — use SimulateClick/SimulateType, avoid `idx` attribute
|
|
185
|
-
- **Dynamic selectors break** — use wildcards `*` for dynamic parts, prefer `AutomationId`
|
|
186
|
-
|
|
187
|
-
### Mail
|
|
188
|
-
- **SMTP auth fails with Gmail/M365** — use App Passwords or OAuth2, not "Less Secure Apps"
|
|
189
|
-
- **SSL/TLS port mismatch** — Port 587 = STARTTLS, Port 465 = implicit SSL, Port 25 = unencrypted
|
|
190
|
-
- **Multiple recipients** — use semicolons `;` not commas
|
|
191
|
-
|
|
192
|
-
### Web
|
|
193
|
-
- **HTTP Request ContinueOnError=TRUE by default** — errors silently swallowed
|
|
194
|
-
- **Legacy HttpClient 6-second timeout** — increase to 30-60 seconds
|
|
195
|
-
|
|
196
|
-
### PDF
|
|
197
|
-
- **ReadPDFText returns empty** — PDF is scanned images, use Read PDF With OCR instead
|
|
198
|
-
- **Text out of order** — set `PreserveFormatting=true`
|
|
199
|
-
|
|
200
|
-
### GenericValue
|
|
201
|
-
- **String comparison instead of numeric** — `"10" > "9"` returns False. Use `CInt()` explicitly.
|
|
202
|
-
- **Boolean conversion trap** — ANY non-null, non-empty string converts to `True`
|
|
203
|
-
- **Null converts to 0** — `GenericValue(null)` → int returns `0`, → DateTime returns `DateTime.MinValue`
|
|
204
|
-
|
|
205
|
-
**Recommendation:** Avoid GenericValue entirely. Use strongly-typed variables.
|
|
206
|
-
|
|
207
|
-
---
|
|
208
|
-
|
|
209
|
-
## VB.NET Quick Reference
|
|
210
|
-
|
|
211
|
-
### String Operations
|
|
212
|
-
```vb
|
|
213
|
-
"Hello " + variable + " World" ' Concatenation
|
|
214
|
-
String.IsNullOrEmpty(myVar) ' Null/empty check
|
|
215
|
-
If(myVar Is Nothing, "default", myVar.ToString()) ' Null coalesce
|
|
216
|
-
myString.Contains("search") ' Contains
|
|
217
|
-
myString.Replace("old", "new") ' Replace
|
|
218
|
-
myString.Split({";"c}, StringSplitOptions.RemoveEmptyEntries) ' Split
|
|
219
|
-
```
|
|
220
|
-
|
|
221
|
-
### Type Conversions
|
|
222
|
-
```vb
|
|
223
|
-
CInt(stringVar) ' String to Integer
|
|
224
|
-
CDbl(stringVar) ' String to Double
|
|
225
|
-
CDate(stringVar) ' String to Date
|
|
226
|
-
CType(objVar, String) ' Object to specific type
|
|
227
|
-
DirectCast(objVar, DataTable) ' Object to DataTable
|
|
228
|
-
```
|
|
229
|
-
|
|
230
|
-
### DateTime
|
|
231
|
-
```vb
|
|
232
|
-
DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")
|
|
233
|
-
DateTime.Now.AddDays(7)
|
|
234
|
-
(endDate - startDate).TotalDays
|
|
235
|
-
```
|
|
236
|
-
|
|
237
|
-
### Collections
|
|
238
|
-
```vb
|
|
239
|
-
New String() {"item1", "item2"} ' Array
|
|
240
|
-
New List(Of String) From {"a", "b"} ' List
|
|
241
|
-
New Dictionary(Of String, Object) From {{"key", "value"}} ' Dictionary
|
|
242
|
-
```
|
|
243
|
-
|
|
244
|
-
### DataTable Access
|
|
245
|
-
```vb
|
|
246
|
-
row("ColumnName").ToString() ' Cell by name
|
|
247
|
-
row(0).ToString() ' Cell by index
|
|
248
|
-
Convert.ToInt32(row("Amount")) ' Typed value
|
|
249
|
-
dt.Select("[Status] = 'Active'") ' Filter (returns DataRow[])
|
|
250
|
-
dt.AsEnumerable().Where(Function(r) r("Col").ToString() = "Val").CopyToDataTable() ' LINQ
|
|
251
|
-
```
|
|
252
|
-
|
|
253
|
-
### Error Handling
|
|
254
|
-
```vb
|
|
255
|
-
' Use Try-Catch activity (not code)
|
|
256
|
-
' BusinessRuleException → skip item
|
|
257
|
-
' System.Exception → retry/escalate
|
|
258
|
-
' Always set ContinueOnError=False on HTTP Request
|
|
259
|
-
```
|
|
260
|
-
|
|
261
|
-
For the complete reference with DataTable operations, file paths, Orchestrator patterns, and deprecated activity mappings, see [activity-docs/_PATTERNS.md](./activity-docs/_PATTERNS.md).
|
|
262
|
-
|
|
263
|
-
---
|
|
264
|
-
|
|
265
|
-
## Common XAML Generation Mistakes
|
|
266
|
-
|
|
267
|
-
These are patterns the agent is likely to produce incorrectly. Check for them after generating XAML.
|
|
268
|
-
|
|
269
|
-
### Hallucination-Prone Activity Names
|
|
270
|
-
|
|
271
|
-
| Wrong (invented) | Correct | Package |
|
|
272
|
-
|---|---|---|
|
|
273
|
-
| `ReadExcel`, `WriteExcel` | `ExcelReadRange`, `ExcelWriteRange` | Excel |
|
|
274
|
-
| `SendEmail` | `SendSmtpMailMessage`, `SendOutlookMailMessage` | Mail |
|
|
275
|
-
| `OpenBrowserActivity` | `OpenBrowser` | UIAutomation |
|
|
276
|
-
| `ReadPdf` | `ReadPDFText`, `ReadPDFWithOCR` | PDF |
|
|
277
|
-
| `HttpRequest` | `HttpClient` (also known as `NetHttpRequest`) | Web |
|
|
278
|
-
|
|
279
|
-
**Rule:** NEVER guess activity names. Run `find-activities` to get the exact class name.
|
|
280
|
-
|
|
281
|
-
### Nesting Errors
|
|
282
|
-
|
|
283
|
-
| Mistake | Fix |
|
|
284
|
-
|---|---|
|
|
285
|
-
| Multiple children directly inside `If.Then` or `If.Else` | Wrap in a single `Sequence` |
|
|
286
|
-
| Activities directly inside `ForEach` body | Use `ActivityAction` wrapper (see Scope Activities section above) |
|
|
287
|
-
| Activities directly inside scope activities (Excel, Word, etc.) | Use `ActivityAction<T>` body pattern |
|
|
288
|
-
| ViewState referencing nodes that don't exist in the workflow | Remove orphaned ViewState entries, or add the missing nodes |
|
|
289
|
-
|
|
290
|
-
### Expression Language Mismatches
|
|
291
|
-
|
|
292
|
-
| Mistake | Symptom | Fix |
|
|
293
|
-
|---|---|---|
|
|
294
|
-
| C# operators (`!=`, `&&`, `\|\|`) in VB.NET project | Compilation error | Use `<>`, `AndAlso`, `OrElse` |
|
|
295
|
-
| C# string interpolation `$"..."` in VB.NET project | Compilation error | Use `String.Format` or `&` concatenation |
|
|
296
|
-
| VB.NET `[bracket]` expressions in C# project | Compilation error | Use `<mca:CSharpValue>` or `<mca:CSharpReference>` |
|
|
297
|
-
|
|
298
|
-
### Security Anti-Patterns
|
|
299
|
-
|
|
300
|
-
| Anti-Pattern | Risk | Fix |
|
|
301
|
-
|---|---|---|
|
|
302
|
-
| Password stored in `String` variable | Visible in logs and memory dumps | Use `SecureString` type |
|
|
303
|
-
| Hardcoded API keys or JWT tokens in XAML | Credentials in source control | Use Orchestrator Credential assets |
|
|
304
|
-
| Hardcoded URLs in activity properties | Breaks across environments | Use Config.xlsx Settings or Orchestrator Text assets |
|
|
305
|
-
| Empty Catch blocks (`Catch ex As Exception` with no body) | Silent failures, impossible to debug | At minimum, add `Log Message` with `ex.Message` |
|
|
306
|
-
| Timeout values as magic numbers (`30000`) | Unclear intent, hard to tune | Use Config.xlsx Constants with descriptive names |
|
|
307
|
-
|
|
308
|
-
---
|
|
309
|
-
|
|
310
|
-
## Deprecated Activity → Replacement
|
|
311
|
-
|
|
312
|
-
| Deprecated | Replacement |
|
|
313
|
-
|-----------|-------------|
|
|
314
|
-
| `OpenWorkbook` | `Excel Application Scope` |
|
|
315
|
-
| `CloseWorkbook` | (scope handles cleanup) |
|
|
316
|
-
| `ExcelForEachRow` (v1) | `For Each Row in Data Table` |
|
|
317
|
-
| `KeywordBasedClassifier` | `IntelligentKeywordClassifier` |
|
|
318
|
-
| `OutlookForEachMail` | `For Each Email` |
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
# Discovery Workflow — Detailed Steps
|
|
2
|
-
|
|
3
|
-
Complete discovery procedure before writing or editing any XAML. Referenced from the main skill when detailed guidance is needed.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Step 1: Project Structure
|
|
8
|
-
|
|
9
|
-
```
|
|
10
|
-
Glob: pattern="**/*.xaml" path="{projectRoot}" → list all XAML workflow files
|
|
11
|
-
Read: file_path="{projectRoot}/project.json" → read the project definition
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
Analyze: folder conventions, naming patterns, existing workflows, `expressionLanguage` (VB.NET or C#), installed packages (`dependencies`).
|
|
15
|
-
|
|
16
|
-
---
|
|
17
|
-
|
|
18
|
-
## Step 2: Consult Activity Reference Docs
|
|
19
|
-
|
|
20
|
-
Read `references/activity-docs/` for behavioral context (what activities do, gotchas, patterns).
|
|
21
|
-
|
|
22
|
-
| Situation | Action |
|
|
23
|
-
|-----------|--------|
|
|
24
|
-
| Know the package | Read `activity-docs/{PackageName}.md` directly |
|
|
25
|
-
| Don't know the package | Read `activity-docs/_INDEX.md` to find it |
|
|
26
|
-
| Need VB.NET expressions | Read `activity-docs/_PATTERNS.md` |
|
|
27
|
-
| Need XAML structure | Read `references/xaml-basics-and-rules.md` |
|
|
28
|
-
| Need gotchas | Read `activity-docs/_COMMON-PITFALLS.md` |
|
|
29
|
-
| Need InvokeCode patterns | Read `activity-docs/_INVOKE-CODE.md` |
|
|
30
|
-
| Working with REFramework | Read `activity-docs/_REFRAMEWORK.md` |
|
|
31
|
-
| Working with Document Understanding | Read `activity-docs/_DU-PROCESS.md` |
|
|
32
|
-
| Need all activities | Read `activity-docs/AllActivities.md` |
|
|
33
|
-
|
|
34
|
-
**These docs tell you what and how — NOT exact CLR property names/enum values for XAML. Steps 4 and 5 are mandatory for that.**
|
|
35
|
-
|
|
36
|
-
---
|
|
37
|
-
|
|
38
|
-
## Step 3: Search Current Project
|
|
39
|
-
|
|
40
|
-
```
|
|
41
|
-
Glob: pattern="**/*pattern*.xaml" path="{projectRoot}"
|
|
42
|
-
Grep: pattern="ActivityName|pattern" path="{projectRoot}"
|
|
43
|
-
Read: file_path="{projectRoot}/ExistingWorkflow.xaml"
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
Mature project: prioritize local patterns. Greenfield: skip.
|
|
47
|
-
|
|
48
|
-
---
|
|
49
|
-
|
|
50
|
-
## Step 4: Discover Activities (MANDATORY for non-built-in activities)
|
|
51
|
-
|
|
52
|
-
**Skip find-activities for built-in activities** listed in [_BUILT-IN-ACTIVITIES.md](./activity-docs/_BUILT-IN-ACTIVITIES.md): If, Assign, Sequence, TryCatch, Flowchart, ForEach, While, Switch, Throw, Delay, Parallel, LogMessage, InvokeCode, InvokeWorkflowFile, ForEachRow, AddDataRow. Use the provided XAML snippets directly.
|
|
53
|
-
|
|
54
|
-
**For all other activities**, run find-activities. Returns exact class names, argument signatures, types, **ready-to-use XAML snippet**, and **xmlns declaration**.
|
|
55
|
-
|
|
56
|
-
```bash
|
|
57
|
-
uip rpa-legacy find-activities "{projectRoot}" --query "send mail" --output json
|
|
58
|
-
uip rpa-legacy find-activities "{projectRoot}" --query "invoke code" --include-type-definitions --output json
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
**Use the returned `XamlSnippet` as your starting point** for activity XAML — it has correct element names, namespaces, and property names for the installed package version. Also add the returned `XmlnsDeclaration` to the root `<Activity>` element.
|
|
62
|
-
|
|
63
|
-
**Query syntax tips:**
|
|
64
|
-
- **Multi-word queries work** with relevance scoring: `"Excel Read Range"` splits into words, scores matches, bonuses when all words match
|
|
65
|
-
- **CamelCase boundaries detected**: `"SendHotkey"`, `"ExcelReadRange"` match correctly
|
|
66
|
-
- **Use `--exact`** when you know the exact activity name: `--query "ReadRange" --exact` — avoids irrelevant results
|
|
67
|
-
- Each call takes ~15-30 seconds — use `--exact` for known names to get precise results fast
|
|
68
|
-
- If a query returns too many irrelevant results, add `--exact` or use more specific terms
|
|
69
|
-
|
|
70
|
-
Activity reference docs describe behavior/gotchas but NOT exact CLR class names or argument types. Skipping this step → guessing → wasted validation cycles.
|
|
71
|
-
|
|
72
|
-
---
|
|
73
|
-
|
|
74
|
-
## Step 5: Inspect Types (MANDATORY for Enums/Complex Types)
|
|
75
|
-
|
|
76
|
-
**Run for every enum or complex type.** Gets exact valid values.
|
|
77
|
-
|
|
78
|
-
```bash
|
|
79
|
-
# Example: InvokeCode Language accepts VBNet and CSharp (NOT "VisualBasic" or "VB")
|
|
80
|
-
uip rpa-legacy type-definition "{projectRoot}" --type "NetLanguage" --output json
|
|
81
|
-
|
|
82
|
-
uip rpa-legacy type-definition "{projectRoot}" --type "System.Net.Mail.MailMessage" --output json
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
When to run: any enum property, any complex type argument, any type without listed valid values in docs.
|
|
86
|
-
|
|
87
|
-
---
|
|
88
|
-
|
|
89
|
-
## Step 5.5: Search NuGet for Packages (When Needed)
|
|
90
|
-
|
|
91
|
-
When the known packages in [project-structure.md](./project-structure.md) and `find-activities` don't cover a capability:
|
|
92
|
-
|
|
93
|
-
```bash
|
|
94
|
-
uip rpa-legacy find-package --query "barcode" --limit 10 --output json
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
Searches all configured NuGet feeds by name and description. After finding the right package, add it to `dependencies` in project.json, then `find-activities` will index its activities.
|
|
98
|
-
|
|
99
|
-
Also works for arbitrary .NET packages (e.g., `CsvHelper`, `HtmlAgilityPack`). Avoid packages already bundled with Studio (e.g., `Newtonsoft.Json`) — version conflicts can cause issues.
|
|
100
|
-
|
|
101
|
-
---
|
|
102
|
-
|
|
103
|
-
## Step 6: Search UiPath Documentation (Fallback)
|
|
104
|
-
|
|
105
|
-
```bash
|
|
106
|
-
uip docsai ask "best practices for Excel automation in legacy projects" --output json
|
|
107
|
-
uip docsai ask "ExcelApplicationScope ActivityAction body validation error" --output json
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
Use when: bundled docs + CLI tools don't cover the topic, need best practices/guidelines/troubleshooting, unfamiliar error, platform concepts (Orchestrator, queues, triggers).
|
|
111
|
-
|
|
112
|
-
---
|
|
113
|
-
|
|
114
|
-
## Step 7: Search the Web (Last Resort)
|
|
115
|
-
|
|
116
|
-
Use `WebSearch` for UiPath Forum, Stack Overflow, GitHub, Reddit:
|
|
117
|
-
|
|
118
|
-
```
|
|
119
|
-
WebSearch: "UiPath forum ExcelApplicationScope ActivityAction body legacy"
|
|
120
|
-
WebSearch: "site:stackoverflow.com UiPath legacy ExcelApplicationScope XAML"
|
|
121
|
-
WebSearch: "site:github.com UiPath REFramework legacy XAML example"
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
Use when: all previous steps fail, obscure errors, community workarounds needed. Always verify web-sourced info against project config.
|
|
125
|
-
|
|
126
|
-
---
|
|
127
|
-
|
|
128
|
-
## Troubleshooting
|
|
129
|
-
|
|
130
|
-
### Wrong enum value
|
|
131
|
-
**Symptom:** "Cannot create unknown type" or "is not a member of"
|
|
132
|
-
**Fix:** `uip rpa-legacy type-definition "{projectRoot}" --type "EnumTypeName" --output json`
|
|
133
|
-
|
|
134
|
-
### Activity class name not found
|
|
135
|
-
**Symptom:** Unknown activity type or missing namespace
|
|
136
|
-
**Fix:** `uip rpa-legacy find-activities "{projectRoot}" --query "..." --output json`, add xmlns + assembly ref
|
|
137
|
-
|
|
138
|
-
### Multiple errors after batch editing
|
|
139
|
-
**Symptom:** Many errors at once
|
|
140
|
-
**Fix:** Revert to last good state. Re-add one activity at a time, validating after each.
|
|
141
|
-
|
|
142
|
-
### Activity docs don't match XAML property names
|
|
143
|
-
**Symptom:** Properties from docs don't work
|
|
144
|
-
**Fix:** `find-activities --include-type-definitions` for exact CLR property names
|
|
145
|
-
|
|
146
|
-
### Stuck on unfamiliar problem
|
|
147
|
-
**Escalation:** `docsai ask` → `WebSearch` → ask user
|