@Matthew Gillespie
I am trying to access the part inside the container as the cycletime for the machine is based on the part inside the container.So i used this
treenode Part=rank(item,1);
This is returning "NULL" value. Is there any other way to do it, or I did something wrong.