question

Aljoša Jamnik avatar image
0 Likes"
Aljoša Jamnik asked Aljoša Jamnik commented

Dashboard - Queue Max Content displayed in the Table Chart

Greetings!

I would like to produce a Table Chart that shows me in a column the Max Content of a Queue so that I can see if the maximum limit of carts has been exceeded in a given queue.

For example, I have a Queue "Prazni vozički" and its Max content is 32. What should I write in the Content Collector - Value so that the Content Table displays 32 (and as well for the rest of the queues)?

Please see the attached picture.

Thank you and best regards!

Aljošaqueue-max-content-displayed-in-the-table-chart.png


FlexSim 23.1.2
queuedasbhoardcontent table
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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Aljoša Jamnik commented

The maximum content can be read in two ways; as a variable and as a property.

.getVariable() looks for a node in the variables attribute node of the object with the given name and returns its value.

1687936837983.png

.getProperty() instead takes the names as they appear in the property table as parameters and returns their value.

1687936884255.png

For anything that is available as a property, the second way should be used.

  1. object.getVariable("maxcontent");
  2.  
  3. object.getProperty("MaxContent");

1687936837983.png (4.0 KiB)
1687936884255.png (14.7 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.