Hi Sanaa,
What 'Get Next Item' action essentially does is to get the next 'Pending' state item and lock that item which it gets as per the FIFO algorithm, or based on priority or on the filters that you set in it's input arguments. Once you have locked the item, using 'Get Next Item' wont work as it only fetches 'Pending' state item. So to answer your question, that item is not deleted or is gone from your queue, only the status has changed from 'Pending' to some other state because of which 'Get Next Item' can't get that item from the queue.
Still you want to get any item which is locked let say going forward some time, then the approach would be to use 'Get Locked Items' action which will return the collection of the item ID's all such items in the queue which are locked and then you can loop through the collection or get any specific Item ID from that collection and use it as an input for 'Get Item Data' action which will return you the data contained within that work queue item.
------------------------------
----------------------------------
Hope it helps you and if it resolves you query please mark it as the best answer so that others having the same problem can track the answer easily
Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,
Wonderbotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website:
https://devneet.github.io/Email: devneetmohanty07@gmail.com
----------------------------------
------------------------------
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.