I've a problem with the Wait for Event function when it waits on a partion of a list reaching a certain value. The list is used as a "stock list" and when the stock is empty, so no more entries on the partition, the token should be released to refill that partition. However I can't get the function to work this way. See attached example on how I designed it.
The funny thing is that I designed this months ago in my project and to my memory it worked. However it doesn't anymore, and I can't remember changing the logic.
Hopefully someone can help me with this.