In client script, how can we write if else statements with syntax.

Venu24
Kilo Contributor

when I am trying to declare else, then it's showing an error unexpeced token else. How could I resolve it.

5 REPLIES 5

Aman Singh_
Kilo Sage

Hi,

 

You can take the course on Scripting for knowledge enhancement. 

https://developer.servicenow.com/dev.do#!/learn/courses/quebec/app_store_learnv2_scripting_quebec_sc...

 

mark Correct✅/helpful if applicable, thanks!!

Aman