Unable to process Queue item in New State in a Folder

Hi,
I am facing an issue with one of the clients where we are able to process the queue item; however, the item remains in the queue folder with the status ‘New’. Additionally, we are receiving the error message: No queue items to be processed.

The Orchestrator is on-premises. Could you please suggest what we can do to fix this?

@ayush.singh

Welcome to the community

  1. Are you using get transaction item to get the queue item? Or get queue item is used?
  2. Is this occuring for all queue? And did it start recently ?
  3. Can you show some screenshots please
  4. Are you referring to correct tenant and folder? As if queue items are in new you wont get no items to process in ref unless tenant /folder or queue is wrong

Cheers

Hi @ayush.singh
Welcome to UiPath,

Check if Get Transaction Item is used correctly to fetch and lock the item for processing, as using Get Queue Items will not change the item status to InProgress.

Ensure that after processing, the item is marked as Successful or Failed using Set Transaction Status, otherwise the status will remain as -New

Happy Automation

Hi @ayush.singh

Please verify below

  1. are you referring to the right queue from studio project? Please verify in the orchestrator folder and studio project folder(on bottom status bar) that you are referring to the right folder and right queue name.
  2. how are you fetching the queue items?
  3. how does bot tell you “no items in the queue”? During get transaction item? Or using get queue items?
  4. are you using reframework? If yes, go to get transaction data state and verify properties of get transaction item activity in there. And then verify in process xaml, are you referring to same transaction item fetched using get transaction data?

Thanks, everyone, for your help.
The issue has been resolved. There is a logic in place that prevents this queue from processing unless the other queue has no transactions.

1 Like

Follow below steps and let us know where you are facing the challenge

Prerequisite: Understand the orchestrator folder where queue is created. Confirm that the status is showing as new with postpone value as blank

To segregate the issue, I would suggest you to create a new project

  1. Check the folder to which your studio is connected. Make sure that the selected folder is same as the folder where you have created the queue and transactions

  2. Use following activity

Get transaction Item. Make sure that you select the correct orchestrator folder path and the expected queue is coming in the drop down. Save the output to a variable named as OutputTransactionItem

  1. Use activity named as Set Transaction Status

Use the previously saved variable here as input and change the status as Successful

Now check the Status of the queue item - if it is changing as expected. Everything is working as expected. Compare with this code and make modification in your actual code. Note - it is better to create a dummy queue with dummy transaction items for testing the above scenario

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