script include from ui policy

tushar_ghadage
Tera Contributor

Hi Everyone, 

Can we call script include from UI Policy ...? and if yes how and does calling script include from Ui policy make no sence ..?

 

thanks 

 

6 REPLIES 6

The syntax will remain the same; you just need to add it in the script section.

There are examples in the link above—just follow them. The script syntax remains the same.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

Bhavya11
Kilo Patron

Hi @tushar_ghadage ,

 

You can use glideajax.

The GlideAjax class allows the execution of server-side code from the client. GlideAjax calls pass parameters to the script includes, and, using naming conventions, allows the use of these parameters.

If this information proves useful, kindly mark it as helpful or accepted solution.

Thanks,
BK