WorkQueue - GetNextItem looping for ever

dalmar

New Member
HI all,

i am new to BluePrism. I create a simple workflow that gets 5 rows of items from Excel then put it in a Work Queue.

I then created a business object that loops the work queue items (Get Next Item) and then do something with that data (enter it in another basic system)

However its seems its keeps on looping.

Any ideas?
 

Sukesh Kumaru

Active Member
So you have to end that process of Getting the Next item,
perform this by Got Item? Decision stage i.e check Item ID (DataItem) is null.
If it is null end this process, if it has value it continues to fetch all the queue items.

Good Luck.
 

dalmar

New Member
So you have to end that process of Getting the Next item,
perform this by Got Item? Decision stage i.e check Item ID (DataItem) is null.
If it is null end this process, if it has value it continues to fetch all the queue items.

Good Luck.
so what do you mean end the process??

i am looping through each item and checking if its null and making it as complete
 

imstefano

New Member
You can check, after getting the queue item, if the Item ID is null, and in that case process do go to End Stage.
Also check if some of the Items from the previous queues are still inside the Queue (you can check in Control Room), that could lead to a higher number of Items than the 5 expected.
 

Attachments

  • Flow Queue.png
    5 KB · Views: 147
  • Check Item.png
    13.4 KB · Views: 136
Top