Ankur Bawiskar
Tera Patron

@Sowmya T 

Hi,

update line as this and it should work fine

obj[respFields[i]] = gr.getValue(respFields[i]);

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post