Recently, I asked a question about finding a solution to monitor a set of data using a triggered source and a global table. You can find the topic here: Using an Event Triggered Source with a Global Table in FlexSim - FlexSim Community .
My current problem is that I'm using this method with some code in the process flow, and I've noticed that the event trigger doesn't work when I'm running my custom code. Is it because I'm using a "For" loop, which prevents the source from detecting changes while the code is running? Please find attached the custom code, the table, and the triggered source.