- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2023 11:11 PM
Hi @Hemanth M
Thank you for providing the screenshots. There is a small change in requirement that we are not using workspace anymore. We have show this same popup in native ui on change form with the click of Button/UI action. I have tried the same approach abut the popup is coming in Native UI. Will it work without creating UI page?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2023 08:19 AM
Hi @MT00501012 ,
If you just need to ask for how many change records to create and having logic in the UI action to create changes based on the user input, no need of UI pages.
Thank you,
Hemanth
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025,2026
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2023 11:43 PM
Hi Hemanth,
How can I restrict the user to enter only numeric values in popup? below is my script which is working fine except this numeric value restriction.
UI action:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2023 04:07 AM
Hi @MT00501012 ,
You can use regex
after you get the prompt
var onlyNumeric = /^[0-9]*$/; //allow only numeric
if (!onlyNumeric.test(reason)) {
alert("Enter only numeric");
}
Accept and hit Helpful if this resolves.
Thank you,
Hemanth
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025,2026
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2023 04:19 AM
Thank you so much @Hemanth M ..Its working now