Hi, I have a model version 2018.2 have no issue on executing a switch case but the error prompting in version 2023. I tried version 2022, it prompted the same error, stated: "Switch statement cannot contain statements outside of a case."
The case function were coded at decision point upon on arrival by incoming item.
Code:
The Flexscript error:
Can help to check on this bug and any work around temporarily?