Approvals by email without role

Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 02:29 AM
On an instance, approval request emails are sent to users who have roles or NOT.
If they click "Approve", it creates a new email which is sent to the ServiceNow instance.
There is an inbound action "Update Approval Request" which processes this email.
I notice that it has been customized and contains the code :
function validUser() {
if (current.approver == email.from_sys_id)
return true;
...
}
It's controlling only the "email.from_sys_id". He can validate even if he has no role.
Is this system authorized by ServiceNow?
Thanks
Christophe
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 03:00 AM
This much OOB. System only validates with this that if the approver is same as the one who is from user who sending a reply or clicking on approve. It doesnt require any role to approve from email.
Hope it helps.
Regards,
Shamma
Regards,Shamma Negi
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 03:31 AM
Seems there is already article mentioned about the same
Regards,
Luxo