question

chao.g avatar image
1 Like"
chao.g asked Jordan Johnson commented

List Entry Count by partition ID

Is there a way or command to quickly count the # of entries in a list under a certain partition ID? The list is defined in process flow, track the content of 4 racks, each rack can have 5 different type of items.

FlexSim 17.0.0
process flow lists
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 Jordan Johnson commented

If you're using the internal list of a List Shared Asset in Process Flow, then the biggest issue becomes trying to get the path as to where the actual list resides. Let's assume that your List Shared Asset is pointing at a Global List in the Toolbox. To get the number of entries in a partition looks like this:

  1. getstat(globallist("List1"), "PartitionContent", STAT_CURRENT, paritionID)
· 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.