Alert box on background script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2018 01:29 AM
Hi Friends,
When a user clicks on the 'Run Script' button on the background script form, i need an alert saying "you are running a BG script in production. Are you sure you want to continue?"
Anybody has experience on it?
Thanks,
Nishant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2018 02:58 AM
We need this keeping in mind the potential risk around this. I would probably do a modal popup to write "execute" and then allow script to execute. Same way as we have to write 'delete' before removing/deleting any table from instance (just in case).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2018 03:08 AM
Hi Nishant,
This is not possible.
If you have admin rights then you need to check what impact the script would have if it ran and after checking that only you should proceed ahead.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader