Activities
latest
false
Banner background image
Workflow Activities
Last updated Apr 22, 2024

DeleteQueueItems

Enables you to delete items with the New state from a specified Orchestrator queue. Please note that in order to execute this method in Studio, the Robot has to be connected to Orchestrator and the Robot role needs Edit, Create, and Delete permissions on queues and Delete permissions on transactions. When this method is run, it uses the same authentication context as the Robot which executes it, inheriting its permissions.

Definition

Namespace: UiPath.Activities.System.API

Assembly: UiPath.System.Activities.Api (in UiPath.System.Activities.Api.dll)

Overloads

  
DeleteQueueItems(IEnumerable<QueueItem>)Enables you to delete items with the New state from a specified Orchestrator queue.
DeleteQueueItems(IEnumerable<QueueItem>, String)Enables you to delete items with the New state from a specified Orchestrator queue, at a specified folder path.
DeleteQueueItems(IEnumerable<QueueItem>, String, Int32)Enables you to delete items with the New state from a specified Orchestrator queue, at a specified folder path, and with TimeoutMS configured.

DeleteQueueItems(IEnumerable<QueueItem>)

Enables you to delete items with the New state from a specified Orchestrator queue.

void DeleteQueueItems(
	IEnumerable<QueueItem> queueItems
)void DeleteQueueItems(
	IEnumerable<QueueItem> queueItems
)
queueItems IEnumerable QueueItem
The list of items that you want to mark as deleted in Orchestrator. They must be in the 'New' state and should be retrieved via a Get Queue Items method first.

DeleteQueueItems(IEnumerable<QueueItem>, String)

Enables you to delete items with the New state from a specified Orchestrator queue, at a specified folder path.

void DeleteQueueItems(
	IEnumerable<QueueItem> queueItems,
	string folderPath
)void DeleteQueueItems(
	IEnumerable<QueueItem> queueItems,
	string folderPath
)
queueItems IEnumerable QueueItem
The list of items that you want to mark as deleted in Orchestrator. They must be in the 'New' state and should be retrieved via a Get Queue Items method first.
folderPath String
The path of the folder where the specified QueueItems are located, if different from the folder where the process is running. This supports only string values, with / as the separator to indicate subfolders. For example "Finance/Accounts Payable".

DeleteQueueItems(IEnumerable<QueueItem>, String, Int32)

Enables you to delete items with the New state from a specified Orchestrator queue, at a specified folder path, and with TimeoutMS configured.

void DeleteQueueItems(
	IEnumerable<QueueItem> queueItems,
	string folderPath,
	int timeoutMS
)void DeleteQueueItems(
	IEnumerable<QueueItem> queueItems,
	string folderPath,
	int timeoutMS
)
queueItems IEnumerable QueueItem
The list of items that you want to mark as deleted in Orchestrator. They must be in the 'New' state and should be retrieved via a Get Queue Items method first.
folderPath String
The path of the folder where the specified QueueItems are located, if different from the folder where the process is running. This supports only string values, with / as the separator to indicate subfolders. For example "Finance/Accounts Payable".
timeoutMS Int32
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).

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.