Skip to content

Add support for multiple resume triggers #57

Closed

Description

@cristipufu

Add support for multiple resume triggers (interrupts) with parallel branching:

class UiPathRuntimeResult(UiPathRuntimeEvent):
    """Result of an execution with status and optional error information."""

    output: dict[str, Any] | BaseModel | str | None = None
    status: UiPathRuntimeStatus = UiPathRuntimeStatus.SUCCESSFUL
    trigger: UiPathResumeTrigger | None = None
+   triggers: list[UiPathResumeTrigger] | None = None
    error: UiPathErrorContract | None = None

    event_type: UiPathRuntimeEventType = Field(
        default=UiPathRuntimeEventType.RUNTIME_RESULT, frozen=True
    )

+        if self.triggers:
+           result["resumeTriggers"] = self.triggers.model_dump(by_alias=True)

Activity

  1. added this to the 0.3.0 milestone on Dec 17, 2025
  2. GabrielVasilescu04 commented on Dec 18, 2025

    @GabrielVasilescu04
    Contributor

    Covered by this PR: #55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions