Create email notification within instance security center when I run file export
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2023 07:53 AM
send an email notification for when I run a file export within the instance security center as an elevated user, e.g Admin
I need an email notification sent to the "risk_group"
How do I create an email notification within the instance security center
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2023 04:03 PM
This script should do:
var userRole = new GlideRecord('sys_user_has_role');
userRole.addQuery('user', gs.getUserID());
userRole.addQuery('role.name', 'IN', 'user_admin, impersonator, security_admin, admin, import_admin');
userRole.query();
if (userRole.next()) {
answer = true;
} else {
answer = false;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2023 11:10 PM
Is a business rule needed for this, could you be kind enough to help with that
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2023 03:57 PM
I think you are confused about how to create a proper email notification.
Please have a look at my blog post where I try to clarify the necessary steps on how to configure a proper email notification:
https://www.dancovic.com/2023/12/create-email-notification-via-event-in.html
Please, mark it as correct if it's helpful.