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.

tannerp avatar image tannerp commented ·

@Sudheer Reddy @Jordan Johnson The Keep Empty Partitions works for Item Lists when using 3D objects to push and pull, but it doesn't work in Process Flow for some reason. I've attached the model I used to test.

pullpartistions (2)_1.fsm

1 Like 1 ·
Matt Long avatar image Matt Long tannerp commented ·

The reason your Partition ID: 1 remains in the entries of your global list is because there is an active back order for that partition. The partition would disappear with no entries and no back orders in it.

0 Likes 0 ·
SudheerReddy avatar image SudheerReddy commented ·

@Jordan Johnson is that bug?

0 Likes 0 ·

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.

Matt Long avatar image Matt Long commented ·

Alternatively, you can change the List shared asset to point to a Global List, and then use the Wait for Event to listen to the On Partition Input Change on the global list rather than the List shared asset. This works.

1 Like 1 ·
SudheerReddy avatar image SudheerReddy commented ·

@Matt Long

thanks for the detailed explanation. I have one follow up query

In below image Keep Empty Partitions checkbox is there. If Empty partitions are not visible in the list then what is the use of this feature as highlighted in below image.

0 Likes 0 ·
1592548388512.png (39.5 KiB)
Matt Long avatar image Matt Long SudheerReddy commented ·

If you look at the tooltip, or hit the help button down at the bottom, it explains what that is used for. From the User Manual:

Keep Empty Partitions

If checked, the list will never remove partitions, even if they are empty. This is useful if you want to keep statistics on a specific partition. However, depending on how many unique partitions are created on the list, this can use significant amounts of memory.

0 Likes 0 ·
SudheerReddy avatar image SudheerReddy Matt Long commented ·

@Matt Long

Yes I checked this in my model but still it is removing the empty partitions. For this particular reason only I asked this question.

But in your answer you specified as

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.

As you can see in below image I checked the Keep Empty Partition list but still the partition id is missing

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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