Skip to content

feat: add ArgumentEmail and ArgumentGroupName escalation recipient types#1521

Open
dushyant-uipath wants to merge 1 commit intomainfrom
feat/escalation-argument-assignee
Open

feat: add ArgumentEmail and ArgumentGroupName escalation recipient types#1521
dushyant-uipath wants to merge 1 commit intomainfrom
feat/escalation-argument-assignee

Conversation

@dushyant-uipath
Copy link

Summary

Adds two new recipient types to the escalation data model to support argument-driven assignees — where the assignee is resolved from a named input argument at runtime rather than being fixed at design time.

Type value Name Field Resolves to
7 ArgumentEmail argument_name: str Email recipient
8 ArgumentGroupName argument_name: str Group-name recipient

Both extend BaseEscalationRecipient and are included in the AgentEscalationRecipient discriminated union.

Changed files

File Change
src/uipath/agent/models/agent.py New enum values, normalization map entries (7, 8), two new recipient classes, union updated

Related

Test plan

  • Deserialize a recipient payload { "type": 7, "argumentName": "assigneeEmail" } — verify it produces ArgumentEmailRecipient(argument_name="assigneeEmail")
  • Same for type 8 → ArgumentGroupNameRecipient
  • Verify existing recipient types (1-6) are unaffected

🤖 Generated with Claude Code

Adds two new recipient types to support argument-driven assignees in
escalation channels. The assignee email or group name is resolved from
a named input argument at runtime, rather than being fixed at design time.

- ArgumentEmail (type=7): resolves to an email recipient
- ArgumentGroupName (type=8): resolves to a group-name recipient

Both carry argumentName (snake_case: argument_name) which is looked up
in the execution input at runtime by the escalation tool layer.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant