question

bcallaghan avatar image
0 Likes"
bcallaghan asked Jason Lightfoot commented

Custom Code for Entry Trigger

Trying to have a label be automatically created upon queue entry on a flowitem that timestamps the time a flowitem enters a queue. My code is returning an error but unsure what is wrong. Help would be appreciated. Thanks! Tried commenting out some things to see if it would fix it but no luck.

1700498214798.png

FlexSim 21.1.5
labelscustom codetriggerupn entry
1700498214798.png (17.5 KiB)
· 1
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
0 Likes"
Jason Lightfoot answered Jason Lightfoot commented

Use the new syntax:

  1. item.ArrivalTime=entryTime;

Or use the pick option to set a label value and use its template to enter values.

· 4
5 |100000

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