Not able to delete queue items with "New" status

Trying to delete queue items in one process. When running in Studio it works fine, but when running the same process in Orchestrator the process returns “You are not authorized. Error code: 0”. The users are running with the same Role.

Orchestrator 2022.10.0
Studio 2022.10.3

@RayJay

Is the wueue and bot on same folder?

Is the bot trying to delete is connected to the same folder?

Or did you provide the folder path int he activity?

Cheers

Only one folder “Default” exists in this solution. Process is created with the new Windows framework. We have tried both with and without the “Default” in Orchestrator Folder Path and both is giving the same message. Only when running in Orchestrator.

Debugging it in studio with the same role is working.
I have also tested with another process that is attended (old Legacy framework), there it is working.

Anyone having the same issue?

Managed to solve this. There was a mixup of roles, so indeed after checking the roles one more time we managed to figure it out.

From the documentation
Enables you to delete items with the New state from a specified Orchestrator queue. Please note that in order to execute this activity 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 activity is run, it uses the same authentication context as the Robot which executes it, inheriting its permissions.

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