I have input coming from source as records. Record-1 is xyz, record 2 is abc…
I need to merge all these values into a list by checking few conditions in groovy.
How do I achieve that. Finally output should come in groovy when reading all records is over.
like kxyz,abc,pqr]
But I am getting code output as
Output for record-1 dxyz]
output for record2 -dabc] and so on
Can someone please help me how its possible?