question

Steven Hamoen avatar image
1 Like"
Steven Hamoen asked Joerg Vogel commented

I want to pull all tokens that fullfill my query

I have a list with orders and I want to pull all orders that fit my query but I don't know how many that are going to be. If I enter both a 0 in the required and requested fields it leaves the tokens on the list whether I check the "Leave Entries On List" or not.

I can of course check the max amount of entries on the list and add that as requested or have an extra subflow to pull everything from the array but both feel like extra work. So is there a solution?

(btw I checked in 17.0 but there it is not changed )

FlexSim 16.2.2
querypull from listall
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Adrian Haws avatar image
0 Likes"
Adrian Haws answered Joerg Vogel commented

This may not be any better than the solutions you mentioned, but you could also have the token loop indefinitely with a max wait timer of 0, adding what it pulls to an array. I'm not sure of a simpler way to do it.


list-query.png (20.7 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Joerg Vogel avatar image Joerg Vogel commented ·

Before the activity Enter Zone the source should be of the type Event-Triggered Source and the event is OnPush, otherwise it is infinite loop.

0 Likes 0 ·