custom Pop up message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2025 10:13 PM
Hi there,
I have a requirement based on the variable selected in the record producer. We need to populate the pop up message which should have 4 buttons upon selection we have to redirect to a specific form in the portal.
What is the best way and how can we achieve this ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2025 10:59 PM
Hi @pk2184046 ,
Write OnChange Catalog Client script.
something like below
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue == '') {
return;
}
var type = g_form.getValue('monitoring_type');
if (type == 'PDQ');
top.location.href = '/sp?id=sc_cat_item&sys_id=2ab05f721b129110b7b35284604bcb81';// add your specific page url here
}
If this information proves useful, kindly mark it as helpful or accepted solution.
Thanks,
BK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2025 11:12 PM
I was not asking about the redirection I need the custom pop up which has 4 buttons
Example: we have confirm pop up which has cancel and ok it should be similar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2025 11:18 PM
you can directly take those users to that particular form
why to use buttons for selection?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2025 11:24 PM
Since we put a validation based on that user have to redirect to different forms upon the selection
Please suggest the best way of doing this for Record producer.