I want to trigger a Script Action based on 'security.elevated_role.enabled' event.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Hi,
Whenever someone elevates their role to Security Admin, this event is triggered 'security.elevated_role.enabled'.
I want to use this event in a Script Action and do some operations.
But, I am unable to find this event.
Why it is happening?
Or, Is there any other approach where I can perform some operations based on the role elevation.
Thank You.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Yes, that is I have used for now. But I am not sure that this would be an efficient approach, or there is any other better solution if it is not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
that's the only possible option as of now.
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hi @pranavagarw ,
you can register this event in the event registry
and then create the script action
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
