How to Use Alert like pop up in Business rule.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2016 10:22 PM
I have a business rule written to validate some filed in Change Module while updating. If it found false then it should show pop up alert and when user click on OK then it will re-direct to same page/filed.
But I dont have any option to show pop like "alert" in client script. I cannot use addinfomessage or setError as these are just to show info.
Is there any approch/soution to uset "alert" kind of message in Business rule/Server side script ?
Thanks in Advance.
Balaji Prusty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2017 07:03 AM
Hi Meet Anurag Tripathi, Community MVP 2016, and Top Contributor,
I am using the exact same script line as you posted above in a BR, but in my case whatever's inside the script tag is getting literally thrown up on the screen as an Err message instead of a pop up box. Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2017 07:40 AM
Will have to check, i have not tried this with ui16
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2017 07:52 AM
Hi Balaji,
You can use a client script using GlideAjax so that you can validate the server side value before firing an alert.
Here is the more info related to Glide Ajax: http://wiki.servicenow.com/index.php?title=GlideAjax#gsc.tab=0
Thanks,
Arindam