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.

in oncomplete transform script how to retrieve the source field map value.

pavni
Tera Contributor

in oncomplete transform script how to retrieve the source field values

 

i tried like

var xyzparent= source.field_name.toString(); o/p is undefined. can someone help me how to retrieve the field_name value. I have mapped under field maps -- source -- field_name. I am loading some value as source field. it loading in import set. but not able to fetch it.

i just need in oncomplete transform script how to retrieve the source field values

5 REPLIES 5

 

Note: The onAfter script is processed at the end of a row transformation, after the source row has been transformed into the target row and saved.

 

i believe you want to get the data before saving into the system, 

 

adding one thread here, kindly have a look. workaround has mentioned there. 

 

https://community.servicenow.com/community?id=community_question&sys_id=4a494725db5cdbc01dcaf3231f96...