I have large queue items to run everyday.
And queue item is devided in groups… like… Groups A, B, C etc.
If queue item starts with Group B first then all group B item will come after …
I want to read current queue item and Next queue item value at the same time… so that when its in the system one time it do things for next as well without going out from system…
If you query is to send data first to queue then you can use priority while adding queue item as suggested in above comment by @ashokkarale
You need to use add queue item activity and set this queue column into reference property also and based on your 4 priority you can assign queue item priority by High low and normal
And when it will read data from queue using get queue item activity directly it will read items with high priority first than medium and low. This is the perk of using Queues
Actueally…
we have 1 robot which upload bulk data to queue item means it start with group A and upload 30 or 50 what data we have data from that group it upload as a Bulk to queue item… When all groups are done with upload as bulk. Another robot start to work on that data. 2 robot start with reading the 1 queue item and then logon to the system go to a perticular page means the page group A has to go to and doing the task it has to perform.
The reason I asked this question was… I know that some gorups have more then 1 to 70 queue item to perform the same task… So what I wanted or though about … if i knew before hand what my next group is and if it same than maybe i could stop leaving the page and finish with all the task related to same group.
by doing that i will save som time and as the site is slow due to extensive data… it takes each time some minuts to load the page… and then I will get read of this loading issue ans save time.