Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to perform Custom Scripting option parsing JSON data attached as file.

Vishnu kumar R
Tera Guru

Hi,

 

I need to perform custom scripting option using the JSON file attached in data source. With that I need to retrieve only required fields and add that into import set table. Please suggest how to achieve this.

VishnukumarR_0-1695628069395.png

With this method I need to retrieve only required elements from below JSON which is attached as file and add that as fields in import set table.

VishnukumarR_1-1695628098978.png

TIA. 

2 REPLIES 2

Omkar Kumbhar
Mega Sage

Hello @Vishnu kumar R ,

Please find the below link. 

https://www.servicenow.com/community/now-platform-forum/how-does-the-custom-parse-by-script-work-in-...

 

Thank you,

Omkar

If I was able to help you with your case, please click the Thumb Icon and mark as Correct.

Hi Omkar,

 

I have tried the same as mentioned in the provided link but not able to achieve, Can you please help me out with some detailed example, TIA..