Skip to content

feat(tasks): add QuickForm task creation SDK + agent.json model#1683

Draft
chetanyauipath wants to merge 3 commits into
mainfrom
feat/quickform-task-creation
Draft

feat(tasks): add QuickForm task creation SDK + agent.json model#1683
chetanyauipath wants to merge 3 commits into
mainfrom
feat/quickform-task-creation

Conversation

@chetanyauipath
Copy link
Copy Markdown

What

  • TasksService.create_quickform_async / create_quickform — POSTs to /orchestrator_/tasks/GenericTasks/CreateTask with type=6 (QuickFormTask), taskSchemaKey, inline schema, plus standard data / priority / labels / actionableMessageMetaData / taskSource. Mirrors create_async including the OData.AssignTasks follow-up call.
  • AgentEscalationChannel — new optional schema_id / schema fields for QF channels in agent.json.
  • AgentQuickFormEscalationResourceConfig, new resource config for escalationType=2, mirroring the existing IXP pattern. Wired into the EscalationResourceConfig discriminated union via Tag(2).

chetanyauipath and others added 3 commits May 26, 2026 22:14
…orm HITL

Adds SDK support for the new TaskType.QuickFormTask (=6) path that targets
Orchestrator's GenericTasks/CreateTask endpoint. QuickForm is the schema-first
HITL flow where the form is rendered by FormLib in Action Center from a
.hitl.json schema persisted in the TaskSchemas table; tasks reference it via
taskSchemaKey.

Mirrors the existing create_async path but:
- POSTs to /orchestrator_/tasks/GenericTasks/CreateTask instead of AppTasks
- Sets type=6 (QuickFormTask) and taskSchemaKey (Guid)
- Skips the AppTask app-key fetch and action-schema-derived fieldSet/actionSet
- Supports optional inline schema body + creatorJobKey for the publish-time
  race window (when AC has not yet persisted the schema)
- Reuses the same OData.AssignTasks flow for recipient assignment

Wire contract: UiPath/Orchestrator TaskCreateRequest (Core/Application/Dto/Tasks).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…d inline

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- AgentEscalationChannel: new optional schema_id and schema fields, carried
  through agent.json for QuickForm escalations.
- AgentQuickFormEscalationResourceConfig: new resource config for
  escalationType=2, mirroring the IXP pattern.
- EscalationResourceConfig discriminated union extended with Tag(2).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@github-actions github-actions Bot added test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-integrations labels May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:uipath-integrations test:uipath-langchain Triggers tests in the uipath-langchain-python repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant