We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f77bffa commit f0b87dcCopy full SHA for f0b87dc
src/uipath/runtime/result.py
@@ -24,6 +24,7 @@ class UiPathRuntimeResult(UiPathRuntimeEvent):
24
output: dict[str, Any] | BaseModel | str | None = None
25
status: UiPathRuntimeStatus = UiPathRuntimeStatus.SUCCESSFUL
26
trigger: UiPathResumeTrigger | None = None
27
+ triggers: list[UiPathResumeTrigger] | None = None
28
error: UiPathErrorContract | None = None
29
30
event_type: UiPathRuntimeEventType = Field(
@@ -50,6 +51,9 @@ def to_dict(self) -> dict[str, Any]:
50
51
if self.trigger:
52
result["resume"] = self.trigger.model_dump(by_alias=True)
53
54
+ if self.triggers:
55
+ result["triggers"] = self.triggers.model_dump(by_alias=True)
56
+
57
if self.error:
58
result["error"] = self.error.model_dump()
59
0 commit comments