Hello,
I am working on a model with ProcessFlow where I need to randomly distribute flowitems to different queues using a Task Executer.
I added the queues to a Global List. For randomly distributing the flowitems I added a "Pull from List" activity with the query "ORDER BY Random ASC". The pulled queue is then assigned to the token.destination-label.
Additionally I would like to keep the queues on the list, as they should be able to be pulled several times (the queue should hold multiple flowitems).
With the checkbox "Leave entries on List" enabled, there is no random pulling. The first queue on the list is always pulled. Disabling the checkbox enables the random pulling, however only five flowitems are transported, because the queues are removed from the list.
How can I randomly pull entries from a list, while having "Leave entries on List" enabled?
I have attached a simplified model that recreates the issue:
Any help would be greatly appreciated.