@uipath/delegate-sdk 1.203.1 → 1.203.2
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/README.md +41 -3
- package/dist/index.mjs +2 -2
- package/dist/skills/business-analysis/SKILL.md +722 -0
- package/dist/skills/business-analysis/as-is-capture.md +440 -0
- package/dist/skills/business-analysis/assets/progress.yaml +19 -0
- package/dist/skills/business-analysis/assets/task-list.md +34 -0
- package/dist/skills/business-analysis/automation-hub-publishing.md +47 -0
- package/dist/skills/business-analysis/bpmn-to-be-design.md +274 -0
- package/dist/skills/business-analysis/case-to-be-design.md +223 -0
- package/dist/skills/business-analysis/diagram-authoring.md +215 -0
- package/dist/skills/business-analysis/industry-gaps.md +134 -0
- package/dist/skills/business-analysis/interview-spine.md +297 -0
- package/dist/skills/business-analysis/locales/de.json +54 -0
- package/dist/skills/business-analysis/locales/en.json +54 -0
- package/dist/skills/business-analysis/locales/es-MX.json +54 -0
- package/dist/skills/business-analysis/locales/es.json +54 -0
- package/dist/skills/business-analysis/locales/fr.json +54 -0
- package/dist/skills/business-analysis/locales/ja.json +54 -0
- package/dist/skills/business-analysis/locales/ko.json +54 -0
- package/dist/skills/business-analysis/locales/pt-BR.json +54 -0
- package/dist/skills/business-analysis/locales/pt.json +54 -0
- package/dist/skills/business-analysis/locales/ro.json +54 -0
- package/dist/skills/business-analysis/locales/tr.json +54 -0
- package/dist/skills/business-analysis/locales/zh-CN.json +54 -0
- package/dist/skills/business-analysis/locales/zh-TW.json +54 -0
- package/dist/skills/business-analysis/pdd-generation.md +204 -0
- package/dist/skills/business-analysis/pdd-template.md +562 -0
- package/dist/skills/business-analysis/progress-presentation.json +13 -0
- package/dist/skills/business-analysis/recording-first.md +19 -0
- package/dist/skills/business-analysis/recording-processing.md +152 -0
- package/dist/skills/business-analysis/references/automation-hub-open-api.md +57 -0
- package/dist/skills/business-analysis/references/case-definition-spec.md +90 -0
- package/dist/skills/business-analysis/references/case-design-patterns/loan-origination-spec.md +86 -0
- package/dist/skills/business-analysis/references/component-type-mapping.md +52 -0
- package/dist/skills/business-analysis/references/uipath-products/case-management-schema.md +62 -0
- package/dist/skills/business-analysis/references/uipath-products/maestro-case-framework.md +65 -0
- package/dist/skills/business-analysis/references/uipath-products/maestro-case-management.md +49 -0
- package/dist/skills/business-analysis/research-offer.md +104 -0
- package/dist/skills/business-analysis/research-pass.md +149 -0
- package/dist/skills/business-analysis/scripts/assemble-pdd.ps1 +294 -0
- package/dist/skills/business-analysis/scripts/assemble-pdd.sh +453 -0
- package/dist/skills/business-analysis/scripts/check-phase-ready.ps1 +72 -0
- package/dist/skills/business-analysis/scripts/check-phase-ready.sh +98 -0
- package/dist/skills/business-analysis/scripts/lint-diagram.ps1 +524 -0
- package/dist/skills/business-analysis/scripts/lint-diagram.sh +519 -0
- package/dist/skills/business-analysis/scripts/stamp-pages.ps1 +363 -0
- package/dist/skills/business-analysis/scripts/stamp-pages.sh +360 -0
- package/dist/skills/business-analysis/to-be-design.md +199 -0
- package/dist/skills/confluence/SKILL.md +386 -0
- package/dist/skills/doc-coauthoring/SKILL.md +295 -0
- package/dist/skills/excel-architect/SKILL.macos.md +161 -0
- package/dist/skills/excel-architect/SKILL.md +180 -0
- package/dist/skills/excel-architect/SKILL.windows.md +61 -0
- package/dist/skills/excel-architect/archetypes/01-financial-model-advanced.md +332 -0
- package/dist/skills/excel-architect/archetypes/01-financial-model.md +248 -0
- package/dist/skills/excel-architect/archetypes/02-data-analysis.md +171 -0
- package/dist/skills/excel-architect/archetypes/03-tracking-dashboard.md +160 -0
- package/dist/skills/excel-architect/archetypes/04-project-planning.md +193 -0
- package/dist/skills/excel-architect/archetypes/05-simple-table.md +111 -0
- package/dist/skills/excel-architect/building.md +279 -0
- package/dist/skills/excel-architect/create.md +64 -0
- package/dist/skills/excel-architect/data-and-formulas.md +186 -0
- package/dist/skills/excel-architect/generator.md +272 -0
- package/dist/skills/excel-architect/macos/scripts/add-data-validation.applescript +242 -0
- package/dist/skills/excel-architect/macos/scripts/append-rows.applescript +310 -0
- package/dist/skills/excel-architect/macos/scripts/apply-conditional-format.applescript +565 -0
- package/dist/skills/excel-architect/macos/scripts/autofit-columns.applescript +79 -0
- package/dist/skills/excel-architect/macos/scripts/benchmark.sh +135 -0
- package/dist/skills/excel-architect/macos/scripts/check-compile.sh +30 -0
- package/dist/skills/excel-architect/macos/scripts/clear-range.applescript +152 -0
- package/dist/skills/excel-architect/macos/scripts/copy-paste.applescript +179 -0
- package/dist/skills/excel-architect/macos/scripts/create-chart.applescript +531 -0
- package/dist/skills/excel-architect/macos/scripts/create-pivot.applescript +443 -0
- package/dist/skills/excel-architect/macos/scripts/create-sheets.applescript +264 -0
- package/dist/skills/excel-architect/macos/scripts/create-workbook.applescript +92 -0
- package/dist/skills/excel-architect/macos/scripts/delete-chart.applescript +105 -0
- package/dist/skills/excel-architect/macos/scripts/delete-sheet.applescript +127 -0
- package/dist/skills/excel-architect/macos/scripts/filter-data.applescript +213 -0
- package/dist/skills/excel-architect/macos/scripts/find-replace.applescript +238 -0
- package/dist/skills/excel-architect/macos/scripts/format-range.applescript +531 -0
- package/dist/skills/excel-architect/macos/scripts/freeze-panes.applescript +133 -0
- package/dist/skills/excel-architect/macos/scripts/get-current-file.applescript +24 -0
- package/dist/skills/excel-architect/macos/scripts/get-sheet-dimensions.applescript +115 -0
- package/dist/skills/excel-architect/macos/scripts/health-check.applescript +704 -0
- package/dist/skills/excel-architect/macos/scripts/list-open-workbooks.applescript +80 -0
- package/dist/skills/excel-architect/macos/scripts/maximize-window.applescript +47 -0
- package/dist/skills/excel-architect/macos/scripts/merge-cells.applescript +227 -0
- package/dist/skills/excel-architect/macos/scripts/open-workbook.applescript +139 -0
- package/dist/skills/excel-architect/macos/scripts/read-range.applescript +267 -0
- package/dist/skills/excel-architect/macos/scripts/rename-sheet.applescript +231 -0
- package/dist/skills/excel-architect/macos/scripts/select-sheet.applescript +133 -0
- package/dist/skills/excel-architect/macos/scripts/set-tab-color.applescript +109 -0
- package/dist/skills/excel-architect/macos/scripts/sort-data.applescript +136 -0
- package/dist/skills/excel-architect/macos/scripts/undo.applescript +59 -0
- package/dist/skills/excel-architect/macos/scripts/workbook-lifecycle.applescript +149 -0
- package/dist/skills/excel-architect/macos/scripts/write-formula.applescript +225 -0
- package/dist/skills/excel-architect/macos/scripts/write-range.applescript +351 -0
- package/dist/skills/excel-architect/reference/api/advanced.md +381 -0
- package/dist/skills/excel-architect/reference/api/basic.md +747 -0
- package/dist/skills/excel-architect/reference/guides.md +348 -0
- package/dist/skills/excel-architect/reference/repair.md +174 -0
- package/dist/skills/excel-architect/reference/troubleshooting.md +46 -0
- package/dist/skills/excel-architect/scripting.md +266 -0
- package/dist/skills/excel-architect/styling-and-features.md +433 -0
- package/dist/skills/excel-architect/windows/api/composites.md +337 -0
- package/dist/skills/excel-architect/windows/api/scripting.md +139 -0
- package/dist/skills/excel-architect/windows/examples/level-1-workflows.md +485 -0
- package/dist/skills/excel-architect/windows/examples/level-2-advanced.md +690 -0
- package/dist/skills/excel-architect/windows/examples/level-3-scripting.md +337 -0
- package/dist/skills/github/SKILL.md +446 -0
- package/dist/skills/github/recipes/add-comment.md +85 -0
- package/dist/skills/github/recipes/check-pr-status.md +122 -0
- package/dist/skills/github/recipes/compare-branches.md +79 -0
- package/dist/skills/github/recipes/create-issue.md +103 -0
- package/dist/skills/github/recipes/create-pr.md +97 -0
- package/dist/skills/github/recipes/get-file-contents.md +76 -0
- package/dist/skills/github/recipes/get-last-commit.md +128 -0
- package/dist/skills/github/recipes/list-my-open-prs.md +105 -0
- package/dist/skills/github/recipes/list-recent-commits.md +84 -0
- package/dist/skills/github/recipes/search-issues.md +115 -0
- package/dist/skills/google-workspace/SKILL.md +217 -0
- package/dist/skills/google-workspace/services/calendar.md +311 -0
- package/dist/skills/google-workspace/services/docs.md +426 -0
- package/dist/skills/google-workspace/services/drive.md +504 -0
- package/dist/skills/google-workspace/services/gmail.md +466 -0
- package/dist/skills/google-workspace/services/sheets.md +370 -0
- package/dist/skills/internal-comms/SKILL.md +35 -0
- package/dist/skills/internal-comms/examples/3p-updates.md +47 -0
- package/dist/skills/internal-comms/examples/company-newsletter.md +65 -0
- package/dist/skills/internal-comms/examples/faq-answers.md +30 -0
- package/dist/skills/internal-comms/examples/general-comms.md +15 -0
- package/dist/skills/jira/SKILL.md +397 -0
- package/dist/skills/jira/recipes/add-comment.md +123 -0
- package/dist/skills/jira/recipes/assign-issue.md +157 -0
- package/dist/skills/jira/recipes/create-issue.md +274 -0
- package/dist/skills/jira/recipes/get-issue-details.md +154 -0
- package/dist/skills/jira/recipes/list-projects.md +151 -0
- package/dist/skills/jira/recipes/my-issues.md +180 -0
- package/dist/skills/jira/recipes/search-issues.md +215 -0
- package/dist/skills/jira/recipes/transition-issue.md +154 -0
- package/dist/skills/jira/recipes/troubleshooting.md +387 -0
- package/dist/skills/knowledge-base/SKILL.md +289 -0
- package/dist/skills/media-tools/SKILL.md +204 -0
- package/dist/skills/media-tools/references/encode-runbook.md +24 -0
- package/dist/skills/media-tools/references/resolve-binaries.md +81 -0
- package/dist/skills/media-tools/scripts/macos/ff-launch.sh +22 -0
- package/dist/skills/media-tools/scripts/macos/ff-poll.sh +10 -0
- package/dist/skills/media-tools/scripts/windows/ff-launch.ps1 +34 -0
- package/dist/skills/media-tools/scripts/windows/ff-poll.ps1 +20 -0
- package/dist/skills/office-download/SKILL.md +161 -0
- package/dist/skills/outlook-365/SKILL.macos.md +331 -0
- package/dist/skills/outlook-365/SKILL.md +171 -0
- package/dist/skills/outlook-365/SKILL.windows.md +124 -0
- package/dist/skills/outlook-365/api/bulk-email-operations.md +178 -0
- package/dist/skills/outlook-365/api/check-availability.md +87 -0
- package/dist/skills/outlook-365/api/create-inbox-rule.md +182 -0
- package/dist/skills/outlook-365/api/download-attachments.md +149 -0
- package/dist/skills/outlook-365/api/find-and-email-contact.md +185 -0
- package/dist/skills/outlook-365/api/manage-calendar-events.md +189 -0
- package/dist/skills/outlook-365/api/organize-with-folders.md +178 -0
- package/dist/skills/outlook-365/api/reply-to-conversation.md +68 -0
- package/dist/skills/outlook-365/api/schedule-meeting.md +73 -0
- package/dist/skills/outlook-365/api/search-and-read-email.md +93 -0
- package/dist/skills/outlook-365/api/send-email-with-attachments.md +94 -0
- package/dist/skills/outlook-365/api/send-email.md +396 -0
- package/dist/skills/outlook-365/api/set-out-of-office.md +196 -0
- package/dist/skills/outlook-365/macos/scripts/bulk-operations.applescript +429 -0
- package/dist/skills/outlook-365/macos/scripts/calendar.applescript +642 -0
- package/dist/skills/outlook-365/macos/scripts/contacts.applescript +635 -0
- package/dist/skills/outlook-365/macos/scripts/helpers.applescript +227 -0
- package/dist/skills/outlook-365/macos/scripts/read-emails.applescript +299 -0
- package/dist/skills/outlook-365/macos/scripts/search-emails.applescript +339 -0
- package/dist/skills/outlook-365/macos/scripts/send-email.applescript +245 -0
- package/dist/skills/outlook-365/uia/BASIC_OPERATIONS.md +278 -0
- package/dist/skills/outlook-365/uia/CALENDAR_OPERATIONS.md +386 -0
- package/dist/skills/outlook-365/uia/COMPOSE_EMAIL.md +426 -0
- package/dist/skills/outlook-365/uia/README.md +75 -0
- package/dist/skills/outlook-365/windows/com/bulk-operations.ps1 +241 -0
- package/dist/skills/outlook-365/windows/com/calendar.ps1 +227 -0
- package/dist/skills/outlook-365/windows/com/contacts.ps1 +270 -0
- package/dist/skills/outlook-365/windows/com/helpers.ps1 +158 -0
- package/dist/skills/outlook-365/windows/com/read-emails.ps1 +115 -0
- package/dist/skills/outlook-365/windows/com/search-emails.ps1 +141 -0
- package/dist/skills/outlook-365/windows/com/send-email.ps1 +121 -0
- package/dist/skills/pdf-architect/SKILL.md +640 -0
- package/dist/skills/powerpoint-architect/SKILL.macos.md +271 -0
- package/dist/skills/powerpoint-architect/SKILL.md +853 -0
- package/dist/skills/powerpoint-architect/SKILL.windows.md +458 -0
- package/dist/skills/powerpoint-architect/custom_themes.md +141 -0
- package/dist/skills/powerpoint-architect/editing-guide.md +424 -0
- package/dist/skills/powerpoint-architect/generator-reference.md +668 -0
- package/dist/skills/powerpoint-architect/images-guide.md +207 -0
- package/dist/skills/powerpoint-architect/issue-fix-mapping.md +768 -0
- package/dist/skills/powerpoint-architect/macos/scripts/add-html-to-slide.applescript +389 -0
- package/dist/skills/powerpoint-architect/macos/scripts/add-slide.applescript +255 -0
- package/dist/skills/powerpoint-architect/macos/scripts/add-speaker-notes.applescript +132 -0
- package/dist/skills/powerpoint-architect/macos/scripts/add-text.applescript +245 -0
- package/dist/skills/powerpoint-architect/macos/scripts/apply-slide-layout.applescript +80 -0
- package/dist/skills/powerpoint-architect/macos/scripts/apply-theme.applescript +122 -0
- package/dist/skills/powerpoint-architect/macos/scripts/autofit-placeholders.applescript +62 -0
- package/dist/skills/powerpoint-architect/macos/scripts/close-presentation.applescript +24 -0
- package/dist/skills/powerpoint-architect/macos/scripts/copy-slides.applescript +303 -0
- package/dist/skills/powerpoint-architect/macos/scripts/create-chart-with-data.applescript +305 -0
- package/dist/skills/powerpoint-architect/macos/scripts/create-with-theme.applescript +56 -0
- package/dist/skills/powerpoint-architect/macos/scripts/delete-slides.applescript +137 -0
- package/dist/skills/powerpoint-architect/macos/scripts/export-presentation.applescript +100 -0
- package/dist/skills/powerpoint-architect/macos/scripts/extract-slide-data.applescript +138 -0
- package/dist/skills/powerpoint-architect/macos/scripts/format-shape.applescript +192 -0
- package/dist/skills/powerpoint-architect/macos/scripts/format-slide-content.applescript +336 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-current-slide-number.applescript +38 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-file-path.applescript +94 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-layout-elements.applescript +141 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-layouts.applescript +58 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-opened-files.applescript +50 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-presentation-info.applescript +150 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-recent-files.applescript +68 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-slide-count.applescript +37 -0
- package/dist/skills/powerpoint-architect/macos/scripts/get-slide-info.applescript +105 -0
- package/dist/skills/powerpoint-architect/macos/scripts/health-check.applescript +690 -0
- package/dist/skills/powerpoint-architect/macos/scripts/insert-shape.applescript +188 -0
- package/dist/skills/powerpoint-architect/macos/scripts/insert-table.applescript +112 -0
- package/dist/skills/powerpoint-architect/macos/scripts/insert-text-box.applescript +225 -0
- package/dist/skills/powerpoint-architect/macos/scripts/manage-image.applescript +486 -0
- package/dist/skills/powerpoint-architect/macos/scripts/maximize-window.applescript +48 -0
- package/dist/skills/powerpoint-architect/macos/scripts/navigate-to-slide.applescript +84 -0
- package/dist/skills/powerpoint-architect/macos/scripts/open-presentation.applescript +38 -0
- package/dist/skills/powerpoint-architect/macos/scripts/reorder-slides.applescript +106 -0
- package/dist/skills/powerpoint-architect/macos/scripts/replace-text.applescript +193 -0
- package/dist/skills/powerpoint-architect/macos/scripts/save-presentation.applescript +54 -0
- package/dist/skills/powerpoint-architect/macos/scripts/set-animation.applescript +203 -0
- package/dist/skills/powerpoint-architect/macos/scripts/set-transition.applescript +130 -0
- package/dist/skills/powerpoint-architect/visual-styling-guide.md +206 -0
- package/dist/skills/powerpoint-architect/windows/api/advanced.md +317 -0
- package/dist/skills/powerpoint-architect/windows/api/basic.md +392 -0
- package/dist/skills/powerpoint-architect/windows/examples/10-slide-presentation.md +140 -0
- package/dist/skills/powerpoint-architect/windows/examples/custom-theme-workflow.md +219 -0
- package/dist/skills/powerpoint-architect/windows/examples/level-1-workflows.md +531 -0
- package/dist/skills/powerpoint-architect/windows/examples/level-2-scripting.md +239 -0
- package/dist/skills/powerpoint-architect/windows/scripts/create-with-theme.ps1 +81 -0
- package/dist/skills/project-task-list/SKILL.md +174 -0
- package/dist/skills/slack-operation/SKILL.md +97 -0
- package/dist/skills/slack-operation/api/advanced-api/GUIDE.md +277 -0
- package/dist/skills/slack-operation/api/search-and-read/EXAMPLE.md +75 -0
- package/dist/skills/slack-operation/api/search-and-read/GUIDE.md +108 -0
- package/dist/skills/slack-operation/api/send-message/EXAMPLE.md +112 -0
- package/dist/skills/slack-operation/api/send-message/GUIDE.md +63 -0
- package/dist/skills/slack-operation/api/share-files/EXAMPLE.md +94 -0
- package/dist/skills/slack-operation/api/share-files/GUIDE.md +63 -0
- package/dist/skills/slack-operation/ui/desktop-automation/GUIDE.md +55 -0
- package/dist/skills/system-diagnostics/SKILL.md +263 -0
- package/dist/skills/teams-operation/SKILL.md +79 -0
- package/dist/skills/teams-operation/api/advanced-api/GUIDE.md +234 -0
- package/dist/skills/teams-operation/api/meetings/EXAMPLE.md +63 -0
- package/dist/skills/teams-operation/api/meetings/GUIDE.md +52 -0
- package/dist/skills/teams-operation/api/search-and-read/EXAMPLE.md +72 -0
- package/dist/skills/teams-operation/api/search-and-read/GUIDE.md +54 -0
- package/dist/skills/teams-operation/api/send-message/EXAMPLE.md +92 -0
- package/dist/skills/teams-operation/api/send-message/GUIDE.md +60 -0
- package/dist/skills/teams-operation/ui/desktop-automation/GUIDE.md +66 -0
- package/dist/skills/transcribe-media/SKILL.md +142 -0
- package/dist/skills/uipath-integrations/SKILL.md +370 -0
- package/dist/skills/uipath-integrations/reference/connectors.md +331 -0
- package/dist/skills/uipath-integrations/reference/endpoints.md +220 -0
- package/dist/skills/uipath-integrations/reference/errors.md +211 -0
- package/dist/skills/uipath-integrations/reference/metadata.md +317 -0
- package/dist/skills/uipath-integrations/reference/operations.md +297 -0
- package/dist/skills/uipath-orchestrator/SKILL.md +312 -0
- package/dist/skills/uipath-orchestrator/recipes/assets.md +282 -0
- package/dist/skills/uipath-orchestrator/recipes/audit-logs.md +215 -0
- package/dist/skills/uipath-orchestrator/recipes/buckets.md +205 -0
- package/dist/skills/uipath-orchestrator/recipes/jobs.md +286 -0
- package/dist/skills/uipath-orchestrator/recipes/list-folders.md +207 -0
- package/dist/skills/uipath-orchestrator/recipes/queue-items.md +292 -0
- package/dist/skills/uipath-orchestrator/recipes/queues.md +232 -0
- package/dist/skills/uipath-orchestrator/recipes/releases.md +212 -0
- package/dist/skills/uipath-orchestrator/recipes/robots-sessions.md +274 -0
- package/dist/skills/uipath-orchestrator/recipes/schedules.md +280 -0
- package/dist/skills/uipath-orchestrator/reference/endpoints.md +85 -0
- package/dist/skills/uipath-orchestrator/reference/schemas.md +153 -0
- package/dist/skills/uipath-taskautomation/SKILL.md +310 -0
- package/dist/skills/uipath-taskautomation/assets/CodedWorkflow.template.cs +98 -0
- package/dist/skills/uipath-taskautomation/assets/ExampleWorkflow.cs +146 -0
- package/dist/skills/uipath-taskautomation/references/action-activity-map.json +32 -0
- package/dist/skills/uipath-taskautomation/references/action-activity-map.md +44 -0
- package/dist/skills/uipath-taskautomation/references/app-profiles.md +63 -0
- package/dist/skills/uipath-taskautomation/references/automation-spec.md +88 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/assets/before-after-hooks-template.md +115 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/assets/codedworkflow-template.md +186 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/assets/helper-utility-template.md +22 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/assets/json-template.md +91 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/assets/testcase-template.md +92 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/cli-reference.md +249 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/coded/codedworkflow-reference.md +275 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/coded/coding-guidelines.md +229 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/coded/inspect-package-guide.md +81 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/coded/integration-service-guide.md +507 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/coded/operations-guide.md +410 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/coded/third-party-packages-guide.md +67 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/data-manipulation-guide.md +110 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/environment-setup.md +194 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/error-handling-guide.md +195 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/powershell-interop-guide.md +57 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/project-structure-guide.md +114 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/project-structure.md +126 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/uia-elements-interaction-guide.md +109 -0
- package/dist/skills/uipath-taskautomation/references/coded-reference/validation-guide.md +147 -0
- package/dist/skills/uipath-taskautomation/references/coded-workflow-authoring.md +219 -0
- package/dist/skills/uipath-taskautomation/references/profiling-output.md +80 -0
- package/dist/skills/uipath-taskautomation/references/reliability-guide.md +83 -0
- package/dist/skills/uipath-taskautomation/references/task-automation-cheatsheet.md +272 -0
- package/dist/skills/uipath-taskautomation/references/template-preflight.md +17 -0
- package/dist/skills/uipath-workflow-documenter/SKILL.md +430 -0
- package/dist/skills/uipath-workflow-documenter/layouts/pdd-template.md +265 -0
- package/dist/skills/uipath-workflow-documenter/routines/from-orchestrator.md +11 -0
- package/dist/skills/uipath-workflow-documenter/routines/from-workflow.md +11 -0
- package/dist/skills/word-architect/SKILL.macos.md +147 -0
- package/dist/skills/word-architect/SKILL.md +502 -0
- package/dist/skills/word-architect/SKILL.windows.md +55 -0
- package/dist/skills/word-architect/api/advanced.md +522 -0
- package/dist/skills/word-architect/api/basic.md +378 -0
- package/dist/skills/word-architect/api/expert.md +302 -0
- package/dist/skills/word-architect/generation.md +308 -0
- package/dist/skills/word-architect/layouts/01-professional.md +168 -0
- package/dist/skills/word-architect/layouts/02-educational-kids.md +354 -0
- package/dist/skills/word-architect/layouts/03-academic.md +83 -0
- package/dist/skills/word-architect/layouts/04-creative.md +242 -0
- package/dist/skills/word-architect/layouts/05-operational.md +94 -0
- package/dist/skills/word-architect/macos/scripts/apply-heading-style.applescript +215 -0
- package/dist/skills/word-architect/macos/scripts/apply-style.applescript +272 -0
- package/dist/skills/word-architect/macos/scripts/autofit-tables.applescript +53 -0
- package/dist/skills/word-architect/macos/scripts/close-document.applescript +287 -0
- package/dist/skills/word-architect/macos/scripts/create-chart-with-data.applescript +379 -0
- package/dist/skills/word-architect/macos/scripts/create-chart.applescript +191 -0
- package/dist/skills/word-architect/macos/scripts/delete-selection.applescript +223 -0
- package/dist/skills/word-architect/macos/scripts/export-document.applescript +167 -0
- package/dist/skills/word-architect/macos/scripts/extract-table.applescript +168 -0
- package/dist/skills/word-architect/macos/scripts/find-by-style.applescript +173 -0
- package/dist/skills/word-architect/macos/scripts/find-text.applescript +199 -0
- package/dist/skills/word-architect/macos/scripts/format-table.applescript +234 -0
- package/dist/skills/word-architect/macos/scripts/format-text.applescript +431 -0
- package/dist/skills/word-architect/macos/scripts/get-document-properties.applescript +95 -0
- package/dist/skills/word-architect/macos/scripts/get-document-structure.applescript +371 -0
- package/dist/skills/word-architect/macos/scripts/get-header-footer-text.applescript +106 -0
- package/dist/skills/word-architect/macos/scripts/get-images.applescript +166 -0
- package/dist/skills/word-architect/macos/scripts/get-opened-files.applescript +103 -0
- package/dist/skills/word-architect/macos/scripts/get-paragraph-bounds.applescript +133 -0
- package/dist/skills/word-architect/macos/scripts/get-paragraph-format.applescript +134 -0
- package/dist/skills/word-architect/macos/scripts/get-recent-files.applescript +82 -0
- package/dist/skills/word-architect/macos/scripts/get-styled-text.applescript +256 -0
- package/dist/skills/word-architect/macos/scripts/get-tables.applescript +126 -0
- package/dist/skills/word-architect/macos/scripts/get-text-formatting.applescript +224 -0
- package/dist/skills/word-architect/macos/scripts/get-text.applescript +383 -0
- package/dist/skills/word-architect/macos/scripts/get-theme-colors.applescript +123 -0
- package/dist/skills/word-architect/macos/scripts/health-check.applescript +606 -0
- package/dist/skills/word-architect/macos/scripts/insert-cover-page.applescript +77 -0
- package/dist/skills/word-architect/macos/scripts/insert-header-footer.applescript +87 -0
- package/dist/skills/word-architect/macos/scripts/insert-horizontal-line.applescript +112 -0
- package/dist/skills/word-architect/macos/scripts/insert-html.applescript +440 -0
- package/dist/skills/word-architect/macos/scripts/insert-hyperlink.applescript +191 -0
- package/dist/skills/word-architect/macos/scripts/insert-image.applescript +320 -0
- package/dist/skills/word-architect/macos/scripts/insert-list.applescript +317 -0
- package/dist/skills/word-architect/macos/scripts/insert-pagebreak.applescript +181 -0
- package/dist/skills/word-architect/macos/scripts/insert-smartart.applescript +104 -0
- package/dist/skills/word-architect/macos/scripts/insert-table.applescript +238 -0
- package/dist/skills/word-architect/macos/scripts/insert-text.applescript +677 -0
- package/dist/skills/word-architect/macos/scripts/insert-textbox.applescript +261 -0
- package/dist/skills/word-architect/macos/scripts/maximize-window.applescript +67 -0
- package/dist/skills/word-architect/macos/scripts/normalize-formatting.applescript +56 -0
- package/dist/skills/word-architect/macos/scripts/open-document.applescript +222 -0
- package/dist/skills/word-architect/macos/scripts/replace-text.applescript +390 -0
- package/dist/skills/word-architect/macos/scripts/save-document.applescript +230 -0
- package/dist/skills/word-architect/macos/scripts/select-range.applescript +142 -0
- package/dist/skills/word-architect/macos/scripts/set-document-properties.applescript +195 -0
- package/dist/skills/word-architect/macos/scripts/set-page-layout.applescript +273 -0
- package/dist/skills/word-architect/macos/scripts/set-theme-colors.applescript +264 -0
- package/dist/skills/word-architect/macos/scripts/undo-redo.applescript +61 -0
- package/dist/skills/word-architect/macos/scripts/update-toc.applescript +112 -0
- package/dist/skills/word-architect/reference/formatting.md +119 -0
- package/dist/skills/word-architect/reference/html-layouts/01-executive-summary-box.md +36 -0
- package/dist/skills/word-architect/reference/html-layouts/02-kpi-summary-table.md +68 -0
- package/dist/skills/word-architect/reference/html-layouts/03-comparison-table.md +63 -0
- package/dist/skills/word-architect/reference/html-layouts/04-pros-cons-table.md +86 -0
- package/dist/skills/word-architect/reference/html-layouts/05-timeline-table.md +114 -0
- package/dist/skills/word-architect/reference/html-layouts/06-raci-matrix.md +95 -0
- package/dist/skills/word-architect/reference/html-layouts/07-data-table-alternating.md +84 -0
- package/dist/skills/word-architect/reference/html-layouts/08-callout-box.md +102 -0
- package/dist/skills/word-architect/reference/html-layouts/09-vertical-milestone.md +100 -0
- package/dist/skills/word-architect/reference/quality-assurance.md +102 -0
- package/dist/skills/word-architect/reference/tables.md +62 -0
- package/dist/skills/word-architect/reference/tracked-changes.md +34 -0
- package/dist/skills/word-architect/reference/uia-fallback.md +231 -0
- package/dist/skills/word-architect/reference/visual-elements.md +82 -0
- package/dist/skills/word-architect/windows/scripts/apply-heading-style.ps1 +190 -0
- package/dist/skills/word-architect/windows/scripts/autofit-tables.ps1 +64 -0
- package/dist/skills/word-architect/windows/scripts/create-chart-with-data.ps1 +133 -0
- package/dist/skills/word-architect/windows/scripts/create-chart.ps1 +73 -0
- package/dist/skills/word-architect/windows/scripts/export-document.ps1 +86 -0
- package/dist/skills/word-architect/windows/scripts/get-current-file.ps1 +27 -0
- package/dist/skills/word-architect/windows/scripts/insert-cover-page.ps1 +79 -0
- package/dist/skills/word-architect/windows/scripts/insert-horizontal-line.ps1 +74 -0
- package/dist/skills/word-architect/windows/scripts/insert-image.ps1 +98 -0
- package/dist/skills/word-architect/windows/scripts/insert-smartart.ps1 +118 -0
- package/dist/skills/word-architect/windows/scripts/insert-text-box.ps1 +90 -0
- package/dist/skills/word-architect/windows/scripts/normalize-formatting.ps1 +63 -0
- package/package.json +5 -4
|
@@ -0,0 +1,507 @@
|
|
|
1
|
+
# Integration Service — Coded Workflow Reference
|
|
2
|
+
|
|
3
|
+
Use `ConnectorConnection.ExecuteAsync` to call any Integration Service connector (Jira, Salesforce, ServiceNow, Slack, etc.) directly from a coded workflow — no drag-and-drop activities required.
|
|
4
|
+
|
|
5
|
+
> **Two IS connection patterns exist in coded workflows.** This file covers raw IS connectors (Jira, Salesforce, custom) via `CodedConnectorConfiguration` + `ISConnections.cs`. For first-party package connections (Office365, GSuite) that use the auto-generated `ConnectionsManager.cs` / `ConnectionsFactory.cs`, see [codedworkflow-reference.md § Integration Service Connections](codedworkflow-reference.md#integration-service-connections).
|
|
6
|
+
|
|
7
|
+
## Contents
|
|
8
|
+
|
|
9
|
+
- [How It Works](#how-it-works)
|
|
10
|
+
- [Required Package](#required-package)
|
|
11
|
+
- [Key Types](#key-types)
|
|
12
|
+
- [Step-by-Step Workflow](#step-by-step-workflow)
|
|
13
|
+
- [Pagination on List Operations](#pagination-on-list-operations)
|
|
14
|
+
- [ExecuteAsync Reference](#executeasync-reference)
|
|
15
|
+
- [ConnectorResponse Reference](#connectorresponse-reference)
|
|
16
|
+
- [Operation Values](#operation-values)
|
|
17
|
+
- [Error Handling](#error-handling)
|
|
18
|
+
- [Anti-patterns](#anti-patterns)
|
|
19
|
+
- [Full Example — Jira](#full-example--jira)
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## How It Works
|
|
24
|
+
|
|
25
|
+
The skill resolves all metadata up-front using the `uipath-platform` skill's Integration Service workflow (connector → connection → describe → execute). The coded workflow then receives the pre-resolved values and passes them to `ConnectorConnection.ExecuteAsync` — **no metadata lookup happens at runtime**.
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## Required Package
|
|
30
|
+
|
|
31
|
+
**Always include `UiPath.IntegrationService.Activities` with version >= 1.25.0** in `project.json` `dependencies`:
|
|
32
|
+
|
|
33
|
+
```json
|
|
34
|
+
"UiPath.IntegrationService.Activities": "[1.25.0,)"
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Add to the workflow file:
|
|
38
|
+
|
|
39
|
+
```csharp
|
|
40
|
+
using UiPath.IntegrationService.Activities.Runtime.CodedWorkflows;
|
|
41
|
+
using UiPath.IntegrationService.Activities.Runtime.Models;
|
|
42
|
+
using UiPath.IntegrationService.Activities.Runtime.Models.ConnectorMetadata;
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## Key Types
|
|
48
|
+
|
|
49
|
+
### `CodedConnectorConfiguration`
|
|
50
|
+
|
|
51
|
+
Groups connection identity (sourced from a `ConnectorConnection`) with the routing metadata for a single operation. Construct one per call.
|
|
52
|
+
|
|
53
|
+
```csharp
|
|
54
|
+
public sealed class CodedConnectorConfiguration(
|
|
55
|
+
ConnectorConnection connection, // typed handle from ISConnections.cs
|
|
56
|
+
string objectName, // object/activity name from uip is activities/resources list
|
|
57
|
+
Operation operation, // Operation.List / Retrieve / Create / Update / Delete
|
|
58
|
+
string httpMethod, // HTTP verb from describe response MethodName field
|
|
59
|
+
string path, // URL path template from describe response Path field
|
|
60
|
+
ActivityType activityType = ActivityType.Curated); // see Determining ActivityType below
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### `ConnectorRequest`
|
|
64
|
+
|
|
65
|
+
Groups the runtime execution parameters for a single call.
|
|
66
|
+
|
|
67
|
+
| Property | Type | What it controls | Default |
|
|
68
|
+
| -------- | ---- | ---------------- | ------- |
|
|
69
|
+
| `PathParameters` | `Dictionary<string, string>` | Values substituted into `{placeholders}` in the path template | `{}` |
|
|
70
|
+
| `QueryParameters` | `Dictionary<string, string>` | Key/value pairs appended as `?key=value` to the URL | `{}` |
|
|
71
|
+
| `BodyParameters` | `Dictionary<string, object?>` | Fields sent as JSON body; supports nested `Dictionary<string, object?>` | `{}` |
|
|
72
|
+
| `MultipartParameters` | `Dictionary<string, object?>?` | Non-null → request sent as `multipart/form-data`; empty dict = no file attachments; `IResource` values = file upload fields | `null` |
|
|
73
|
+
| `MaxRecords` | `int` | Client-side cap on total results across all pages (`-1` = all). Does **not** control vendor page size — set `QueryParameters["pageSize"]` separately. See [Pagination on List Operations](#pagination-on-list-operations). | `-1` |
|
|
74
|
+
|
|
75
|
+
```csharp
|
|
76
|
+
var request = new ConnectorRequest
|
|
77
|
+
{
|
|
78
|
+
PathParameters = new() { ["varName"] = "<value>" },
|
|
79
|
+
QueryParameters = new() { ["key"] = "<value>" },
|
|
80
|
+
BodyParameters = new() { ["field"] = "<value>" },
|
|
81
|
+
};
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### `ConnectorConnection`
|
|
85
|
+
|
|
86
|
+
Typed handle to a specific IS connector + connection. Constructed by the auto-generated `ISConnections.cs`. Carries `ConnectionId` and `ConnectorKey`; exposes `ExecuteAsync`.
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## Step-by-Step Workflow
|
|
91
|
+
|
|
92
|
+
**Before you start — check these three things:**
|
|
93
|
+
|
|
94
|
+
1. Does `.project/ISBindingMetadata.json` exist? → **Merge** new entries into it; do not overwrite the file.
|
|
95
|
+
2. Does `.codedworkflows/ISConnections.cs` exist? → Update only the relevant connector class; do not regenerate the whole file.
|
|
96
|
+
3. Is the connection UUID already known? → If not, resolve it now before proceeding:
|
|
97
|
+
```bash
|
|
98
|
+
uip is connections list "<CONNECTOR_KEY>" --output json
|
|
99
|
+
# → copy the "Id" field of the target connection
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
### Step 1 — Resolve metadata using the uipath-platform skill
|
|
103
|
+
|
|
104
|
+
Before writing the coded workflow, resolve the connector metadata: the connector key, the connection, and the activity/resource `describe` output. The `uipath-platform` skill's Integration Service reference files (`connectors.md`, `connections.md`, `activities.md`, `resources.md`) carry the full commands and output interpretation, but are **not** part of this extract — discover the verbs from `uip is --help` and drill in (`../cli-reference.md` § Integration Service).
|
|
105
|
+
|
|
106
|
+
The describe response tells you:
|
|
107
|
+
|
|
108
|
+
- `Path` → the `path` argument to `CodedConnectorConfiguration` (e.g. `/curated_get_issue/{issueId}`)
|
|
109
|
+
- `MethodName` → the `httpMethod` argument (e.g. `GET`)
|
|
110
|
+
- `requiredFields[].type` / `optionalFields[].type` → which bucket each field belongs to (`path`, `query`, or `body`) — maps to the corresponding `ConnectorRequest` property
|
|
111
|
+
- `referenceFields` → fields that need a lookup value resolved first
|
|
112
|
+
|
|
113
|
+
> **Gap — query/path params not shown by describe:** The describe output only surfaces `requestFields` (body-level fields) as `requiredFields`/`optionalFields`. It does **not** surface the `parameters` array from the raw metadata file, which contains query- and path-level parameters (e.g. `send_as` for Slack). After running describe, also read the raw metadata file directly:
|
|
114
|
+
>
|
|
115
|
+
> ```bash
|
|
116
|
+
> # The metadataFile path is returned in the describe response, e.g.:
|
|
117
|
+
> ~/.uipath/cache/integrationservice/<CONNECTOR_KEY>/<CONNECTION_ID>/<OBJECT_NAME>.<OPERATION>.json
|
|
118
|
+
> ```
|
|
119
|
+
>
|
|
120
|
+
> In that file, look for the top-level `parameters` array. Any entry with `"required": true` **must** be passed in `ConnectorRequest.QueryParameters` or `ConnectorRequest.PathParameters` (based on its `"in"` field: `"query"` or `"path"`). These will not appear in `requiredFields` and will silently be missing if you rely on describe alone.
|
|
121
|
+
|
|
122
|
+
### Step 2 — Detect multipart requirement (required for Create/Update operations)
|
|
123
|
+
|
|
124
|
+
Skip this step for `List`, `Retrieve`, and `Delete` operations — multipart encoding only applies to `Create` and `Update`. Otherwise, run this before writing the workflow. Read the raw metadata file returned in the describe response and check for `multipart` parameters. If found, use `MultipartParameters`; if none, proceed normally to Step 3.
|
|
125
|
+
|
|
126
|
+
```bash
|
|
127
|
+
# METADATA_FILE_PATH is returned in the describe response, e.g.:
|
|
128
|
+
# ~/.uipath/cache/integrationservice/<CONNECTOR_KEY>/<CONNECTION_ID>/<OBJECT_NAME>.<OPERATION>.json
|
|
129
|
+
cat "<METADATA_FILE_PATH>" | python3 -c "import json,sys; d=json.load(sys.stdin); print([p for p in d.get('parameters',[]) if p.get('type')=='multipart' or p.get('in')=='multipart'])"
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
**If multipart parameters are found:**
|
|
133
|
+
- Set `ConnectorRequest.MultipartParameters = new Dictionary<string, object?>()` — this signals multipart encoding.
|
|
134
|
+
- For file attachments, add `IResource` values to `MultipartParameters` (keyed by the form-data field name).
|
|
135
|
+
- `BodyParameters` is still serialized as JSON and attached as the `body` part of the form.
|
|
136
|
+
|
|
137
|
+
**If no multipart parameters are found:** proceed normally to Step 3.
|
|
138
|
+
|
|
139
|
+
### Step 3 — Resolve reference fields (if any)
|
|
140
|
+
|
|
141
|
+
If the describe output has `referenceFields`, resolve each one before calling `ExecuteAsync`:
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
uip is resources run list "<CONNECTOR_KEY>" "<REFERENCED_OBJECT>" \
|
|
145
|
+
--connection-id "<CONNECTION_ID>" --output json
|
|
146
|
+
# Pick the correct id from the results
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
### Step 4 — Generate `ISConnections.cs`
|
|
150
|
+
|
|
151
|
+
Create (or update) `.codedworkflows/ISConnections.cs`. One class per connector, one property per connection:
|
|
152
|
+
|
|
153
|
+
```csharp
|
|
154
|
+
// .codedworkflows/ISConnections.cs — managed by coding agent — regenerate via uipath-rpa skill when connections change.
|
|
155
|
+
using UiPath.CodedWorkflows;
|
|
156
|
+
using UiPath.IntegrationService.Activities.Runtime.CodedWorkflows;
|
|
157
|
+
|
|
158
|
+
// Determine the namespace from other .cs files in the project root:
|
|
159
|
+
// grep -m1 "^namespace" *.cs
|
|
160
|
+
namespace <ProjectNamespace>
|
|
161
|
+
{
|
|
162
|
+
public class ISConnections
|
|
163
|
+
{
|
|
164
|
+
private readonly ICodedWorkflowsServiceContainer _container;
|
|
165
|
+
public ISConnections(ICodedWorkflowsServiceContainer container) => _container = container;
|
|
166
|
+
|
|
167
|
+
// One property per connector. Class name = last hyphen-segment of connector key, title-cased + "ISConnections".
|
|
168
|
+
// e.g. "uipath-atlassian-jira" → last segment "jira" → JiraISConnections, property name → Jira
|
|
169
|
+
public JiraISConnections Jira => new(_container);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
public class JiraISConnections
|
|
173
|
+
{
|
|
174
|
+
private readonly ICodedWorkflowsServiceContainer _container;
|
|
175
|
+
public JiraISConnections(ICodedWorkflowsServiceContainer container) => _container = container;
|
|
176
|
+
|
|
177
|
+
// UUID resolved by coding agent via: uip is connections list "<CONNECTOR_KEY>" --output json
|
|
178
|
+
// At runtime, ConnectionBase resolves it via the service container binding.
|
|
179
|
+
public ConnectorConnection MyJiraConnection =>
|
|
180
|
+
new("02a02e3a-9b22-4802-87f2-c343bc38dde4", "uipath-atlassian-jira", _container);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
**Naming rules:** take the last hyphen-separated segment of the connector key, title-case it, append `ISConnections`. e.g. `uipath-atlassian-jira` → last segment `jira` → `JiraISConnections`; property on `ISConnections` → `Jira`. First constructor arg = Orchestrator **connection UUID** — allows environment overrides at deploy time.
|
|
186
|
+
|
|
187
|
+
### Step 5 — Create or update `ISBindingMetadata.json`
|
|
188
|
+
|
|
189
|
+
Create `.project/ISBindingMetadata.json` in the project root (alongside `CodedBindingsMetadata.json`). Add one entry per IS connection. Studio's `PackageBindingsGeneratorService` reads this file at publish time and includes all entries in `PackageBindings.json` — no code-pattern scan is needed.
|
|
190
|
+
|
|
191
|
+
**Unlike `CodedBindingsMetadata.json`, this file is never regenerated by Studio on project open or package install, so coding-agent edits are always preserved.**
|
|
192
|
+
|
|
193
|
+
The format matches the existing `CodedBindingsMetadata.json` connection entry shape exactly. The dictionary key is `"<ConnectorDisplayName>.<ConnectionDisplayName>"`. `UseConnectionService: "true"` in `Metadata` is what signals to Orchestrator that this is an Integration Service connection.
|
|
194
|
+
|
|
195
|
+
```json
|
|
196
|
+
{
|
|
197
|
+
"Jira.MyJiraConnection": {
|
|
198
|
+
"ActivityDisplayName": null, // leave null — set by Studio for drag-and-drop activities only
|
|
199
|
+
"ActivityId": null, // leave null — set by Studio for drag-and-drop activities only
|
|
200
|
+
"Resource": "Connection",
|
|
201
|
+
"Key": "02a02e3a-9b22-4802-87f2-c343bc38dde4",
|
|
202
|
+
"Id": "02a02e3a-9b22-4802-87f2-c343bc38dde4",
|
|
203
|
+
"Description": null,
|
|
204
|
+
"Value": {
|
|
205
|
+
"ConnectionId": {
|
|
206
|
+
"DefaultValue": "02a02e3a-9b22-4802-87f2-c343bc38dde4",
|
|
207
|
+
"IsExpression": false,
|
|
208
|
+
"DisplayName": "Connection",
|
|
209
|
+
"Description": "The connection to be used"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"Metadata": {
|
|
213
|
+
"UseConnectionService": "true",
|
|
214
|
+
"Connector": "uipath-atlassian-jira",
|
|
215
|
+
"BindingsVersion": "2.2"
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
The UUID in `Key`, `Id`, `Value.ConnectionId.DefaultValue`, and in `ISConnections.cs` must all be the **same connection UUID** — use the one resolved in the Before you start checklist (item 3).
|
|
222
|
+
|
|
223
|
+
If the file already exists, **merge** the new entry into it — do not overwrite the entire file.
|
|
224
|
+
|
|
225
|
+
### Step 6 — Write the coded workflow
|
|
226
|
+
|
|
227
|
+
Once you have all values from the describe output and `ISConnections.cs` is generated, build a `CodedConnectorConfiguration` and `ConnectorRequest`, then call `ExecuteAsync` on the `ConnectorConnection`:
|
|
228
|
+
|
|
229
|
+
```csharp
|
|
230
|
+
var conn = new ISConnections(services.Container).<CONNECTOR>.<CONNECTION_NAME>;
|
|
231
|
+
// ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
|
|
232
|
+
// Replace with actual property names from ISConnections.cs
|
|
233
|
+
// e.g. .Jira.MyJiraConnection
|
|
234
|
+
|
|
235
|
+
var config = new CodedConnectorConfiguration(
|
|
236
|
+
connection: conn,
|
|
237
|
+
objectName: "<OBJECT_NAME>", // from uip is activities/resources list
|
|
238
|
+
operation: Operation.Create, // replace with actual: List/Retrieve/Create/Update/Delete
|
|
239
|
+
httpMethod: "POST", // from describe response MethodName field
|
|
240
|
+
path: "/<OBJECT_PATH>"); // from describe response Path field
|
|
241
|
+
|
|
242
|
+
var request = new ConnectorRequest
|
|
243
|
+
{
|
|
244
|
+
BodyParameters = new() { ["field"] = "<value>" }, // body fields from describe requiredFields
|
|
245
|
+
// PathParameters = new() { ["<VAR>"] = "<value>" }, // if path contains {placeholders}
|
|
246
|
+
// QueryParameters = new() { ["key"] = "<value>" }, // if query params needed
|
|
247
|
+
};
|
|
248
|
+
|
|
249
|
+
var response = await conn.ExecuteAsync(config, request);
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
### Step 7 — Validate
|
|
253
|
+
|
|
254
|
+
If the project has never been built, run `uip rpa build` once first — it generates the `.local/.codedworkflows/CodedWorkflow.cs` partial, without which `validate` reports `CodedWorkflow`, `Log`, `Delay`, and `uiAutomation` as missing on a correct file (never "fix" those; see [validation-guide.md § Validation Iteration Loop](../validation-guide.md)).
|
|
255
|
+
|
|
256
|
+
Then run `uip rpa validate` on the written workflow file until 0 errors. Cap at 5 fix attempts.
|
|
257
|
+
|
|
258
|
+
```bash
|
|
259
|
+
uip rpa validate --file-path "<WORKFLOW_FILE>" --project-dir "<PROJECT_DIR>" --output json```
|
|
260
|
+
|
|
261
|
+
---
|
|
262
|
+
|
|
263
|
+
## Pagination on List Operations
|
|
264
|
+
|
|
265
|
+
**Why this matters:** The drag-and-drop activity framework silently injects `pageSize=maxPageSize` into every List call. Coded workflows do not — `ConnectorConnection.ExecuteAsync` passes only what you put into `ConnectorRequest`. Omitting `pageSize` falls back to the connector's `defaultPageSize` (commonly 20), causing many small HTTP calls instead of one.
|
|
266
|
+
|
|
267
|
+
### MaxRecords vs pageSize — Two Different Things
|
|
268
|
+
|
|
269
|
+
| Property | Scope | What it controls |
|
|
270
|
+
| -------- | ----- | ---------------- |
|
|
271
|
+
| `ConnectorRequest.MaxRecords` | Client-side | Total records returned across all pages. `-1` = all. |
|
|
272
|
+
| `QueryParameters["pageSize"]` | Vendor-side | Records per HTTP call. Should match the connector's `maxPageSize`. |
|
|
273
|
+
|
|
274
|
+
Setting `MaxRecords = 10` with no `pageSize` means the runtime still makes multiple 20-record calls under the hood and discards extras — you pay for the extra HTTP traffic. **Always set both.**
|
|
275
|
+
|
|
276
|
+
### How to Find a Connector's maxPageSize
|
|
277
|
+
|
|
278
|
+
Known `maxPageSize` values (verify per connector version):
|
|
279
|
+
|
|
280
|
+
| Connector key | maxPageSize | defaultPageSize |
|
|
281
|
+
| ------------- | ----------- | --------------- |
|
|
282
|
+
| `uipath-atlassian-jira` | 1000 | 20 |
|
|
283
|
+
| `uipath-salesforce` | Varies by object | Varies |
|
|
284
|
+
|
|
285
|
+
**When in doubt, use `1000`** — connectors clamp the value to their actual max, so overspecifying is safe.
|
|
286
|
+
|
|
287
|
+
### Rule: Always Set pageSize on List Operations
|
|
288
|
+
|
|
289
|
+
For every `Operation.List` call in a coded workflow, always explicitly set `pageSize` in `QueryParameters`:
|
|
290
|
+
|
|
291
|
+
```csharp
|
|
292
|
+
var request = new ConnectorRequest
|
|
293
|
+
{
|
|
294
|
+
QueryParameters = new() { ["pageSize"] = "1000" }, // vendor-side: records per HTTP call
|
|
295
|
+
MaxRecords = 50, // client-side: total results cap
|
|
296
|
+
};
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
If a connector uses a different pagination parameter name (`maxResults`, `limit`, etc.), check the raw metadata file for that object:
|
|
300
|
+
|
|
301
|
+
```bash
|
|
302
|
+
# METADATA_FILE_PATH is returned in the describe response:
|
|
303
|
+
# ~/.uipath/cache/integrationservice/<CONNECTOR_KEY>/<CONNECTION_ID>/<OBJECT_NAME>.List.json
|
|
304
|
+
cat "<METADATA_FILE_PATH>" | python3 -c "import json,sys; [print(p) for p in json.load(sys.stdin).get('parameters',[]) if any(k in p.get('name','').lower() for k in ['page','size','limit','max'])]"
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
Use whatever name that parameter has as the key in `QueryParameters`.
|
|
308
|
+
|
|
309
|
+
---
|
|
310
|
+
|
|
311
|
+
## ExecuteAsync Reference
|
|
312
|
+
|
|
313
|
+
`ConnectorConnection.ExecuteAsync` signature:
|
|
314
|
+
|
|
315
|
+
```csharp
|
|
316
|
+
Task<ConnectorResponse> ExecuteAsync(
|
|
317
|
+
CodedConnectorConfiguration configuration, // routing: object, operation, method, path, activityType
|
|
318
|
+
ConnectorRequest request, // params: path/query/body/multipart + maxRecords
|
|
319
|
+
CancellationToken cancellationToken = default)
|
|
320
|
+
```
|
|
321
|
+
|
|
322
|
+
### Choosing the right parameter bucket
|
|
323
|
+
|
|
324
|
+
| Field `type` in describe output | `ConnectorRequest` property |
|
|
325
|
+
| ------------------------------- | --------------------------- |
|
|
326
|
+
| `path` | `PathParameters` — key must match `{variable}` name in path template |
|
|
327
|
+
| `query` | `QueryParameters` |
|
|
328
|
+
| `body` | `BodyParameters` — supports nested `Dictionary<string, object?>` |
|
|
329
|
+
| `multipart` | Set `MultipartParameters = new()` to force multipart; add `IResource` values for file uploads |
|
|
330
|
+
|
|
331
|
+
> **Important:** `PathParameters` keys must exactly match the placeholder name inside `{...}` in the path template. E.g. path `/issue/{issueId}` requires `PathParameters = new() { ["issueId"] = "APD-1" }`.
|
|
332
|
+
|
|
333
|
+
> **Connector-specific body shapes:** Some connectors wrap all body fields under a top-level key. For example, Jira's curated activities require all fields nested under `"fields"`, and reference fields (project, issuetype, reporter) must be nested objects with a single identifying key (`"key"` or `"id"`). Always verify the body shape by running the `uip is resources describe` command.
|
|
334
|
+
|
|
335
|
+
### Determining ActivityType
|
|
336
|
+
|
|
337
|
+
Do not guess. Run this check against the cached `activities.json` for the connector:
|
|
338
|
+
|
|
339
|
+
```bash
|
|
340
|
+
grep -A3 '"<OBJECT_NAME>"' \
|
|
341
|
+
~/.uipath/cache/integrationservice/<CONNECTOR_KEY>/activities.json
|
|
342
|
+
```
|
|
343
|
+
|
|
344
|
+
| Result | `ActivityType` to use |
|
|
345
|
+
| ------ | --------------------- |
|
|
346
|
+
| Object found with `"isCurated": true` | `ActivityType.Curated` |
|
|
347
|
+
| Object found with `"isCurated": false` | `ActivityType.Generic` |
|
|
348
|
+
| Object **not** in `activities.json` | `ActivityType.Generic` |
|
|
349
|
+
|
|
350
|
+
> **Example:** The Jira `users` object exists in the connection cache (`users.List.json`) but is absent from `activities.json` — it must use `ActivityType.Generic` even though it can be discovered via `uip is resources list`.
|
|
351
|
+
|
|
352
|
+
---
|
|
353
|
+
|
|
354
|
+
## ConnectorResponse Reference
|
|
355
|
+
|
|
356
|
+
```csharp
|
|
357
|
+
public class ConnectorResponse
|
|
358
|
+
{
|
|
359
|
+
// Populated for List operations — each item is a flat or nested dictionary
|
|
360
|
+
IReadOnlyList<IReadOnlyDictionary<string, object?>> Items { get; }
|
|
361
|
+
|
|
362
|
+
// Populated for Retrieve / Create / Update / Delete
|
|
363
|
+
IReadOnlyDictionary<string, object?> Output { get; }
|
|
364
|
+
|
|
365
|
+
// Populated when the operation returns a file (e.g. download)
|
|
366
|
+
ILocalResource? FileResource { get; }
|
|
367
|
+
}
|
|
368
|
+
```
|
|
369
|
+
|
|
370
|
+
---
|
|
371
|
+
|
|
372
|
+
## Operation Values
|
|
373
|
+
|
|
374
|
+
Defined in `UiPath.IntegrationService.Activities.Runtime.Models.ConnectorMetadata`:
|
|
375
|
+
|
|
376
|
+
| Value | Description | Typical HTTP method |
|
|
377
|
+
| -------------------- | ------------------------- | ------------------- |
|
|
378
|
+
| `Operation.List` | List all records | `GET` |
|
|
379
|
+
| `Operation.Retrieve` | Retrieve one record by ID | `GET` |
|
|
380
|
+
| `Operation.Create` | Create a new record | `POST` |
|
|
381
|
+
| `Operation.Update` | Partially update a record | `PATCH` or `PUT` |
|
|
382
|
+
| `Operation.Delete` | Delete a record | `DELETE` |
|
|
383
|
+
|
|
384
|
+
> `Operation.Download`, `Operation.Upload`, `Operation.Replace`, and `Operation.Unsupported` are **not supported** in `ExecuteAsync` and will throw `ArgumentOutOfRangeException`.
|
|
385
|
+
|
|
386
|
+
---
|
|
387
|
+
|
|
388
|
+
## Error Handling
|
|
389
|
+
|
|
390
|
+
```csharp
|
|
391
|
+
try
|
|
392
|
+
{
|
|
393
|
+
var response = await conn.ExecuteAsync(config, request);
|
|
394
|
+
}
|
|
395
|
+
catch (UiPath.IntegrationService.Activities.Runtime.Exceptions.RuntimeException ex)
|
|
396
|
+
{
|
|
397
|
+
// ex.Message contains the error from the connector (e.g. "Missing path variables")
|
|
398
|
+
Log($"Connector error: {ex.Message}", LogLevel.Error);
|
|
399
|
+
throw;
|
|
400
|
+
}
|
|
401
|
+
```
|
|
402
|
+
|
|
403
|
+
Common errors and fixes:
|
|
404
|
+
|
|
405
|
+
| Error | Cause | Fix |
|
|
406
|
+
| ----- | ----- | --- |
|
|
407
|
+
| `Missing path variables in URL '.../{varName}'` | `PathParameters` key doesn't match `{varName}` in path template | Use exact placeholder name from the path string |
|
|
408
|
+
| `404 Not Found` on metadata call | Leading `/` in path used as relative URI | Ensure path is passed without manual URI construction — `ExecuteAsync` handles it |
|
|
409
|
+
| `Operation 'X' is not supported` | Unsupported `Operation` value (Download/Upload/Replace/Unsupported) | Use only: `List`, `Retrieve`, `Create`, `Update`, `Delete` |
|
|
410
|
+
| `Unable to parse multipart body` / `415 Unsupported Media Type` | Endpoint requires `multipart/form-data` but request was sent as `application/json` | Set `ConnectorRequest.MultipartParameters = new Dictionary<string, object?>()` — see Step 2 |
|
|
411
|
+
| Too many HTTP calls for a List operation (observed via network trace) | `pageSize` not set — connector falls back to `defaultPageSize` (e.g. 20) | Set `QueryParameters["pageSize"] = "1000"` in `ConnectorRequest`. See [Pagination on List Operations](#pagination-on-list-operations). |
|
|
412
|
+
|
|
413
|
+
---
|
|
414
|
+
|
|
415
|
+
## Anti-patterns
|
|
416
|
+
|
|
417
|
+
1. **Do not use unsupported Operation values.** `Operation.Download`, `Operation.Upload`, `Operation.Replace`, and `Operation.Unsupported` are not supported — see [Operation Values](#operation-values).
|
|
418
|
+
|
|
419
|
+
2. **Do not omit `ISBindingMetadata.json`.** Without it, Orchestrator cannot bind the connection at publish time. The coded workflow will compile but fail at runtime when deployed. Always create or merge this file in Step 5.
|
|
420
|
+
|
|
421
|
+
3. **Do not overwrite `ISConnections.cs` when adding a new connector.** The file may already contain classes for other connectors. Always read the existing file and merge — add a new class, or add a new property to an existing class.
|
|
422
|
+
|
|
423
|
+
4. **Do not omit `pageSize` on `Operation.List` calls.** Coded workflows do not auto-inject it. See [Pagination on List Operations](#pagination-on-list-operations).
|
|
424
|
+
|
|
425
|
+
5. **Do not use `ActivityType.Generic` for curated activities or vice versa.** Curated activities come from `uip is activities list` → use `ActivityType.Curated`. Generic resources come from `uip is resources list` → use `ActivityType.Generic`. Mixing them causes routing errors at runtime.
|
|
426
|
+
|
|
427
|
+
6. **Do not set `MultipartParameters` unless the metadata file contains multipart parameters.** Setting it on a non-multipart endpoint sends `multipart/form-data` where the connector expects `application/json`, causing `415 Unsupported Media Type`.
|
|
428
|
+
|
|
429
|
+
---
|
|
430
|
+
|
|
431
|
+
## Full Example — Jira
|
|
432
|
+
|
|
433
|
+
```csharp
|
|
434
|
+
using UiPath.CodedWorkflows;
|
|
435
|
+
using UiPath.IntegrationService.Activities.Runtime.CodedWorkflows;
|
|
436
|
+
using UiPath.IntegrationService.Activities.Runtime.Models;
|
|
437
|
+
using UiPath.IntegrationService.Activities.Runtime.Models.ConnectorMetadata;
|
|
438
|
+
|
|
439
|
+
namespace MyProject
|
|
440
|
+
{
|
|
441
|
+
public class JiraIssuesWorkflow : CodedWorkflow
|
|
442
|
+
{
|
|
443
|
+
[Workflow]
|
|
444
|
+
public async Task Execute()
|
|
445
|
+
{
|
|
446
|
+
var jiraConn = new ISConnections(services.Container).Jira.MyJiraConnection;
|
|
447
|
+
|
|
448
|
+
// CREATE — curated activity, fields wrapped under "fields" key.
|
|
449
|
+
// Resolved from: uip is activities list "uipath-atlassian-jira"
|
|
450
|
+
// → object: curated_create_issue, MethodName: POST, Path: /curated_create_issue
|
|
451
|
+
// Reference fields (project, issuetype, reporter) are nested objects.
|
|
452
|
+
// Resolve their ids/keys via:
|
|
453
|
+
// uip is resources run list "uipath-atlassian-jira" "project" --connection-id <id>
|
|
454
|
+
// uip is resources run list "uipath-atlassian-jira" "issuetype" --connection-id <id>
|
|
455
|
+
var createConfig = new CodedConnectorConfiguration(
|
|
456
|
+
connection: jiraConn,
|
|
457
|
+
objectName: "curated_create_issue",
|
|
458
|
+
operation: Operation.Create,
|
|
459
|
+
httpMethod: "POST",
|
|
460
|
+
path: "/curated_create_issue");
|
|
461
|
+
|
|
462
|
+
var createRequest = new ConnectorRequest
|
|
463
|
+
{
|
|
464
|
+
BodyParameters = new()
|
|
465
|
+
{
|
|
466
|
+
["fields"] = new Dictionary<string, object?>
|
|
467
|
+
{
|
|
468
|
+
["summary"] = "Bug found in production",
|
|
469
|
+
["project"] = new Dictionary<string, object?> { ["key"] = "APD" },
|
|
470
|
+
["issuetype"] = new Dictionary<string, object?> { ["id"] = "10304" },
|
|
471
|
+
["reporter"] = new Dictionary<string, object?> { ["id"] = "712020:89f83693-a619-42a5-a23f-0ea40c216456" }
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
};
|
|
475
|
+
|
|
476
|
+
var createResponse = await jiraConn.ExecuteAsync(createConfig, createRequest);
|
|
477
|
+
Log($"Created: {createResponse.Output["key"]}");
|
|
478
|
+
|
|
479
|
+
// LIST — generic resource, JQL filter as query param
|
|
480
|
+
// Resolved from: uip is resources list "uipath-atlassian-jira"
|
|
481
|
+
// --operation List
|
|
482
|
+
// → object: issue, MethodName: GET, Path: /issue
|
|
483
|
+
var listConfig = new CodedConnectorConfiguration(
|
|
484
|
+
connection: jiraConn,
|
|
485
|
+
objectName: "issue",
|
|
486
|
+
operation: Operation.List,
|
|
487
|
+
httpMethod: "GET",
|
|
488
|
+
path: "/issue",
|
|
489
|
+
activityType: ActivityType.Generic);
|
|
490
|
+
|
|
491
|
+
var listRequest = new ConnectorRequest
|
|
492
|
+
{
|
|
493
|
+
// pageSize = vendor maxPageSize (1000 for Jira) — must be set explicitly in coded
|
|
494
|
+
// workflows. The activity framework auto-injects this; coded workflows do not.
|
|
495
|
+
// Without it, Jira defaults to pageSize=20, causing many small HTTP calls.
|
|
496
|
+
QueryParameters = new() { ["jql"] = "project = APD AND status = Open", ["pageSize"] = "1000" },
|
|
497
|
+
MaxRecords = 20, // client-side cap — trim to 20 total across all pages
|
|
498
|
+
};
|
|
499
|
+
|
|
500
|
+
var listResponse = await jiraConn.ExecuteAsync(listConfig, listRequest);
|
|
501
|
+
|
|
502
|
+
foreach (var issue in listResponse.Items)
|
|
503
|
+
Log($"{issue["key"]} — {issue["summary"]}");
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
```
|