"Delete Test Data Queue Items " FolderPath & QueueName?

Hello,

I need some help using the “Delete Test Data Queue Items” activity in UiPath. There are two inputs: “FolderPath” and “Test Data Queue Items”.

How should I set the Queue Name that will be affected by the delete operation?

I tried the following for the FolderPath:

  1. FolderPath = “MyFolder/MySubfolder”: This results in an error : " You are not authorized", and I’m not sure how the system identifies which Test Data Queue is impacted.
  2. FolderPath = “MyFolder/MySubfolder/MyTestDataQueueName”: This also results in an error: “Delete Test Data Queue Items: Folder does not exist or the user does not have access to the folder.”

Could anyone help me understand the correct way to set the FolderPath so that the correct Test Data Queue is targeted by the activity?

Thank you in advance for your help!

Hey @Zoul

  • FolderPath:
  • This should only represent the folder path (not including the queue name).
  • Example: “MyFolder/MySubfolder” (assuming this is the folder structure where your queue resides).
  • Queue Name:
  • In the Test Data Queue Items property, you will reference the queue name itself. This is the name of the queue whose items you want to delete.

Hi @Zoul

Use only the full folder path where the Test Data Queue resides in the FolderPath input like “Shared/TestFolder”. Do not include the queue name in the path. Then set the Test Data Queue Items input to the queue name only like “MyTestDataQueueName”. Ensure your robot role has permissions to access and delete test data items in that folder.

If you found helpful please mark as a solution. Thanks
Happy Automation with UiPath

Hi @Zoul,

You are providing the folder path the right way in your 1) approach.
You are getting “You are not authorized” error because you don’t have permissions to delete the queue items.

Please check the role that’s assigned to you by going to Tenant->Manage access-> All/Users->find your username and check what role is assigned. Refer screen shown below(marked in green box):

Then after finding the role assigned, go to Roles(marked in pink box above screenshot), find that role and view its permissions, to be able to delete, you should have permissions enabled for Delete. Enable the same and it should work for you.

Hope this helps.

Regards
Sonali