Create email notification within instance security center when I run file export

Malo
Tera Contributor

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

12 REPLIES 12

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;
}

Is a business rule needed for this, could you be kind enough to help with that 

Dan Covic2
Tera Contributor

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.