so when i found type = 'group' i would pass and no...
# suitescript
a
so when i found type = 'group' i would pass and not do anything until i found 'endgroup', then i'd continue