question

SudheerReddy avatar image
0 Likes"
SudheerReddy asked Matt Long commented

Doubt on pull from list partition

Below image shows the list with partition before pulling.

After pulling from Partition Id 1. The entire PartitionID is vanished. Once the Partition ID is created even it is empty I would like to keep in the list. Is there any way to do that. Wait for Event which triggers onPartitionInputChange. But since the partionID is going it is not triggering.I am attaching the model for reference.

PullPartistions.fsm

I tried using Keep Empty Partitions but still the partitions are going from the list.


FlexSim 20.1.2
flexsim 20.1.2pull from list
partition1.png (15.9 KiB)
partition2.png (10.9 KiB)
trigger.png (19.7 KiB)
part3.png (19.2 KiB)
pullpartistions.fsm (47.6 KiB)
· 3
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

Matt Long avatar image
3 Likes"
Matt Long answered Matt Long commented

The Pull from List is working correctly. The partition is being saved, however, it doesn't show up in the List when there are no entries in the partition. This was a conscious decision to ensure the entries table isn't full of a bunch of empty partitions. The partition node is moved into a deadPartitions node so that it can retain all of its statistics. This is really the only reason to check the Keep Empty Partitions. It doesn't affect anything else.

The issue that's occurring is that there seems to be a bug in the Wait for Event. When it tries to add a listener to partition 1, it actually gets partition 0. Hence why the listener is never fired. I've added this to the dev list so we can get it fixed. As for a workaround until the fix is released, you can listen to the On Push event and set the Partition ID value to 1 with an Operation of match value. This will have the same effect.


1592536729576.png (9.4 KiB)
· 4
5 |100000

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