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.

Using onAfter with ignore

Anton15
Giga Guru

Hi

I have successfully used 'ignore = true' before, but what is the purpose of 'ignore=true' in the attached onAfter transformation script?

Please review the attached pic.

Thanks

 

 

 

 

1 ACCEPTED SOLUTION

Sharon Hobart
Mega Guru

If the script is valid and the row should not be processed, I suggest to move the script to be an OnBefore script -- not  an onAfter.

View solution in original post

6 REPLIES 6

Sharon Hobart
Mega Guru

If the script is valid and the row should not be processed, I suggest to move the script to be an OnBefore script -- not  an onAfter.

Yes - that's what I think. Leaving the event as onAfter will never have an impact

Thanks, I just wanted a second opinion as this is an out the box transform event.