@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,113 +0,0 @@
|
|
|
1
|
-
# Flowchart Guide
|
|
2
|
-
|
|
3
|
-
Node vocabulary, structure, and wiring for `<Flowchart>` workflows. Related references: XAML anatomy → [xaml-basics-and-rules.md](xaml-basics-and-rules.md); layout + ViewState → [canvas-layout-guide.md § 3](canvas-layout-guide.md#3-flowchart-layout); node registration full rules → [common-pitfalls.md § x:Reference](common-pitfalls.md#xreference--__referenceid-naming).
|
|
4
|
-
|
|
5
|
-
## When to Use a Flowchart
|
|
6
|
-
|
|
7
|
-
Branching logic with multiple decision points, loops, and back-edges. Best when the flow is a graph rather than a straight sequence. For straight-line steps use a `Sequence`; for state-driven processes use a State Machine; for BPMN-style event-driven long waits use a Long Running Workflow (ProcessDiagram).
|
|
8
|
-
|
|
9
|
-
## Node Vocabulary
|
|
10
|
-
|
|
11
|
-
| Node | Purpose | Successor wiring |
|
|
12
|
-
|------|---------|------------------|
|
|
13
|
-
| `FlowStep` | Wraps **exactly one** activity (which may be a container). The unit of work. | `FlowStep.Next` → one node |
|
|
14
|
-
| `FlowDecision` | Boolean branch. `Condition` plus `True`/`False` targets. | `FlowDecision.True` / `.False` → one node each |
|
|
15
|
-
| `FlowSwitch<T>` | Multi-way branch keyed by an expression. | `Default` plus one target per case |
|
|
16
|
-
|
|
17
|
-
A `FlowStep` wraps one activity. If that activity is a container (`Sequence`, `NApplicationCard`, `TryCatch`), its children stay nested and are NOT separate nodes. See [canvas-layout-guide.md § What Counts as a Node](canvas-layout-guide.md#3-flowchart-layout).
|
|
18
|
-
|
|
19
|
-
## Structure & Wiring
|
|
20
|
-
|
|
21
|
-
**Rule:** every `FlowStep`/`FlowDecision`/`FlowSwitch` is a **direct child of `<Flowchart>`** with an `x:Name`. Links between nodes are made with `<x:Reference>__ReferenceIDn</x:Reference>` inside property elements (`Flowchart.StartNode`, `FlowStep.Next`, `FlowDecision.True`/`.False`) — never by physically nesting one node inside another.
|
|
22
|
-
|
|
23
|
-
```xml
|
|
24
|
-
<Flowchart DisplayName="My Flowchart" sap2010:WorkflowViewState.IdRef="Flowchart_1">
|
|
25
|
-
<Flowchart.StartNode>
|
|
26
|
-
<x:Reference>__ReferenceID0</x:Reference>
|
|
27
|
-
</Flowchart.StartNode>
|
|
28
|
-
<FlowStep x:Name="__ReferenceID0">
|
|
29
|
-
<ui:LogMessage DisplayName="Step 1" />
|
|
30
|
-
<FlowStep.Next>
|
|
31
|
-
<x:Reference>__ReferenceID1</x:Reference>
|
|
32
|
-
</FlowStep.Next>
|
|
33
|
-
</FlowStep>
|
|
34
|
-
<FlowDecision x:Name="__ReferenceID1">
|
|
35
|
-
<FlowDecision.Condition>
|
|
36
|
-
<CSharpValue x:TypeArguments="x:Boolean">condition</CSharpValue>
|
|
37
|
-
</FlowDecision.Condition>
|
|
38
|
-
<FlowDecision.True>
|
|
39
|
-
<x:Reference>__ReferenceID0</x:Reference>
|
|
40
|
-
</FlowDecision.True>
|
|
41
|
-
<!-- FlowDecision.False omitted = end of flow -->
|
|
42
|
-
</FlowDecision>
|
|
43
|
-
</Flowchart>
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
`__ReferenceID` values must be unique across the whole file. When adding nodes, use a number higher than any existing one.
|
|
47
|
-
|
|
48
|
-
## Node Registration
|
|
49
|
-
|
|
50
|
-
Only nodes in the `Flowchart.Nodes` collection render — and that collection is built from the **direct children** of `<Flowchart>`. A node that is not a direct child is never registered, so the designer does not draw it, regardless of ViewState.
|
|
51
|
-
|
|
52
|
-
Two cases:
|
|
53
|
-
|
|
54
|
-
1. **Direct children** of `<Flowchart>` — already registered. Do NOT also add a trailing `<x:Reference>`.
|
|
55
|
-
2. **Inline definitions** inside a property element (e.g., a `FlowStep` written inside `<FlowDecision.True>`) — MUST add a trailing `<x:Reference>` entry as a direct child of `<Flowchart>` to register them.
|
|
56
|
-
|
|
57
|
-
Full correct/wrong examples for inline registration: [common-pitfalls.md § x:Reference](common-pitfalls.md#xreference--__referenceid-naming).
|
|
58
|
-
|
|
59
|
-
### Forbidden — nested FlowStep chains
|
|
60
|
-
|
|
61
|
-
Do NOT build the flow by physically nesting each `FlowStep` inside the previous one's `<FlowStep.Next>` (a deep chain with only the first node under `<Flowchart.StartNode>`). Nested-only steps never enter `Flowchart.Nodes`, so the designer renders almost nothing — invisible regardless of ViewState. Wire successors by reference and keep every step a direct child.
|
|
62
|
-
|
|
63
|
-
**Correct** — each step a direct child, linked by reference:
|
|
64
|
-
```xml
|
|
65
|
-
<Flowchart sap2010:WorkflowViewState.IdRef="Flowchart_1">
|
|
66
|
-
<Flowchart.StartNode>
|
|
67
|
-
<x:Reference>__ReferenceID0</x:Reference>
|
|
68
|
-
</Flowchart.StartNode>
|
|
69
|
-
<FlowStep x:Name="__ReferenceID0">
|
|
70
|
-
<ui:LogMessage DisplayName="Step 1" />
|
|
71
|
-
<FlowStep.Next>
|
|
72
|
-
<x:Reference>__ReferenceID1</x:Reference>
|
|
73
|
-
</FlowStep.Next>
|
|
74
|
-
</FlowStep>
|
|
75
|
-
<FlowStep x:Name="__ReferenceID1"> <!-- direct child — in Flowchart.Nodes -->
|
|
76
|
-
<ui:LogMessage DisplayName="Step 2" />
|
|
77
|
-
</FlowStep>
|
|
78
|
-
</Flowchart>
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
**Wrong** — Step 2 nested inside Step 1's `.Next`; `Flowchart.Nodes` holds only Step 1, so Step 2 never renders:
|
|
82
|
-
```xml
|
|
83
|
-
<Flowchart sap2010:WorkflowViewState.IdRef="Flowchart_1">
|
|
84
|
-
<Flowchart.StartNode>
|
|
85
|
-
<x:Reference>__ReferenceID0</x:Reference>
|
|
86
|
-
</Flowchart.StartNode>
|
|
87
|
-
<FlowStep x:Name="__ReferenceID0">
|
|
88
|
-
<ui:LogMessage DisplayName="Step 1" />
|
|
89
|
-
<FlowStep.Next>
|
|
90
|
-
<FlowStep> <!-- WRONG — nested, not registered -->
|
|
91
|
-
<ui:LogMessage DisplayName="Step 2" />
|
|
92
|
-
</FlowStep>
|
|
93
|
-
</FlowStep.Next>
|
|
94
|
-
</FlowStep>
|
|
95
|
-
</Flowchart>
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
### No Orphan Nodes
|
|
99
|
-
|
|
100
|
-
Every node except the start must be reachable: referenced by `Flowchart.StartNode`, a `FlowStep.Next`, or a decision/switch branch. A `FlowStep` with no incoming reference and no `FlowStep.Next` is an orphan — it renders as a disconnected box and is almost always a leftover. Do not generate them.
|
|
101
|
-
|
|
102
|
-
## Condition Expressions
|
|
103
|
-
|
|
104
|
-
`FlowDecision.Condition` and `FlowSwitch` expressions follow the project's expression language:
|
|
105
|
-
|
|
106
|
-
- **C# projects:** `<CSharpValue x:TypeArguments="x:Boolean">condition</CSharpValue>`
|
|
107
|
-
- **VB projects:** `<mva:VisualBasicValue x:TypeArguments="x:Boolean" ExpressionText="condition" />`
|
|
108
|
-
|
|
109
|
-
## Layout & ViewState
|
|
110
|
-
|
|
111
|
-
ViewState is **mandatory** for Flowcharts — without per-node `ShapeLocation`+`ShapeSize`, Studio stacks every node at (0,0) and they overlap into what looks like a single node (Studio does NOT auto-arrange on open). ViewState positions a node **only after** it is registered in `Flowchart.Nodes` — structure first, then coordinates.
|
|
112
|
-
|
|
113
|
-
Coordinate system, node sizes, connector routing, and full ViewState recipes: [canvas-layout-guide.md § 3](canvas-layout-guide.md#3-flowchart-layout). See also SKILL.md Rule 20.
|
|
@@ -1,258 +0,0 @@
|
|
|
1
|
-
# XAML Workflow Guide
|
|
2
|
-
|
|
3
|
-
Discovery-first approach with iterative error-driven refinement for generating and editing XAML workflows. Always understand before acting, start simple, and validate continuously.
|
|
4
|
-
|
|
5
|
-
## Core Principles
|
|
6
|
-
|
|
7
|
-
1. **Activity Docs Are the Source of Truth** — Installed packages may ship structured documentation at `{projectRoot}/.local/docs/packages/{PackageId}/`. When present, these docs contain source-accurate properties, types, defaults, enum values, conditional property groups, and working XAML examples. Always check for them first.
|
|
8
|
-
2. **Know Before You Write** — **NEVER** generate XAML blind. Understand the project structure, packages, expression language, and existing patterns.
|
|
9
|
-
3. **Use What You Know, Skip What You Don't Need** — If you already know the package ID and activity class name, go directly to its doc file. Be efficient: the discovery steps are a priority ladder, not a mandatory checklist.
|
|
10
|
-
4. **Start Minimal, Iterate to Correct** — Start one workflow at a time and break out logic into multiple files if needed. Build one activity at a time within each workflow. Write the smallest working XAML, validate with `uip rpa validate`, fix what breaks, repeat.
|
|
11
|
-
5. **Validate After Every Change** — **MUST** validate with **both** `validate` and `uip rpa build` after every change. **NEVER** assume an edit succeeded. `validate` clean alone is not validated — it does not catch unknown member names or invalid enum values; `build` does.
|
|
12
|
-
6. **Fix Errors by Category** — Triage in order: Package → Structure → Type → Activity Properties → Logic.
|
|
13
|
-
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
## Core Workflow: Classify Request
|
|
17
|
-
|
|
18
|
-
| Request Type | Trigger Words | Action |
|
|
19
|
-
|--------------|---------------|--------|
|
|
20
|
-
| **CREATE** | "generate", "create", "make", "build", "new" | Discovery → Generate |
|
|
21
|
-
| **EDIT** | "update", "change", "fix", "modify", "add to" | Discovery → Edit |
|
|
22
|
-
|
|
23
|
-
If unclear which file to edit, **ask the user** rather than guessing.
|
|
24
|
-
|
|
25
|
-
---
|
|
26
|
-
|
|
27
|
-
## Phase 1: Discovery
|
|
28
|
-
|
|
29
|
-
**Goal:** Understand project context, leverage installed activity documentation, study existing patterns, identify reusable components, and discover activities before writing any XAML.
|
|
30
|
-
|
|
31
|
-
> **Batch discovery across activities.** When the workflow needs several activities, do NOT run the find → read-doc → `get-default-xaml` triple one activity at a time. Emit all `activities find` calls in parallel, then all `<Activity>.md` `Read`s in parallel, then all `get-default-xaml` calls in parallel (SKILL.md § Call Batching). Only the per-activity *authoring + validate* loop (Phase 2 / Phase 3) stays sequential — discovery fans out.
|
|
32
|
-
|
|
33
|
-
### Step 1.1: Project Structure
|
|
34
|
-
|
|
35
|
-
```
|
|
36
|
-
Glob: pattern="**/*.xaml" path="{projectRoot}" → list all XAML workflow files
|
|
37
|
-
Read: file_path="{projectRoot}/project.json" → read the project definition
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
Analyze:
|
|
41
|
-
- Where should new workflows be placed? (folder conventions)
|
|
42
|
-
- What naming pattern is used?
|
|
43
|
-
- What similar workflows already exist?
|
|
44
|
-
- VB or C# syntax? (check `expressionLanguage` in `project.json`)
|
|
45
|
-
- What packages are already installed?
|
|
46
|
-
- Are there existing connections, credentials, or objects to reuse?
|
|
47
|
-
|
|
48
|
-
### Step 1.2: Discover Activity Documentation (Primary Source)
|
|
49
|
-
|
|
50
|
-
**This is the most important discovery step. Read `<Activity>.md` BEFORE `activities get-default-xaml`, every time, even for activities that look simple.** Installed activity packages ship structured markdown at `{projectRoot}/.local/docs/packages/{PackageId}/activities/<Activity>.md`. The doc is the property surface; the CLI starter is not. `activities get-default-xaml` strips every property at its type default — for `NGetText` that means **all** output properties are absent from the starter, and authoring from the starter produces `NGetText.Value="..."` instead of the real output member `NGetText.TextString`. `validate` does not catch the wrong member name; only `build` does, after a wasted round-trip.
|
|
51
|
-
|
|
52
|
-
**Availability:** Docs exist only for **installed packages** and typically only for **newer package versions**. When the package is not installed, install it first. When docs are missing, update to the latest version, or fall back to `skills/uipath-rpa/references/activity-docs/<PackageId>/<closest-version>/`.
|
|
53
|
-
|
|
54
|
-
#### Filesystem Structure
|
|
55
|
-
|
|
56
|
-
```
|
|
57
|
-
{projectRoot}/.local/docs/packages/
|
|
58
|
-
+-- {PackageId}/
|
|
59
|
-
+-- overview.md
|
|
60
|
-
+-- activities/
|
|
61
|
-
| +-- {ActivitySimpleClassName}.md
|
|
62
|
-
+-- coded/ # Ignore for XAML workflows
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
#### Activity Doc Template
|
|
66
|
-
|
|
67
|
-
Every `activities/{ActivityName}.md` follows: Header → Metadata → Properties (Input, Output, Conditional groups, Common) → Valid Configurations → Enum Reference → XAML Examples → Notes.
|
|
68
|
-
|
|
69
|
-
#### Decision Table
|
|
70
|
-
|
|
71
|
-
| Situation | Action |
|
|
72
|
-
|-----------|--------|
|
|
73
|
-
| **Know package + activity name** | `Read: file_path="{projectRoot}/.local/docs/packages/{PackageId}/activities/{ActivityName}.md"` |
|
|
74
|
-
| **Know package, not activity** | `Read` the `overview.md`, then read the identified activity doc |
|
|
75
|
-
| **Don't know package** | `Glob` with `**/*.md` in `{projectRoot}/.local/docs/packages/`. `.local/` is gitignored — use `Glob` + `Read`, not `Grep` |
|
|
76
|
-
| **Docs exist but activity undocumented** | Use other docs as structural reference, fall back to `activities get-default-xaml` |
|
|
77
|
-
| **No docs for package** | Update the package first — this often adds docs. **Caution:** major version jumps (e.g., 23.x → 26.x) may deprecate activities — prefer minor/patch updates. If still no docs, fall back to Steps 1.4-1.7 |
|
|
78
|
-
| **Package not installed** | Install it first — both docs and `activities get-default-xaml` require it |
|
|
79
|
-
| **No `.local/docs/` at all** | Use fallback flow starting at Step 1.3 |
|
|
80
|
-
|
|
81
|
-
### Step 1.3: Search Current Project
|
|
82
|
-
|
|
83
|
-
Search existing workflows for reusable patterns and conventions.
|
|
84
|
-
|
|
85
|
-
```
|
|
86
|
-
Glob: pattern="**/*pattern*.xaml" path="{projectRoot}"
|
|
87
|
-
Grep: pattern="ActivityName|pattern" path="{projectRoot}"
|
|
88
|
-
Read: file_path="{projectRoot}/ExistingWorkflow.xaml"
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
- **Mature project**: Prioritize local patterns.
|
|
92
|
-
- **Greenfield project**: Skip this step.
|
|
93
|
-
|
|
94
|
-
### Step 1.4: Discover Activities (When Needed)
|
|
95
|
-
|
|
96
|
-
Use when you need to find which activity implements a user-described action:
|
|
97
|
-
|
|
98
|
-
```bash
|
|
99
|
-
uip rpa activities find --query "send mail" --limit 10 --output json```
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
- Results are **global** — not limited to installed packages
|
|
103
|
-
- If a useful activity is in an uninstalled package, install it immediately
|
|
104
|
-
- Tags can narrow results further
|
|
105
|
-
|
|
106
|
-
### Step 1.5: Disambiguate Approach and Provider
|
|
107
|
-
|
|
108
|
-
#### Approach-level (API vs UI Automation vs Connector)
|
|
109
|
-
|
|
110
|
-
- **Auto-select** when the user stated the approach or only one is viable
|
|
111
|
-
- **Prompt** when multiple approaches are viable and user hasn't indicated preference
|
|
112
|
-
- **Do NOT install packages until approach is confirmed**
|
|
113
|
-
|
|
114
|
-
#### Provider-level (within an approach)
|
|
115
|
-
|
|
116
|
-
**Auto-select** when: user specified provider, only one package matches, project already has the package installed, project defines a matching connection, or workflow already uses activities from one package.
|
|
117
|
-
|
|
118
|
-
**Prompt only as last resort** — present top 2-4 choices with recommendations.
|
|
119
|
-
|
|
120
|
-
### Step 1.6: Resolve Activity Properties (Fallback)
|
|
121
|
-
|
|
122
|
-
Use `uip rpa activities get-default-xaml` when activity docs are insufficient:
|
|
123
|
-
|
|
124
|
-
```bash
|
|
125
|
-
# Non-dynamic activity:
|
|
126
|
-
uip rpa activities get-default-xaml --activity-class-name "<FULLY_QUALIFIED_CLASS>" --output json
|
|
127
|
-
# Dynamic activity (connector-backed):
|
|
128
|
-
uip rpa activities get-default-xaml --activity-type-id "<TYPE_ID>" --connection-id "<CONN_ID>" --output json```
|
|
129
|
-
|
|
130
|
-
For JIT custom types: `Read: file_path="{projectRoot}/.project/JitCustomTypesSchema.json"`. See [jit-custom-types-schema.md](jit-custom-types-schema.md).
|
|
131
|
-
|
|
132
|
-
### Step 1.7: Search Examples Repository
|
|
133
|
-
|
|
134
|
-
Use when activity docs, `activities find`, and `activities get-default-xaml` don't provide enough context:
|
|
135
|
-
|
|
136
|
-
```bash
|
|
137
|
-
uip rpa workflow-examples list --tags web --limit 10 --output json
|
|
138
|
-
uip rpa workflow-examples get --key "<BLOB_PATH>"
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
**Complete tag list:** `adobe-sign`, `asana`, `box`, `concur`, `confluence`, `database`, `document-understanding`, `docusign`, `dropbox`, `email-generic`, `excel`, `excel-online`, `freshbooks`, `freshdesk`, `github`, `gmail`, `google-calendar`, `google-docs`, `google-drive`, `google-sheets`, `gsuite`, `hubspot`, `intacct`, `jira`, `mailchimp`, `marketo`, `microsoft-365`, `onedrive`, `outlook`, `outlook-calendar`, `pdf`, `powerpoint`, `productivity`, `quickbooks`, `salesforce`, `servicenow`, `sharepoint`, `shopify`, `slack`, `smartsheet`, `stripe`, `teams`, `testing`, `trello`, `web`, `webex`, `word`, `workday`, `zendesk`, `zoom`
|
|
142
|
-
```
|
|
143
|
-
|
|
144
|
-
### Step 1.8: Get Current Context (As Needed)
|
|
145
|
-
|
|
146
|
-
```
|
|
147
|
-
Read: file_path="{projectRoot}/project.json"
|
|
148
|
-
Glob: pattern="**/*" path="{projectRoot}/.objects/"
|
|
149
|
-
Bash: uip is connections list --output json
|
|
150
|
-
```
|
|
151
|
-
|
|
152
|
-
### Step 1.9: Discover Connector Capabilities (For IS/Connector Workflows)
|
|
153
|
-
|
|
154
|
-
For end-to-end authoring of `ConnectorActivity` XAML (connection + type ID + Configuration blob + FieldObjects), see **[../is-connector-xaml-guide.md](../is-connector-xaml-guide.md)** — worked example included. For the discovery commands only (list connectors, describe operation, manage connections), see [../connector-capabilities.md](../connector-capabilities.md).
|
|
155
|
-
|
|
156
|
-
**Path selection for calling connectors from XAML:**
|
|
157
|
-
|
|
158
|
-
| Option | When to use |
|
|
159
|
-
|--------|-------------|
|
|
160
|
-
| **IS generic `ConnectorActivity`** with a typed operation typeId (e.g. `37a305b2-...` for Slack "Send Message to Channel") | **Default choice** — schema-driven, hand-authorable with the CLI flow below. Works via `UiPath.IntegrationService.Activities`. |
|
|
161
|
-
| **IS generic `ConnectorActivity`** with `ConnectorHttpActivity` typeId (e.g. `...httpRequest...`) | Fallback for endpoints the connector hasn't modeled as a first-class operation. Field names are still connector-defined — not `method`/`path`/`body`. Read the schema. |
|
|
162
|
-
| **Per-product BAF activity package** (`UiPath.Slack.Activities`, `UiPath.Salesforce.Activities`, etc.) | Avoid for headless authoring. These wrap IS internally but use a more complex BAF XAML shape (`ScopeActivity` + dynamic child activity with `BusinessEntity`, `SelectedFields`, `PopulatedAPIParameters`). Same complexity, less mechanical. Skill users should default to the generic `ConnectorActivity` path unless the project already uses the BAF package. |
|
|
163
|
-
|
|
164
|
-
---
|
|
165
|
-
|
|
166
|
-
## Phase 2: Generate or Edit
|
|
167
|
-
|
|
168
|
-
### UI Automation — Target Configuration Gate (MANDATORY)
|
|
169
|
-
|
|
170
|
-
Before writing any XAML with UI activities: the UIA package guide (`{PROJECT_DIR}/.local/docs/packages/UiPath.UIAutomation.Activities/ui-automation-guide.md`) MUST be read IN FULL first (SKILL.md Rule 7). Every UI element target MUST be configured through the `uia-configure-target` skill flow — the guide mandates the target-capture orchestration reference to read IN FULL first.
|
|
171
|
-
|
|
172
|
-
**NEVER** manually call low-level `uip rpa uia` CLI commands outside of the skill flow.
|
|
173
|
-
|
|
174
|
-
### For CREATE Requests
|
|
175
|
-
|
|
176
|
-
**Strategy:** Generate minimal working version, one activity at a time, validate frequently.
|
|
177
|
-
|
|
178
|
-
Use the `Write` tool to create a new `.xaml` file. Refer to [xaml-basics-and-rules.md](xaml-basics-and-rules.md) for the complete XAML file anatomy template.
|
|
179
|
-
|
|
180
|
-
```
|
|
181
|
-
Write: file_path="{projectRoot}/Workflows/DescriptiveName.xaml"
|
|
182
|
-
content=<valid XAML content>
|
|
183
|
-
```
|
|
184
|
-
|
|
185
|
-
**File path inference:** Use folder conventions from project structure, create descriptive filenames, ensure `.xaml` extension.
|
|
186
|
-
|
|
187
|
-
### For EDIT Requests
|
|
188
|
-
|
|
189
|
-
**Strategy:** Always read current content before editing.
|
|
190
|
-
|
|
191
|
-
```
|
|
192
|
-
Read: file_path="{projectRoot}/WorkflowToEdit.xaml"
|
|
193
|
-
Edit: file_path=... old_string=<exact text> new_string=<modified text>
|
|
194
|
-
```
|
|
195
|
-
|
|
196
|
-
**Critical:** `old_string` must match exactly and be unique. Include surrounding context if needed.
|
|
197
|
-
|
|
198
|
-
---
|
|
199
|
-
|
|
200
|
-
## Phase 3: Validate & Fix Loop
|
|
201
|
-
|
|
202
|
-
**MUST** repeat until 0-error state from **both** `validate` and `build`, or max 5 fix attempts. After 5 attempts, stop and present remaining errors to the user.
|
|
203
|
-
|
|
204
|
-
### Step 3.1: Check for Errors
|
|
205
|
-
|
|
206
|
-
Run both validators per iteration. `validate` catches structural / reference / analyzer issues; `build` catches member-name and enum-value mistakes that `validate` misses (e.g. `NGetText.Value` when the property is `TextString`, `Operator="StartsWith"` when the enum has no such member). See [../validation-guide.md § Validation Iteration Loop](../validation-guide.md#validation-iteration-loop) for the canonical loop.
|
|
207
|
-
|
|
208
|
-
```bash
|
|
209
|
-
uip rpa validate --file-path "Workflows/MyWorkflow.xaml" --output json
|
|
210
|
-
uip rpa build "<PROJECT_DIR>" --log-level Warn --output json
|
|
211
|
-
```
|
|
212
|
-
|
|
213
|
-
`--file-path` must be **relative to the project directory**. Use `--skip-validation` only for quick cached-error checks. Treat `validate` clean as half-done — `build` clean is the signal to exit the loop.
|
|
214
|
-
|
|
215
|
-
### Step 3.2: Categorize and Fix
|
|
216
|
-
|
|
217
|
-
**Fix order:** Package → Structure → Type → Activity Properties → Logic.
|
|
218
|
-
|
|
219
|
-
1. **Package Errors** — Install/update the package. After install, activity docs become available.
|
|
220
|
-
2. **Structural Errors** — Fix XML structure. Cross-check against [xaml-basics-and-rules.md](xaml-basics-and-rules.md).
|
|
221
|
-
3. **Type Errors** — Check activity doc for correct types and enum values. For JIT types: [jit-custom-types-schema.md](jit-custom-types-schema.md).
|
|
222
|
-
4. **Activity Properties Errors** — Read activity doc for properties, conditional groups, valid configurations. Fallback: `activities get-default-xaml`. Watch for OverloadGroup conflicts.
|
|
223
|
-
5. **Logic Errors** — Verify expression syntax matches project language. For UI automation: use `debug start`; follow the debug procedure in [uia-starter-guide.md § Running UI Automation Workflows](../uia-starter-guide.md).
|
|
224
|
-
|
|
225
|
-
**When stuck:** Defer to user for minor config details. If failing to resolve an activity, consider InvokeCode as a last resort.
|
|
226
|
-
|
|
227
|
-
For detailed procedures, see [../validation-guide.md](../validation-guide.md).
|
|
228
|
-
|
|
229
|
-
---
|
|
230
|
-
|
|
231
|
-
## Phase 4: Response
|
|
232
|
-
|
|
233
|
-
1. **File path** of created/edited workflow
|
|
234
|
-
2. **Brief description** of what the workflow does
|
|
235
|
-
3. **Key activities** and logic implemented
|
|
236
|
-
4. **Packages installed** (if any)
|
|
237
|
-
5. **Limitations** or notes
|
|
238
|
-
6. **Suggested next steps** (testing, parameterization)
|
|
239
|
-
7. **Encourage user to review and customize** (fill placeholders, set up connections)
|
|
240
|
-
|
|
241
|
-
---
|
|
242
|
-
|
|
243
|
-
## Anti-Patterns
|
|
244
|
-
|
|
245
|
-
- **NEVER** generate large, complex workflows in one go
|
|
246
|
-
- **NEVER** manually craft UI selectors outside of `uia-configure-target` skill flow
|
|
247
|
-
- **NEVER** assume a create/edit succeeded without validating with **both** `validate` and `build`
|
|
248
|
-
- **NEVER** treat "no diagnostics found" from `validate` as final — run `build` next; member-name and enum-value errors hide behind a clean `validate`
|
|
249
|
-
- **NEVER** stop the iteration loop before correctly rendering all activities
|
|
250
|
-
- **NEVER** guess properties, types, or configurations without checking docs
|
|
251
|
-
- **NEVER** use incorrect keys with `uip rpa workflow-examples get` (always from list results)
|
|
252
|
-
- **NEVER** pass absolute paths to `--file-path` in `validate` (must be relative)
|
|
253
|
-
- **NEVER** ask user to choose provider without checking project signals first
|
|
254
|
-
- **NEVER** retry failing CLI commands in a loop without diagnosing root cause
|
|
255
|
-
- **NEVER** skip Phase 0 (Studio readiness)
|
|
256
|
-
- **NEVER** use connector activities without checking connection existence
|
|
257
|
-
- **NEVER** ignore activity doc conditional property groups (OverloadGroup conflicts cause validation errors)
|
|
258
|
-
- **NEVER** generate full XAML from scratch without using `activities get-default-xaml` as a starting point
|