That is the issue then. You cannot access an element within a repeating group from an element that is outside that repeating group. I am assuming when you initially connected it in the workflow the button cancel was in the same repeating group as RG Part List.