Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Approval Request in ServiceNow

manju5
Tera Contributor

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.

 

manju5_0-1700547051185.png

 

Thanks,

Manjunath

12 REPLIES 12

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

 

Tai Vu
Kilo Patron
Kilo Patron

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

manju5
Tera Contributor

I got a solution. I have changed state value then it is working fine.

Thank you all.

 

Thanks,

Manju