Approval Request in ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 10:12 PM
Hi,
I am trying to approval the request but I am getting the error like "Security does not allow the execution of that action against the specified record".
If I click on the Approval but Alert message will come like "Security does not allow the execution of that action against the specified record".
I have attached screenshot below please help me.
Thanks,
Manjunath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2023 12:09 AM
Hi @manju5 ,
As @Tai Vu mentioned the error would be coming due to the approvals are not in requested state. How are you creating this approvals. I presume the approvals are created for Request Ticket from your screenshot so assuming its a customized way of creating it(maybe script or some other way). Kindly revisit that logic n check what status are you setting. Usually whenever the approvals are created using OOTB method it creates in Requested State.
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 11:55 PM
Hi @manju5
You can find these UI Actions with the following URL.
Approve: https://<instance_name>/sys_ui_action.do?sys_id=845b8667c611227d01a264f153aaf953
Reject: https://<instance_name>/sys_ui_action.do?sys_id=845eb590c611227d007dedad13a1b838
From your screenshot, the error message is displaying should be because the State is Not Yet Requested, or you're not the approver/delegate.
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2023 01:05 AM
I got a solution. I have changed state value then it is working fine.
Thank you all.
Thanks,
Manju