Hi,
When you have multiple cp connections in your AGV network calling the function AGV.Connections might throw an unexpected error. In the attached model you can see an example of this. There are 2 connection types, Location and Connection2. The queue has a location connection and nothing else. In the script I ask how many Connection2 connections the queue has, but this throws the error:
exception: FlexScript exception: invalid index at <no path> c: <no path> i: <no path>
I think this is because the Connection2 node is not there in the tree of the queue, but I am not sure. I think this script should return 0.
(Also cpnumconnections throws this error)