How to read label in list?

How to read label in list?

Briankuo
Not applicable
66 Views
2 Replies
Message 1 of 3

How to read label in list?

Briankuo
Not applicable

[ FlexSim 22.0.16 ]

I have a label named "EnterTime" in my flowitem. I would like to use it to calculate age in Global list. (For Example, age = currenttime - item.EnterTime) How can i write my code in Global list? Thanks a lot!

0 Likes
Accepted solutions (1)
67 Views
2 Replies
Replies (2)
Message 2 of 3

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

Add a dynamic expression replacing 'item' with 'value', and 'currenttime' with 'time()':

time()-value.EntryTime
0 Likes
Message 3 of 3

Briankuo
Not applicable

thx for reply!

0 Likes