question

Jouky D avatar image
0 Likes"
Jouky D asked Jouky D commented

How to read a label value of a list?

Hello everyone,

I need to read the value of one of the labels in a Process Flow List value.

Imagine I push the ControlPoint31 putting a Priority of 6 on time = 1. But, on time = 2 I change the Priority of that ControlPoint31 to 999. When I pull the value of the list with Priority 6 and I need to see its priority, I try ControlPoint31.Priority, however it returns 999 and not 6. Is there a way to read the label from the list?
doubt-flexsimlist.png

Thank you!

FlexSim 23.2.1
listslabelpull
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 Jouky D commented

You can use the SELECT clause to write the field value to a label on the puller.

SELECT Priority WHERE ... 
· 2
5 |100000

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

Jouky D avatar image Jouky D commented ·

But what if you pull different priorities, which one will put into the token.Priority?

0 Likes 0 ·
Jouky D avatar image Jouky D Jouky D commented ·
Ok, I see. It saves it into an Array of the token. Perfect! Thank you @Felix Möhlmann !
0 Likes 0 ·