Hi,
When running the experimenter, in the On End Of Replication trigger it was always useful to know if the code was executed in the main process or in the child process. To check this, we would use the following line of code:
if (objectexists(childexpfolder)) { // End of Replication on the main process
Our problem in FlexSim 2022 is that the childexpfolder never exists. So, we can’t use this check anymore. This line of code is also still used in the “Write to global Table” dropdown option in the End Of Replication Trigger.
What is the correct way to check if you are in in main or child process in 2022?
Thank you in advance,
Patrick