Skip to content

Comments

Add docs for CreateEscalation and WaitEscalation interrupt models#619

Open
Copilot wants to merge 2 commits intomainfrom
copilot/add-docs-for-escalation-models
Open

Add docs for CreateEscalation and WaitEscalation interrupt models#619
Copilot wants to merge 2 commits intomainfrom
copilot/add-docs-for-escalation-models

Conversation

Copy link

Copilot AI commented Feb 21, 2026

CreateEscalation and WaitEscalation were missing from the Human-In-The-Loop documentation despite being exported from uipath.platform.common and used in escalation workflows.

Changes

  • docs/human_in_the_loop.md: Added sections 3 (CreateEscalation) and 4 (WaitEscalation), renumbered InvokeProcess → 5 and WaitJob → 6
    • CreateEscalation — escalation-specific subclass of CreateTask; same attributes, documents the agent-to-human escalation workflow variant
    • WaitEscalation — escalation-specific subclass of WaitTask; takes action: Task (the already-created escalation task), app_folder_path, and app_name
# Create and wait for an escalation in one step
from uipath.platform.common import CreateEscalation
escalation_output = interrupt(CreateEscalation(
    app_name="AppName",
    app_folder_path="MyFolderPath",
    title="Escalate Issue",
    data={"key": "value"},
    assignee="user@example.com"
))

# Wait for an already-created escalation task
from uipath.platform.common import WaitEscalation
escalation_output = interrupt(WaitEscalation(
    action=my_task_instance,
    app_folder_path="MyFolderPath"
))
Original prompt

This section details on the original issue you should resolve

<issue_title>Add docs for Create\WaitEscalation interrupt models</issue_title>
<issue_description></issue_description>

<agent_instructions>update the documentation in the docs folder with these new additions (follow the existing patterns) double check</agent_instructions>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: cristipufu <3955285+cristipufu@users.noreply.github.com>
Copilot AI changed the title [WIP] Add documentation for Create and WaitEscalation interrupt models Add docs for CreateEscalation and WaitEscalation interrupt models Feb 21, 2026
Copilot AI requested a review from cristipufu February 21, 2026 12:30
@cristipufu cristipufu marked this pull request as ready for review February 21, 2026 12:31
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.

Add docs for Create\WaitEscalation interrupt models

2 participants