Question about Wait for Event

Question about Wait for Event

selvantamil674
Enthusiast Enthusiast
104 Views
3 Replies
Message 1 of 4

Question about Wait for Event

selvantamil674
Enthusiast
Enthusiast

[ FlexSim 23.1.1 ]

Is it possible to give the if condition for Wait for event activity, I have a global table it will increment the value, once the value changes to 1 wait for event activity has to release the token to next activity. if its 0 or other integer it has to hold the token

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

jason_lightfoot_adsk
Autodesk
Autodesk
Accepted solution

To do this your datatype in the table would need to be tracked variable.

Rather than listen to a central table I'd recommend listening to objects and their events, or coordinating through lists as these are likely to be easier to implement, track and debug.

0 Likes
Message 3 of 4

selvantamil674
Enthusiast
Enthusiast
How to do that with the tracked variable
0 Likes
Message 4 of 4

jason_lightfoot_adsk
Autodesk
Autodesk

You change the datatype of the column or cell to tracked variable. Then you need to set the value using Table.cell().value=

I don't see the benefit over the other synchronisation methods - an object approach I find is always better than centralised systems.

WaitForTableCellValueChange.fsm

0 Likes