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.

@github-actions github-actions Bot added test:uipath-langchain Triggers tests in the uipath-langchain-python repository test:uipath-integrations labels May 20, 2026
@kunaluipath kunaluipath force-pushed the feat/custom-assignments branch from 3b6310b to e7fe287 Compare June 2, 2026 00:46
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

🚨 Heads up: uipath-langchain cross-tests are FAILING 🚨

Your changes may break the uipath-langchain-python integration.

⚠️ These checks are NOT enforced by branch protection rules. Please review the failures before merging.

🔍 Inspect the failed run →

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>
@kunaluipath kunaluipath force-pushed the feat/custom-assignments branch from e7fe287 to c43467d Compare June 2, 2026 02:25
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

🚨 Heads up: uipath-integrations cross-tests are FAILING 🚨

Your changes may break one or more integrations in uipath-integrations-python:

  • uipath-openai-agents
  • uipath-google-adk
  • uipath-agent-framework
  • uipath-llamaindex
  • uipath-pydantic-ai

⚠️ These checks are NOT enforced by branch protection rules. Please review the failures before merging.

🔍 Inspect the failed run →

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 2, 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