The old sintax was:
getstatenum( object, 1 ) and the state profile is 1.
The new sintax says:
I tried using FlowObject.stats.state().value but FlexSim says:
exception: FlexScript exception: Could not access state variable on object FlowSource1 (profile: 0000018BF01869B8) at /0 c: /testlink_instance i: /testlink_associated
Also I noticed that with this new sintax I am not able to specify the state profile.
Which will be the new correct sintax to access the current state of a FloWorks object specifying the state profile?