question

Zac Lui avatar image
0 Likes"
Zac Lui asked Jason Lightfoot commented

number of items in a queue

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

FlexSim 20.1.0
flexsim 20.1.0
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

Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered Jason Lightfoot commented

On entry check: content(current)>100

· 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.

Joerg Vogel avatar image Joerg Vogel commented ·

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 
1 Like 1 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Joerg Vogel commented ·

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

1 Like 1 ·