Pop up message Display

sam352120
Kilo Guru

How to display a pop up message through a business rule??

1 ACCEPTED SOLUTION

Mihir Mohanta
Kilo Sage

It is not possible to display pop up window using business rule as it runs in server side.


You can get Info message or Error message by using gs.addInfoMessage() or gs.addErrorMessage() .


For more details please follow link


Scripting Alert, Info, and Error Messages - ServiceNow Wiki.


View solution in original post

11 REPLIES 11

Makosko
Tera Expert

gs.addInfoMessage("Your Message") or gs.addErrorMessage("Your Error Message")


These wont help create a Pop-Up on the screen. If you are requiring only an Alert on the screen, they would work.


These can`t be accomplished with business rules since they run on the server side, not client...



sounds like the GlideDialogWindow class/object may be your best friend if you are looking beyond native JS ALERT...


Thanks Guys