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?
Are you using get transaction item to get the queue item? Or get queue item is used?
Is this occuring for all queue? And did it start recently ?
Can you show some screenshots please
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
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
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.
how are you fetching the queue items?
how does bot tell you “no items in the queue”? During get transaction item? Or using get queue items?
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.
To segregate the issue, I would suggest you to create a new project
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
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
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