UiPath Documentation
activities
latest
false
ワークフローのアクティビティ
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

キュー アイテムを削除

Deletes items in any status except Deleted from a specified Orchestrator queue.

Enables you to delete items 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.

The method deletes items in any queue item status except Deleted. It skips, without an error, items that are already deleted and items that changed in Orchestrator after you retrieved them. On Orchestrator 2023.10 and earlier, the method does not delete In Progress items and skips them without an error.

定義​

名前空間: UiPath.Activities.System.API

アセンブリ: UiPath.System.Activities.Api (UiPath のUiPath.System.Activities.Api.dll)

オーバー ロード​

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

DeleteQueueItems(IEnumerable<QueueItem>)​

Enables you to delete items 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 can be in any status except Deleted and should be retrieved via a Get Queue Items method first.

DeleteQueueItems(IEnumerable<QueueItem>, String) (廃止)​

Enables you to delete items from a specified Orchestrator queue, at a specified folder path.

このオーバーロードは廃止されました。フォルダーはキュー アイテムから取得され、キュー アイテムはすべて同じフォルダーに属している必要があるため、[ folderPath ] パラメーターは無視されます。置換は DeleteQueueItems(IEnumerable<QueueItem>)です。

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 can be in any status except Deleted and should be retrieved via a Get Queue Items method first.

folderPath 文字列 : 指定されたキュー アイテムがある フォルダーのパス で、プロセスが実行されているフォルダーと異なる場合に使用されます。このフィールドは文字列値のみをサポートし、サブフォルダーを示す区切り文字として / が使用されます。たとえば、 "Finance/Accounts Payable"です。

DeleteQueueItems(IEnumerable<QueueItem>, String, Int32) (廃止)​

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

このオーバーロードは廃止されました。フォルダーはキュー アイテムから取得され、キュー アイテムはすべて同じフォルダーに属している必要があるため、[ folderPath ] パラメーターは無視されます。置換は DeleteQueueItems(IEnumerable<QueueItem>, Int32)です。

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 can be in any status except Deleted and should be retrieved via a Get Queue Items method first.

folderPath 文字列 : 指定されたキュー アイテムがある フォルダーのパス で、プロセスが実行されているフォルダーと異なる場合に使用されます。このフィールドは文字列値のみをサポートし、サブフォルダーを示す区切り文字として / が使用されます。たとえば、 "Finance/Accounts Payable"です。

timeoutMS Int32 : アクティビティの実行が完了するまで待機する時間をミリ秒単位で指定します。指定した時間が経過しても実行が完了しない場合には例外をスローします。既定値は 30000 ミリ秒 (30 秒) です。

DeleteQueueItems(IEnumerable<QueueItem>, Int32)​

Enables you to delete items from a specified Orchestrator queue, and with TimeoutMS configured.

void DeleteQueueItems(
    IEnumerable<QueueItem> queueItems,
    int timeoutMS
)
void DeleteQueueItems(
    IEnumerable<QueueItem> queueItems,
    int timeoutMS
)

queueItems IEnumerable QueueItem : The list of items that you want to mark as deleted in Orchestrator. They can be in any status except Deleted and should be retrieved via a Get Queue Items method first. All items must belong to the same folder.

timeoutMS Int32 : アクティビティの実行が完了するまで待機する時間をミリ秒単位で指定します。指定した時間が経過しても実行が完了しない場合には例外をスローします。既定値は 30000 ミリ秒 (30 秒) です。

このページは役に立ちましたか?

接続

ヘルプ リソース サポート(opens in new window)

学習する UiPath アカデミー(opens in new window)

質問する UiPath フォーラム(opens in new window)

最新情報を取得