In a UI policy, can we add gs.addinfomessage ?

Vivek Verma
Mega Sage
Mega Sage

Thank You !

6 REPLIES 6

Please mark my answer correct if you feel I resolved your issue.

 

Thanks 

Dante

Harish Ragz
Kilo Guru

No, we cann't use gs.addinfomessage() in UI Policies.

Actually, UI Policies can be used on Client side only.

 

https://docs.servicenow.com/bundle/jakarta-application-development/page/app-store/dev_portal/API_reference/glideSystemScoped/concept/c_GlideSystemScopedAPI.html

(you will get an idea by seeing this information.) 

 

Please Hit ✅Correct(If it is a correct solution) or Hit ✅Helpful(If it is useful).