Get queue items - QueueItemStates not working

Hello, i am trying to create a sequence to check if a queue item already exists in a queue. I have the queueitemstates property set to “New, InProgress, Successful and Retried”, but when i run the check it seems to target items that have the same reference, but the status is Deleted.

Anyone know what might be the issue?

  • Can you update UiPath.System.Activities and see if it makes a difference?
  • Can you post a screenshot of which QueueItemStatuses you have ticked?
  • Have you verified the Orchestrator folder which you are running from in Studio?
1 Like

Thanks for the reply, but i found out it wasnt a UiPath issue, it was a me issue. It was just the Queueitemstates not properly configured. Will delete the post :slight_smile:

Hi @Hakon_Kristiansen

What is your use case ?

You can prevent add duplicate Queue Item settting the Queue as “Unique Reference”.

When you try add a new queue item with the same reference, the Add Queue Item activity throw a exception with code 1016 as describe here