number of items in a queue

number of items in a queue

ka_ho_l
Not applicable
86 Views
3 Replies
Message 1 of 4

number of items in a queue

ka_ho_l
Not applicable

[ FlexSim 20.1.0 ]

Hi all, how can I count the number of items in a queue? If the number in queue exceeds 100 send an alert message out. Not sure how to do it, many thank

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

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

On entry check: content(current)>100

Message 3 of 4

joerg_vogel_HsH
Mentor
Mentor

Properties window of Qeue: Tab Triggers > Add an On Entry Trigger > green Plus Icon at On Entry trigger right side >Option List: Control > Send Message > Template Editor Line: Condition

write:

current.subnodes.length > 100 
Message 4 of 4

jason_lightfootVL7B4
Autodesk
Autodesk

Hehe - I struggle to not jump straight to the old functions - thanks Jorg