action-center
2023.4
false
- Release notes
- Before you begin
- Getting started
- Activities
- Designing long-running workflows
- Start Job And Get Reference
- Wait For Job And Resume
- Add Queue Item And Get Reference
- Wait For Queue Item And Resume
- Create Form Task
- Wait For Form Task And Resume
- Resume After Delay
- Assign Tasks
- Create External Task
- Wait For External Task And Resume
- Complete Task
- Forward Task
- Get Form Tasks
- Get Task Data
- Add Task Comment
- Update Task Labels
- Actions
- Processes
- Notifications
Wait For Queue Item And Resume
Action Center
Last updated Oct 17, 2024
Wait For Queue Item And Resume
UiPath.Persistence.Activities.Queue.WaitForQueueItemAndResume
Suspends the execution of the current workflow until a specified transaction reaches a completion state (Successful, Failed,
Abandoned, Deleted). To designate a transaction, a
QueueItemData
object obtained from the Add Queue Item and Get Reference activity must be supplied. When the transaction is completed, the execution of the workflow is resumed.
Designer panel
- Queue Item Object (Input) - The transaction you want to suspend, stored in a
QueueItemData
variable. This variable can be obtained from a Add Queue Item and Get Reference activity, This field supportsQueueItemData
variables only. - Queue Item Object (Output) - The updated Queue Item object obtained from Orchestrator after the execution of this activity.
Common
- ContinueOnError - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.
Note: If this activity is included in Try Catch and the value of the ContinueOnError property is True, no error is caught when the project is executed.
- DisplayName - The display name of the activity.
- StatusMessage - The message specified in this property field is displayed in orchestrator alongside the workflow that is suspended by this
activity. This field supports strings and
String
variables only. - TimeoutMS - Specifies the amount of time (in milliseconds) to wait for the activity to run before an error is thrown. The default value is 30000 milliseconds (30 seconds).
Input
- Queue Item Object (Input) - The transaction you want to suspend, stored in a
QueueItemData
variable. This variable can be obtained from a Add Queue Item and Get Reference activity, This field supportsQueueItemData
variables only.
Misc
- Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Output
- Queue Item Object (Output) - The updated Queue Item object obtained from Orchestrator after the execution of this activity.
- Queue Item Object (Input) - The transaction you want to suspend, stored in a
QueueItemData
variable. This variable can be obtained from a Add Queue Item and Get Reference activity, This field supportsQueueItemData
variables only. - Queue Item Object (Output) - The updated Queue Item object obtained from Orchestrator after the execution of this activity.
Advanced options
Common
- ContinueOnError - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.
Note: If this activity is included in Try Catch and the value of the ContinueOnError property is True, no error is caught when the project is executed.
- DisplayName - The display name of the activity.
- StatusMessage - The message specified in this property field is displayed in Orchestrator alongside the workflow that is suspended by this
activity. This field supports strings and
String
variables only. - TimeoutMS - Specifies the amount of time (in milliseconds) to wait for the activity to run before an error is thrown. The default value is 30000 milliseconds (30 seconds).* If the Wait For Queue Item and Resume activity is included in Try Catch and the value of the ContinueOnError property is True, no error is caught when the project is executed.