Update Queue status

Hello. When trying to update the queue in cases of BE or other issues , I get this error : Process has encountered the following system error:
Update Queue Item request failed with status 403 and message {“message”:“You are not authorized!”,“errorCode”:0,“result”:null,“targetUrl”:null,“success”:false,“error”:{“code”:0,“message”:“You are not authorized!”,“details”:“You are not allowed to perform this operation.”,“validationErrors”:null},“unAuthorizedRequest”:true,“__abp”:true}

The issue seems to be related specifically to transaction progress updates, because the status of the queue can be updated, only the content of the queue can not.

If you’re using Modern Folders (most common in Automation Cloud)

You need to:

  1. Go to Admin > Manage Access.
  2. Find the Robot role (like “Automation Developer – Robot” or a custom role).
  3. Click Edit Role.
  4. Under Queues, ensure the following permissions are enabled:
  • View
  • Edit
  • Set Transaction Status
  • Update
  • Read
  1. Under Transactions, also check:
  • View
  • Edit
  • Set Progress

Special note: Checkpoint updates specifically require Edit and Update on queue items.

:small_blue_diamond: If you’re using Classic Folders

Go to:

  • Orchestrator > Users > Roles,
  • Select the role assigned to your robot/user,
  • Enable these under Queues:
    • View
    • Edit
    • Set Transaction Status
    • Transactions > Edit

After checking trigger the process and test again

Cheers!!

@Bianca_Ripas

Welcome to the community

Are you trying to update the queue specific content via api? if yes then ideally you can when the item is not in progress and you have enough permissions

correct : Not in progress

cheers

Yes, the item is in in progress ..the permissions are the same as in other folders

@Bianca_Ripas

What I meant was not in progress..I edited above as well

cheers

cheers

I believe you cannot update the specific content of a queue item that is in progress.

Hi @Bianca_Ripas

When the item is in progress, its content can not be updated, only its status can be updated.

Could you please help us understand what are you trying to update in the queue item while it’s in progress? May be then we can advise an alternate solution if any?

Hi @Bianca_Ripas

Few workarounds that you can try to update your queue item content.

  1. temporarily hold the change in your transaction item variable, and then as soon as the status has been changed to success/failed, use update queue item with the updated specific content from your transaction item variable to reflect the changes.

  2. after the status is changed to success/failed, use get queue item to retrieve this item, and use update queue item to update the specific content.

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