I have a combiner where I am resetting some variables on the On Reset Trigger (target quantities from specific ports and target component sum). The flexscript I show below seems to work correctly, however, I am wondering why I am getting an exception in my system console (but not when I apply the changes on the trigger):
exception: FlexScript exception: MODEL:/Combiner>variables/resettrigger
Here is the flexscript. Any idea what the issue is?
Object current = ownerobject(c); current.find(">variables/componentlist/From Input Port 2/1").value = 0; current.find(">variables/componentlist/From Input Port 3/1").value = 0; current.find(">variables/componentlist/targetcomponentsum").value = 0;