About delete test data queue items

Hi

I want to use delete test data queue items so that i can clean the test queue item before next day execution now i have create a solution that is working on local but when that executes on Orchestrator it not working this what i did

to get details of queue items is used
Get test data queue items and output from that i used in delete test data queue items activity as sequence this working on local machine but not on Orchestrator

can someone help on this

@manoj_verma,

Can you explain more about what you mean by not working - any error or what’s the behaviour?

@ashokkarale no there is no error and even log are are showing up but queue item are not getting deleted not sure why but same thing on local no issues

@manoj_verma

Can you show what logic you are using to delete the queue items. Ideally you should be using Get Queue Items activity to get the New state or whatever state queue items you are looking for. Once you have the queue items use Delete Queue Items activity to delete those queue items.

@ashokkarale yes you are correct but i talking about the testing activities here

Hi @manoj_verma,

Are you saying both Get Test Data Queue Items and Delete Test Data Queue Items do not work when you run the test cases inside Orchestrator, or is it only one of them that does not work?

  • If both are not working when you execute inside the orchestrator, then check if you have the Queue already created inside the folder you are trying to run the test cases and there are items present in it.
  • Make sure the correct orchestrator folder is provided inside the UiPath activities in your code where you are trying to execute.
  • If both of the above points doesn’t work, please confirm if the test cases are getting executed but only failing to get and delete the items. If that is the case, please share the code so that we can troubleshoot the issue.

Thanks!

@Prashanth_D

test cases are working as expected i am able to upload data in queue and fetch data from that
but as i said now I created a sequence where i firstly read the test queue items and then output of that activity i have used as input of delete test queue items so that queue gets cleaned up

  • on local its working
  • on Orchestratror it not however i can see queue have data exact flow is working but item are not getting deleted

Hi @manoj_verma

Could you please check the account you are using to run this workflow have access to delete test data queue items?

To check go to tenant → manage access → users(identify the role assigned to the account) → then goto roles and click on edit and check if test data queue item related role permissions (view, edit, create, delete) are checked.

Regards
Sonali

1 Like

do you know under which one this comes Tags ? @sonaliaggarwal47

@manoj_verma

This looks typically different

If they are not deleted you should be seeing an error

Just to check try to run from assistant on same machine and use as many log messages as possible to understand the flow

Cheers

1 Like