ok so what i am wanting to do is pretty simple.
I have two arrays, one called children and the other called selectedNameList
children contains the following [Home, Workshop]
selectedNameList contains [Home]
so when i run the following
I then look at the children and it still contains [Home, Workshop]
if i run identical code directly in a groovy console, the value of children is changed to [Workshop]…any ideas? headscratching!!!