question

Zach B3 avatar image
2 Likes"
Zach B3 asked Matthew Gillespie edited

Item does not Pull from List when Leave Entries on List is On

Hello, whenever I push an item to a list, and I pull that item from a list with the option 'Leave Entries on List' set to On, the token passes through the Pull From List process block but it gets stuck at the Push to List block. I think it is because the Push to List process block only lets tokens pass through if the entry is taken off the list. I need entries to stay on the list when I pull them from the list, but I want the token to still progress through the Push to List. Is there a setting or a line of code to accomplish this?

FlexSim 20.0.0
pull from listpush to listleave entries on list
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

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered Matthew Gillespie edited

You should set a Max Wait Timer of no time on the Push to List activity and then release the token out connector 1 in the trigger. This will make the token push something on the list and immediately move on.

Or do you want the token to wait there until the item is pulled by something else? In that case you'd need to have the pulling token call the release(1) method on the pushing token.

5 |100000

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