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.

Best practice for script after transform map.

bigbacon
Tera Guru

Trying to determine the best way to do this. I want to run a script AFTER a transform mapping has completed. I don't need to run anything on a per-row basis. 

 

I need to add/remove people from a group but only after the transform map has completed.

1 REPLY 1

Swapna Abburi
Mega Sage
Mega Sage

Hi @bigbacon 

You can use "Oncomplete" Transform script as it runs after entire transform is completed. 

 

As per ServiceNow docs, 

When: The onComplete event script is processed at the end of an import run, after all data rows are read and transformed.

https://www.servicenow.com/docs/bundle/yokohama-integrate-applications/page/script/server-scripting/...