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.

Missing function declaration for onCondition

snowuser111
Kilo Guru

Hi,

I am getting below error in UI Policy. Is it mandatory to use
function onCondition(). I have created function onSubmit but it shows this error.

"Missing function declaration for onCondition"

Thanks

1 REPLY 1

Aaron40
Kilo Guru

Hi.

Are you asking about a UI policy or a client script?

If you're talking about a client script, you DO need the proper function declared before it'll work.