Delete Unassigned Tasks from Action Center via Orchestrator API

Hi,

I’m looking to delete unassigned tasks from the Action Center using the UiPath Orchestrator API. Can anyone provide guidance or sample code on how to achieve this?

Specifically, I want to:

  1. Retrieve unassigned tasks from the Action Center
  2. Delete these tasks using the Orchestrator API

Any help or pointers would be greatly appreciated.

Thanks!

@sathvik.sk,

Use this endpoint to get all the Unassigned Tasks.

/odata/Tasks

Filter will be: status eq Unassigned

Deserialize the json response and get all the tasks Id’s.

Use this endpoint to delete the tasks:

/odata/Tasks/UiPath.Server.Configuration.OData.DeleteTasks

Pass the Id’s of the tasks to delete.

@ashokkarale Thank you.! It’s working for me…

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.