You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This module contains models that facilitate invoking processes, waiting for jobs, creating actions and waiting for HITL actions in an interrupt context.
4
+
5
+
## Models Overview
6
+
7
+
### 1. InvokeProcess
8
+
9
+
The `InvokeProcess` model is utilized to invoke a process within UiPath cloud platform. Upon completion of the invoked process, the current agent will automatically resume execution.
10
+
11
+
#### Attributes:
12
+
-**name** (str): The name of the process to invoke.
13
+
-**input_arguments** (Optional[Dict[str, Any]]): A dictionary containing the input arguments required for the invoked process.
The `WaitJob` model is used to wait for a job completion. Unlike `InvokeProcess`, which automatically creates a job, this model is intended for scenarios where
25
+
the job has already been created.
26
+
27
+
#### Attributes:
28
+
-**job** (Job): The instance of the job that the agent will wait for. This should be a valid job object that has been previously created.
The `CreateAction` model is utilized to create an escalation action within the UiPath Action Center as part of an interrupt context. The action will rely on a previously created UiPath app.
40
+
After addressing the escalation, the current agent will resume execution.
41
+
For more information on UiPath apps, refer to the [UiPath Apps User Guide](https://docs.uipath.com/apps/automation-cloud/latest/user-guide/introduction).
42
+
43
+
#### Attributes:
44
+
-**name** (Optional[str]): The name of the app.
45
+
-**key** (Optional[str]): The key of the app.
46
+
-**title** (str): The title of the action to create.
47
+
-**data** (Optional[Dict[str, Any]]): Values that the action will be populated with.
48
+
-**app_version** (Optional[int]): The version of the app (defaults to 1).
49
+
-**assignee** (Optional[str]): The username or email of the person assigned to handle the escalation.
"""Interrupt model to create an escalation action in the UiPath Action Center.
47
+
48
+
This model is utilized to create an action within the UiPath Action Center as part of an interrupt context.
49
+
The action schema must be defined as part of a UiPath app, which must be created prior to using this model.
50
+
The app can be identified either by its name or by its key. When the Human-in-the-loop process is addressed,
51
+
the agent will resume execution.
52
+
53
+
For more information on UiPath apps, refer to the [UiPath Apps User Guide](https://docs.uipath.com/apps/automation-cloud/latest/user-guide/introduction).
54
+
55
+
Attributes:
56
+
name (Optional[str]): The name of the action.
57
+
key (Optional[str]): The key of the action.
58
+
title (str): The title of the action to create.
59
+
data (Optional[Dict[str, Any]]): Values that the action will be populated with.
60
+
app_version (Optional[int]): The version of the application (default is 1).
61
+
assignee (Optional[str]): The username or email of the person assigned to handle the escalation.
0 commit comments