UiPath Documentation
uipath-cli
2026.10
false
UiPath CLI user guide

uip maestro case

Create, pack, debug, validate, and author Case Management projects using `uip maestro case`, the third Maestro orchestration surface alongside BPMN and Flow.

uip maestro case creates, packs, debugs, and authors Case Management projects — a third Maestro orchestration surface alongside BPMN and Flow. A case project models a long-running, human-driven unit of work as a case plan: a JSON document (caseplan.case, or caseplan.json) describing stages, tasks, SLAs, triggers, and the entry/exit conditions that move a case between stages — closer to a structured workflow-with-a-lifecycle than a linear process.

The tool ships as the separate @uipath/case-tool package, dynamically loaded by @uipath/maestro-tool under the case branch — every command here is invoked as uip maestro case <verb>, never as a standalone uip case.

This resource spans nine pages​

Concepts​

  • The authoring model: edit caseplan.json directly, then validate. Author or edit caseplan.json by hand (or have an agent do it, guided by the uipath-maestro-case skill's JSON-shape references), then run uip maestro case validate to check it. The read verbs documented on the sibling pages above (cases get, stages get, tasks get, etc.) help you inspect the plan while you author it. The commands that write to a case plan are format, sdd convert, and splice. bindings sync writes the bindings_v2.json file derived from the plan. The commands that changed one part of a plan at a time, such as stages add, tasks add, sla set, and triggers add-manual, are deprecated. They change no file and fail with Code: "DeprecatedCommand", ErrorCode: "method_not_allowed", and exit code 1.
  • Case vs. BPMN vs. Flow — all three are Maestro orchestration surfaces that pack to .nupkg and share runtime primitives (process/job/instances/incidents/registry), but Case Management's own primary asset is the case plan, caseplan.case or caseplan.json (plus a generated <plan file name>.bpmn), and its project type is CaseManagement in operate.json/project.uiproj — distinct from BPMN's .bpmn and Flow's .flow.
  • Validation profiles — validate runs one of four profiles depending on how far along authoring is: skeleton (structure only — nodes, edges, identity, types), skeleton-v2 (skeleton plus SLA/escalation/entry-exit-rule checks, still skipping task content), strict (every check, including stage-with-no-tasks, unresolved $xref markers, and connector-context completeness — the finished-case gate), and the default full profile (lenient, for partially-authored or already-packed files). --sdd <path> audits completeness against a spec document and implies --strict.
  • spec is a planning tool, not a case-plan mutator: it fetches a normalized description of one Integration Service connector activity or trigger (inputs, outputs, required fields) so you know what to put in caseplan.json's task/trigger definitions before you write them. Find the --activity-type-id/--connection-id values it needs via registry get-connector/get-connection.

Synopsis​

uip maestro case init <name> [--force] [--skip-solution-registration]
uip maestro case pack <project-path> <output-path> [-n, --name <name>] [-v, --version <version>] [package-metadata options...]
uip maestro case debug <project-path> [--folder-id <id>] [--poll-interval <ms>] [--login-validity <minutes>]
uip maestro case validate <file> [--skeleton | --skeleton-v2 | --strict] [--sdd <path>]
uip maestro case format <file>
uip maestro case bindings sync <file>
uip maestro case sdd parse <file>
uip maestro case sdd resolve <file> [--out <file>]
uip maestro case sdd convert <file> [--out <file>] [--resolved <file>]
uip maestro case task-types list
uip maestro case rule-types list
uip maestro case splice <file> (--task-id <id> | --task-name <name>) (--spec <file> | --described <file>) [--connection-id <id>] [--folder-key <key>] [--out <file>]
uip maestro case spec --type <activity|trigger> --activity-type-id <uuid> --connection-id <id> [--object-name <name>] [--trigger-kind <start|wait-for>] [--skip-case-shape | --input-details <json> [--solution-folder <path>]]
uip maestro case init <name> [--force] [--skip-solution-registration]
uip maestro case pack <project-path> <output-path> [-n, --name <name>] [-v, --version <version>] [package-metadata options...]
uip maestro case debug <project-path> [--folder-id <id>] [--poll-interval <ms>] [--login-validity <minutes>]
uip maestro case validate <file> [--skeleton | --skeleton-v2 | --strict] [--sdd <path>]
uip maestro case format <file>
uip maestro case bindings sync <file>
uip maestro case sdd parse <file>
uip maestro case sdd resolve <file> [--out <file>]
uip maestro case sdd convert <file> [--out <file>] [--resolved <file>]
uip maestro case task-types list
uip maestro case rule-types list
uip maestro case splice <file> (--task-id <id> | --task-name <name>) (--spec <file> | --described <file>) [--connection-id <id>] [--folder-key <key>] [--out <file>]
uip maestro case spec --type <activity|trigger> --activity-type-id <uuid> --connection-id <id> [--object-name <name>] [--trigger-kind <start|wait-for>] [--skip-case-shape | --input-details <json> [--solution-folder <path>]]

uip maestro case init​

Create a new Case project with boilerplate files: project.uiproj, operate.json, entry-points.json, bindings_v2.json, package-descriptor.json, and a minimal case plan, caseplan.case. When the directory already holds a case plan under a name the CLI reads, such as caseplan.json, init keeps that plan and its name and writes no new one — re-running init never clobbers an authored case plan. If run outside an existing solution, a parent <name>Solution is scaffolded automatically and the case project is nested inside it; if run inside one, the project is registered into that solution instead.

Arguments​

NameRequiredPurpose
<name>yesCase project name. Letters, numbers, underscores, and hyphens only.

Options​

LongValueDescription
--forceflagInitialize even if the target directory is not empty. Writes files without clearing existing contents.
--skip-solution-registrationflagDo not auto-register this project in the surrounding solution.

Example​

uip maestro case init my-case-project
uip maestro case init my-case-project

Data shape (--output json)​

{
  "Code": "CaseInit",
  "Data": {
    "Status": "Created successfully",
    "Path": "/workspace/my-case-project",
    "CasePlan": "/workspace/my-case-project/caseplan.case",
    "CasePlanStatus": "Created",
    "SolutionRegistration": { "Status": "Registered", "Solution": "...", "ProjectId": "..." },
    "AutoCreatedSolution": { "...": "present only when a parent solution was scaffolded" },
    "ProjectArtifacts": { "...": "present only when registered into a parent solution" },
    "NextSteps": "present only when SolutionRegistration.Instructions is set"
  }
}
{
  "Code": "CaseInit",
  "Data": {
    "Status": "Created successfully",
    "Path": "/workspace/my-case-project",
    "CasePlan": "/workspace/my-case-project/caseplan.case",
    "CasePlanStatus": "Created",
    "SolutionRegistration": { "Status": "Registered", "Solution": "...", "ProjectId": "..." },
    "AutoCreatedSolution": { "...": "present only when a parent solution was scaffolded" },
    "ProjectArtifacts": { "...": "present only when registered into a parent solution" },
    "NextSteps": "present only when SolutionRegistration.Instructions is set"
  }
}

CasePlanStatus is "Created" on a fresh scaffold or "Preserved" when an existing case plan was left untouched (re-running init on a project you've already authored). SolutionRegistration is always present — its Status is "NotInSolution" rather than the field being omitted when no parent solution exists.

uip maestro case pack​

Pack a Case project directory into a .nupkg file, reading the case plan (caseplan.case or caseplan.json) from the project root.

Arguments​

NameRequiredPurpose
<project-path>yesPath to the Case project directory.
<output-path>yesOutput directory for the .nupkg.

Options​

LongValueDescription
-n, --name <name>stringPackage name. Default: project folder name.
-v, --version <version>stringPackage version. Default 1.0.0.

Also accepts the shared package-metadata options (--repository-url/--repository-commit/--repository-branch/--repository-type, --release-notes, --project-url, --author, --description). For their descriptions, refer to the Options table of uip maestro bpmn pack.

Example​

uip maestro case pack ./my-case-project ./dist --version 1.2.0
uip maestro case pack ./my-case-project ./dist --version 1.2.0

Data shape (--output json)​

{
  "Code": "CasePack",
  "Data": {
    "Package": "my-case-project.1.2.0.nupkg",
    "Output": "./dist/my-case-project.1.2.0.nupkg"
  }
}
{
  "Code": "CasePack",
  "Data": {
    "Package": "my-case-project.1.2.0.nupkg",
    "Output": "./dist/my-case-project.1.2.0.nupkg"
  }
}

A schema error during packing (a malformed caseplan.json) is enriched with case-specific guidance before being surfaced as a failure — expect actionable Instructions, not a raw parser error.

When the project has no entry-points.json or no operate.json, pack writes the missing file into the project. When it writes entry-points.json, it also stamps each trigger's entry point ID on the case plan. Data.WrittenToProject lists the project files that pack wrote, and is absent when it wrote none. A missing package-descriptor.json is built for the package only.

pack fails with ErrorCode: "invalid_argument" and writes no package in these cases:

  • The project has no entry-points.json and the case plan has no trigger node.
  • The project has no operate.json, and its entry-points.json is not valid JSON, lists no entry points, or has no entry with a filePath.
  • The case plan has an SLA or escalation error that validate reports, such as an SLA shorter than 15 minutes. Instructions carries the validate line for each error. Other validate findings do not stop pack.

The default package name is the name of the resolved project folder, so uip maestro case pack . ./dist names the package after the current folder. When the folder name is not a valid package name, the command fails and Instructions gives a --name value to pass.

uip maestro case debug​

Debug a case project by uploading it to Studio Web and running a debug session there — there is no local-only debug mode for Case Management (unlike some other Maestro debug commands).

Arguments​

NameRequiredPurpose
<project-path>yesPath to the case project directory. Must contain project.uiproj.

Options​

LongValueDescription
--folder-id <id>integerOrchestrator folder ID (OrganizationUnitId). Auto-detected when omitted.
--poll-interval <ms>integerPolling interval in milliseconds. Default 2000.
--login-validity <minutes>integerMinimum minutes before token expiration to trigger a refresh. Default 10.

Requires an active login (uip login) with a resolvable organization, tenant, and access token — fails fast with a specific message naming whichever piece of login state is missing.

Example​

uip maestro case debug ./my-case-project
uip maestro case debug ./my-case-project

Data shape (--output json)​

{
  "Code": "CaseDebug",
  "Data": {
    "jobKey": "b2c3d4e5-0000-0000-0000-000000000001",
    "instanceId": "c3d4e5f6-0000-0000-0000-000000000001",
    "runId": "d4e5f6a7-0000-0000-0000-000000000001",
    "finalStatus": "Completed",
    "solutionId": "e5f6a7b8-0000-0000-0000-000000000001",
    "studioWebUrl": "https://cloud.uipath.com/org/tenant/studio_/debug/e5f6a7b8",
    "elementExecutions": [
      { "elementId": "Stage_1", "status": "Completed" },
      { "elementId": "Stage_2", "status": "Completed" }
    ]
  }
}
{
  "Code": "CaseDebug",
  "Data": {
    "jobKey": "b2c3d4e5-0000-0000-0000-000000000001",
    "instanceId": "c3d4e5f6-0000-0000-0000-000000000001",
    "runId": "d4e5f6a7-0000-0000-0000-000000000001",
    "finalStatus": "Completed",
    "solutionId": "e5f6a7b8-0000-0000-0000-000000000001",
    "studioWebUrl": "https://cloud.uipath.com/org/tenant/studio_/debug/e5f6a7b8",
    "elementExecutions": [
      { "elementId": "Stage_1", "status": "Completed" },
      { "elementId": "Stage_2", "status": "Completed" }
    ]
  }
}

Keys are kept in their native camelCase (not PascalCased) — this payload is designed to be read programmatically by eval checkers and SDKs, matching the same carve-out used by Flow's debug command and registry get.

When finalStatus is anything other than "Completed" or "Successful", the command fails with Result: "Failure", Code: "CaseDebug", ErrorCode: "execution_failed", and exit code 1. Data carries the same run payload plus incidents, the incidents of the run. Message gives the final status and the first incident, and Instructions lists every incident. When the run has no incidents, Instructions points to the run in Studio Web (Data.studioWebUrl).

uip maestro case validate​

Validate a case management JSON file against Case Management's structural and business rules.

Arguments​

NameRequiredPurpose
<file>yesPath to the case management JSON file (typically caseplan.json).

Options​

LongDescription
--skeletonStructural checks only (nodes, edges, identity, types). Skips task content, SLAs, escalations, and entry/exit rules — useful during the skeleton phase of authoring. Conflicts with --skeleton-v2/--strict.
--skeleton-v2Skeleton checks plus SLA, escalation, and entry/exit rule checks. Still skips task content. Conflicts with --skeleton/--strict.
--strictEvery check, plus the strict set: a stage with no tasks, unresolved $xref markers, a hoisted conditionExpression, formal-argument/output-binding shapes, and connector-context completeness. The finished-case gate. Conflicts with --skeleton/--skeleton-v2.
--sdd <path>Audit the caseplan for completeness against the given SDD (spec document) — every stage, task, task type, condition row, SLA, trigger, and case variable it declares must be present. Implies --strict.

Omitting all four runs the default full profile: lenient, so partially-authored or already-packed files still validate.

Examples​

uip maestro case validate case.json
uip maestro case validate case.json --skeleton
uip maestro case validate case.json --strict
uip maestro case validate case.json --sdd ./spec.md
uip maestro case validate case.json
uip maestro case validate case.json --skeleton
uip maestro case validate case.json --strict
uip maestro case validate case.json --sdd ./spec.md

Data shape (--output json)​

{
  "Code": "CaseValidate",
  "Data": {
    "File": "case.json",
    "Status": "Valid",
    "Warnings": "2 warning(s):\n  - [stages[0].tasks[1]] ...",
    "Issues": [
      { "Code": "UNRESOLVED_REFERENCE", "Path": "stages[0].tasks[1]", "Message": "...", "Severity": "warning" }
    ]
  }
}
{
  "Code": "CaseValidate",
  "Data": {
    "File": "case.json",
    "Status": "Valid",
    "Warnings": "2 warning(s):\n  - [stages[0].tasks[1]] ...",
    "Issues": [
      { "Code": "UNRESOLVED_REFERENCE", "Path": "stages[0].tasks[1]", "Message": "...", "Severity": "warning" }
    ]
  }
}

A case plan can declare a newer schema patch version than the CLI writes: validate, pack, and debug accept it. A newer minor or major version fails with CASE_MGMT_VERSION_NEWER_THAN_SCHEMA. task-types list reports the versions the CLI writes and reads.

A root variable whose type is not a case variable type fails with CASE_MGMT_VARIABLE_TYPE_UNKNOWN. A spelling that the backend accepts but the Case Designer writes differently, such as number for double, is reported as a CASE_MGMT_VARIABLE_TYPE_ALIAS warning naming the type the Case Designer writes.

Each issue's Message states the rule that the value breaks. For example, CASE_MGMT_ROOT_SLA_BELOW_MIN_MINUTES says that an SLA duration must be at least 15 minutes. A wait-for-timer task's timeDuration can be an ISO 8601 duration or an expression, such as =js:vars.holdFor.

More findings, by Code:

CodeSeverityProfilesReported when
CASE_MGMT_BINDING_ID_NOT_IDENTIFIERerrorAllA root binding's id is not an identifier: letters, digits, and underscores, not starting with a digit. The engine can't resolve =bindings.<id> for such an ID, for example is-sandboxes. Rename the binding and every reference to it, then run bindings sync.
CASE_MGMT_VARIABLE_ELEMENT_ID_MISSINGwarningAllA root variable has no elementId. The default and --strict profiles count only declarations that have one, so a reference to the variable fails as not existing.
CASE_MGMT_INTSVC_ACTIVITY_CONFIG_MISSINGwarningAllThe plan has an Integration Service task and metadata.intsvcActivityConfig is absent or blank, so the task runs on the V1 input and output protocol.
CASE_MGMT_RULES_DOCUMENT_*warningDefault, --strictThe plan's caseRules document, inline or in the case-deterministic-rules.json file it points to, doesn't fit the case. For example, CASE_MGMT_RULES_DOCUMENT_UNKNOWN_STAGE reports a rule that names a stage the case doesn't have.
TIMER_TASK_OUTPUTS_IGNOREDwarningDefault, --strictA wait-for-timer task declares data.outputs. pack drops them, so no variable is written.
STRICT_DOCUMENT_EXTRACTION_CONTEXT_INCOMPLETEerror--strictA configured document-extraction task has no value for folderKey, modelName, or digitizationMode in data.context.
STRICT_SCRIPT_SYNTAXerror--strictA script task's body doesn't parse as JavaScript.
STRICT_SDD_BINDING_NAME_MISMATCHerror--sddA process binding's default name differs from the Resolved Resource in the SDD. The comparison is exact.
STRICT_SDD_FIXED_OUTPUT_ROW_TYPEwarning--sddAn SDD Outputs row gives a type of another kind than the one the activity fixes for that output, on an http-request, document-extraction, or script task.

Profile: "strict" is added to Data only when --strict (or --sdd) was passed. On a run with none of the profile options, when an sdd.md is found next to the case plan or at the root of its solution, Data.Suppressed ({ Profile, Sdd, Errors, Warnings }) counts the strict and SDD findings the default profile does not show, and Instructions gives the --strict --sdd command that shows them. Warnings/Issues are present only when the valid file still produced warnings. On failure (Result: "Failure", exit 1), Data.Issues carries every error and warning with a stable Code, Path, Message, and Severity — parse this array rather than the human-readable Instructions text if you're driving a repair loop.

uip maestro case format​

Rewrite a case plan JSON file in place, pretty-printed with a 2-space indent and one key per line, so a file-edit tool can patch it.

uip maestro case format case.json
uip maestro case format case.json

Data shape: Code: "CaseFormat", Data: { Changed, Lines, LongestLine }.

uip maestro case bindings sync​

Derive bindings_v2.json from a case plan and write it in the same directory as the plan, overwriting an existing file. The file is required by uip solution resources refresh for solutions authored without Studio Web. The command reads only the case plan and the entry-points.json file next to it.

uip maestro case bindings sync case.json
uip maestro case bindings sync case.json

Data shape: Code: "CaseBindingsSync", Data: { BindingsPath, ResourceCount, ConnectionCount }.

uip maestro case sdd​

Read a Solution Design Document (sdd.md), the document that validate --sdd audits a case plan against.

SubcommandOptionsDescription
parse <file>—Print the structured model parsed from the sdd.md, as JSON. Reads only the document. Code: "SddParse".
resolve <file>--out <file>: write the result to a file instead of printing it.Resolve the document's task resources against the caches that registry pull wrote. A name that matches several resources, or none, is reported for you to choose. Reads caches only. Code: "SddResolve".
convert <file>--out <file>: write the case plan to a file instead of printing it.
--resolved <file>: read a sdd resolve result to fill in resource names or folders the document leaves out.
Write a case plan from the document. Reports what the document doesn't determine, such as resources to resolve against a tenant or a connector's connection. Variable types are written the way the Case Designer saves them — for example, number becomes double and bool becomes boolean — and a type it can't map is listed in Unresolved. Check the result with validate. Code: "SddConvert".

The sdd commands fail when two rows of the document's Case Variables table resolve to the same variable name. Only the first table in the Case Variables section declares variables. sdd convert lists the rows of a later table in Unresolved as one variable-table item.

sdd convert also does the following:

  • Writes a script task from a task block of type script. The body is the block's js fenced code block. A block with no body is listed in Unresolved as a task-script item.
  • Leaves out a task whose type is not one an SDD can declare, and lists it in Unresolved as a task-type item. When the spelling is close to a task type, the item's suggestions names it.
  • Sets metadata.caseExecutionExitsOnTaskFailure and metadata.caseExecutionUsesTaskExitRules to true in a plan that holds a task-exited rule. The rule fires only when both are set.
uip maestro case sdd parse sdd.md
uip maestro case sdd convert sdd.md --out caseplan.case
uip maestro case sdd parse sdd.md
uip maestro case sdd convert sdd.md --out caseplan.case

uip maestro case task-types​

List the case task types, for writing an sdd.md or a case plan by hand. The list comes from the installed case tool and reads nothing from the tenant, so the command needs no login.

uip maestro case task-types list --output json
uip maestro case task-types list --output json
FieldDescription
WriteSchemaVersionCase plan schema version that sdd convert stamps on the plans it writes.
ReadSchemaVersionNewest case plan schema version a plan can declare and still pass validate. It can be newer than WriteSchemaVersion.
AuthorableTask types an SDD can declare, which sdd convert writes.
StudioWebOnlyTask types a case plan can hold but an SDD cannot declare. They are authored in Studio Web.
NotTaskTypesSpellings that name the right concept elsewhere but are not task types. Each entry gives the Spelling, the Layer where that spelling is correct, and the PlanType to write in the plan instead.

The task types in Authorable and StudioWebOnly:

Task typeListed in
actionAuthorable
agentAuthorable
api-workflowAuthorable
business-ruleAuthorable
case-managementAuthorable
document-extractionAuthorable
execute-connector-activityAuthorable
external-agentAuthorable
external-workflowAuthorable
flow-processAuthorable
functionAuthorable
http-requestAuthorable
processAuthorable
rpaAuthorable
scriptAuthorable
wait-for-connectorAuthorable
wait-for-timerAuthorable
data-fabricStudioWebOnly

The NotTaskTypes entries:

SpellingWhere it is correctTask type to write
connector-activityuip maestro case tasks describe --typeexecute-connector-activity
connector-triggeruip maestro case tasks describe --typewait-for-connector
wait-for-eventA connector task's data.serviceTypewait-for-connector

Data shape: Code: "TaskTypeList", Data: { WriteSchemaVersion, ReadSchemaVersion, Authorable, StudioWebOnly, NotTaskTypes }. Authorable and StudioWebOnly entries are { Type } objects.

If the installed case tool cannot read its schema versions, the command fails with exit code 1 and Instructions to run uip tools update maestro.

uip maestro case rule-types​

List the rule types each case condition slot takes, for writing entry and exit conditions in an sdd.md or a case plan by hand. The list comes from the installed case tool and reads nothing from the tenant, so the command needs no login.

uip maestro case rule-types list --output json
uip maestro case rule-types list --output json
FieldDescription
ScopesOne entry per condition slot. Each entry gives the Scope (task-entry, stage-entry, stage-exit, stage-completion, case-exit, or case-completion), Validated, and RuleTypes, a list of { Type } objects. An exit slot appears twice, once per MarksComplete value, because only a condition that marks its stage or case complete takes the required-* rules.
ValidatedWhether validate reports a rule outside the slot's list. Stage entry is checked on the default, --strict, and --skeleton-v2 profiles, and task entry on the default and --strict profiles. Exit slots are not checked.
UnscopedRule types the case schema accepts that no slot lists, such as milestones-recorded.

Data shape: Code: "RuleTypeList", Data: { Scopes, Unscoped }.

{
  "Code": "RuleTypeList",
  "Data": {
    "Scopes": [
      { "Scope": "task-entry", "Validated": true, "RuleTypes": [{ "Type": "current-stage-entered" }] },
      { "Scope": "stage-completion", "Validated": false, "MarksComplete": true, "RuleTypes": [{ "Type": "required-tasks-completed" }] }
    ],
    "Unscoped": [{ "Type": "milestones-recorded" }]
  }
}
{
  "Code": "RuleTypeList",
  "Data": {
    "Scopes": [
      { "Scope": "task-entry", "Validated": true, "RuleTypes": [{ "Type": "current-stage-entered" }] },
      { "Scope": "stage-completion", "Validated": false, "MarksComplete": true, "RuleTypes": [{ "Type": "required-tasks-completed" }] }
    ],
    "Unscoped": [{ "Type": "milestones-recorded" }]
  }
}

The task-exited rule type is listed under the task-entry and stage-exit scopes only. validate reports it on a stage entry condition.

If the installed case tool is incomplete, the command fails with exit code 1 and Instructions to run uip tools update maestro.

For the conditions themselves, refer to task-entry-conditions and conditions.

uip maestro case splice​

Write a task's inputs, outputs, and context into a case plan from a saved result, without calling a tenant.

OptionDescription
--task-id <id>ID of the task to write into (nodes[].data.tasks[][].id). Pass this or --task-name.
--task-name <name>Display name of the task, spelled exactly as in the plan. Pass this or --task-id.
--spec <file>A case spec result saved as JSON, for a connector task. The result must include the case shape: run spec without --skip-case-shape. Writes data.context, data.inputs, data.outputs, the service type, and the connection's root bindings.
--described <file>A case tasks describe result saved as JSON, for a process, RPA, business-rule, API workflow, agent, action, function, or child-case task. Writes the task's inputs and outputs and keeps the IDs the plan already has. Use instead of --spec.
--connection-id <id>Connection the connector task runs against. Default: the connection in the spec. A value that differs from the spec is refused.
--folder-key <key>Folder key for the connection. Default: the folder in the spec. A value that differs from the spec is refused.
--out <file>Write the result to this file instead of updating the plan in place.
uip maestro case splice caseplan.json --task-id tP6mWC2aG --spec slack-send.json
uip maestro case splice caseplan.json --task-id tP6mWC2aG --spec slack-send.json

Data shape: Code: "ConnectorShapeSpliced" with --spec, or Code: "DescribedIoApplied" with --described. With --spec, Data is { Path, Summary }, where Summary holds TaskId, TaskType, ServiceType, ContextEntries, Inputs, Outputs, ConnectionBindingId, FolderBindingId, and BindingsReused.

uip maestro case spec​

Generate a normalized ConnectorTaskSpec — everything needed to construct a runnable Integration Service activity or trigger task inside a case plan. Looks up the type in the local TypeCache, lists Integration Service connections for the connector, and fetches Integration Service metadata.

Options​

LongValueRequiredDescription
--type <type>activity | triggeryesWhich TypeCache to look up.
--activity-type-id <uuid>UUIDyesStudio Web uiPathActivityTypeId. Find it via registry pull + reading the typecache-{activities,triggers}-index.json cache file, or registry get-connector.
--connection-id <id>UUIDyesConnection ID. List candidates with registry get-connection --type typecache-{activities,triggers} --activity-type-id <uuid>.
--object-name <name>stringnoOverride the TypeCache objectName. Required for entity-typed curated triggers whose TypeCache stores a placeholder (e.g. Data Service {tenantEntityName|folderEntityName}) — pick a real entity name.
--skip-case-shapeflagnoOmit caseShape (inputs[]/outputs[]/context[]) from the response — use during planning when you only need the connector contract. Mutually exclusive with --input-details.
--trigger-kind <kind>start | wait-fornoWith --type trigger: start for a case start trigger, or wait-for for a wait-for-connector task or condition rule. Defaults to wait-for. Ignored with --type activity.
--input-details <json>JSONnoPre-fill values folded into the generated caseShape. Shape differs by --type: activity accepts {bodyParameters, queryParameters, pathParameters, filter}; trigger accepts {eventParameters, queryParameters, pathParameters, filter}. Mutually exclusive with --skip-case-shape.
--solution-folder <path>pathnoSolution root that resource-picker values in --input-details, such as a Data Fabric entity, are referenced into. Defaults to the solution that contains the current folder. When a picker value is set and no solution is found, the command fails and asks for this option.

Examples​

# Curated connector activity (Send Email)
uip maestro case spec --type activity \
  --activity-type-id c7ce0a96-2091-3d94-b16f-706ebb1eb351 \
  --connection-id fc82e610-c454-4bc7-a1a5-b5aa529d1ba6
# Curated connector activity (Send Email)
uip maestro case spec --type activity \
  --activity-type-id c7ce0a96-2091-3d94-b16f-706ebb1eb351 \
  --connection-id fc82e610-c454-4bc7-a1a5-b5aa529d1ba6
# Curated connector trigger (Email Received)
uip maestro case spec --type trigger \
  --activity-type-id 7dc57f24-894c-5ae2-a902-66056fa40609 \
  --connection-id fc82e610-c454-4bc7-a1a5-b5aa529d1ba6
# Curated connector trigger (Email Received)
uip maestro case spec --type trigger \
  --activity-type-id 7dc57f24-894c-5ae2-a902-66056fa40609 \
  --connection-id fc82e610-c454-4bc7-a1a5-b5aa529d1ba6

Data shape (--output json)​

{
  "Code": "ConnectorTaskSpec",
  "Data": {
    "specVersion": 1,
    "identity": {
      "target": "activity",
      "uiPathActivityTypeId": "c7ce0a96-2091-3d94-b16f-706ebb1eb351",
      "connectorKey": "uipath-microsoft-outlook365",
      "objectName": "send-mail-v2",
      "typecacheEntry": { "displayName": "Send Email" }
    },
    "operation": { "name": "POST", "verb": "create", "httpMethod": "POST", "path": "/hubs/productivity/send-mail-v2" },
    "inputs": { "bodyFields": [{ "name": "message.toRecipients", "required": true }] }
  }
}
{
  "Code": "ConnectorTaskSpec",
  "Data": {
    "specVersion": 1,
    "identity": {
      "target": "activity",
      "uiPathActivityTypeId": "c7ce0a96-2091-3d94-b16f-706ebb1eb351",
      "connectorKey": "uipath-microsoft-outlook365",
      "objectName": "send-mail-v2",
      "typecacheEntry": { "displayName": "Send Email" }
    },
    "operation": { "name": "POST", "verb": "create", "httpMethod": "POST", "path": "/hubs/productivity/send-mail-v2" },
    "inputs": { "bodyFields": [{ "name": "message.toRecipients", "required": true }] }
  }
}

A trigger spec's operation shape differs (eventMode/event name instead of an HTTP verb/path) — see the second example above.

A key under bodyParameters in --input-details that the operation declares as a query or path parameter, and not as a body field, is refused with ErrorCode: "invalid_argument". Message names the group to put it under.

When the last registry pull of the connector index failed, spec fails with the message Connector catalog unavailable and that pull's HTTP status, ErrorCode, and Retry, before it calls Integration Service.

See also​

Was this page helpful?

Connect

Need help? Support(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated