I found a post mentioned how to get the transfers from a specific conveyor, but I need to do the reverse. On my AGV network I drop off to a entrytransfer, but before I do, I want to check if the conveyor is already occupied.
/**Custom Code*/ TaskExecuter current = param(1); treenode activity = param(2); Token token = param(3); treenode processFlow = ownerobject(activity); Object DropoffEntryTransfer = token.destination; / <- This is the EntryTransfer Object DropoffConveyor = DropoffEntryTransfer.??? / <- How do I find the conveyor the entrytransfer is connected to? int DropoffConveyorContent = DropoffConveyor.subnodes.length; print(dropoffconveyorContent);