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 01:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2018 03:03 AM
Fix scripts let you create stand alone script the same as background scripts do but you can save them as records so you can re-use them at a later date. Tbh i never use background scripts but i use fix scripts a lot.
You could deactivate the background scripts module and put an onLoad client script on the fix script form alerting your users that they are applying scripts to prod.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2018 03:20 AM
HI Dave,
It won't even need to put the alert box Runnning through fix scripts first asks the users if they want to continue but if customized alert box is needed that will work as per your suggestion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2018 02:02 AM
Only your admins should be able to access background scripts, you shouldn't need to remind your admins that they're running scripts on prod!