Skip to content

feat(agent): add tool-output and V2 escalation recipient types [ACTN-10480]#1667

Open
kunaluipath wants to merge 1 commit into
mainfrom
feat/custom-assignments
Open

feat(agent): add tool-output and V2 escalation recipient types [ACTN-10480]#1667
kunaluipath wants to merge 1 commit into
mainfrom
feat/custom-assignments

Conversation

@kunaluipath
Copy link
Copy Markdown

Adds the agent + platform models needed for the V2 HITL escalation recipient flow consumed by the langchain runtime.

uipath/agent/models:

  • New literal recipient classes for Workload (9), RoundRobin (10), and CustomAssignees (11) matching the storage schema v50 surface.
  • New ToolOutputRecipient class accepting types USER_ID/GROUP_ID/WORKLOAD/ ROUND_ROBIN/CUSTOM_ASSIGNEES with source="toolOutput", toolName, outputPath fields for runtime-resolved assignees.
  • ToolOutputRecipient listed first in the recipient Union so payloads carrying source match before falling through to literal variants.

uipath/platform/action_center:

  • TaskRecipientType gains Workload and RoundRobin members.
  • TaskRecipient gains an optional values list field for the multi-assignee assigneeNamesOrEmails payload.
  • _tasks_service updated to forward the new fields when present.

Backwards-compatible: existing payloads without source/values parse and serialize identically.

Adds the agent + platform models needed for the V2 HITL escalation
recipient flow consumed by the langchain runtime.

uipath/agent/models:
- New literal recipient classes for Workload (9), RoundRobin (10), and
  CustomAssignees (11) matching the storage schema v50 surface.
- New ToolOutputRecipient class accepting types USER_ID/GROUP_ID/WORKLOAD/
  ROUND_ROBIN/CUSTOM_ASSIGNEES with source="toolOutput", toolName,
  outputPath fields for runtime-resolved assignees.
- ToolOutputRecipient listed first in the recipient Union so payloads
  carrying `source` match before falling through to literal variants.

uipath/platform/action_center:
- TaskRecipientType gains Workload and RoundRobin members.
- TaskRecipient gains an optional `values` list field for the
  multi-assignee assigneeNamesOrEmails payload.
- _tasks_service updated to forward the new fields when present.

Backwards-compatible: existing payloads without source/values parse and
serialize identically.

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 20, 2026
@sonarqubecloud
Copy link
Copy Markdown

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