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 transform data from rest message to target table

Kishor O
Tera Sage

I created a scheduled job and parsed json response then I inserted the record to the staging table.

Now I want to transform the records into target table How can I do it.

*Should I need to create a data source if yes what should be the data source type

3 REPLIES 3

AshishKM
Kilo Patron
Kilo Patron

Hi @Kishor O ,

You should write a BR on staging table and process the record for inserting in target table. 
If this is not the case then explain “how scheduled job reading the JSON dynamically from where”.

 

-Thanks,

AshishKMishra


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

@AshishKM 

I wrote get rest message directly in the scheduled job then glided the staging table and inserted the record.

(staging table extending import set table)

Hi @Kishor O 

You have source & target table, you can create transform map. What's issue with that. 

AshishKMishra_0-1700585759164.png

 

 

-Thanks,
AshishKMishra 


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution