feat(tasks): add QuickForm task creation SDK + agent.json model#1683
Draft
chetanyauipath wants to merge 3 commits into
Draft
feat(tasks): add QuickForm task creation SDK + agent.json model#1683chetanyauipath wants to merge 3 commits into
chetanyauipath wants to merge 3 commits into
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
TasksService.create_quickform_async/create_quickform— POSTs to/orchestrator_/tasks/GenericTasks/CreateTaskwithtype=6 (QuickFormTask),taskSchemaKey, inlineschema, plus standarddata/priority/labels/actionableMessageMetaData/taskSource. Mirrorscreate_asyncincluding theOData.AssignTasksfollow-up call.AgentEscalationChannel— new optionalschema_id/schemafields for QF channels inagent.json.AgentQuickFormEscalationResourceConfig, new resource config forescalationType=2, mirroring the existing IXP pattern. Wired into theEscalationResourceConfigdiscriminated union viaTag(2).