We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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