Action not Authorized

devendranarun
Tera Guru

Hi,

Can anyone explain when do we get 'Action not Authorized' message while clicking on UI Action?

1 ACCEPTED SOLUTION

Shweta KHAJAPUR
Tera Guru

Hi,

It occurs when there is a issue with duplicate action name or condition you have placed in UI action. Refer below link for brief explanation,

Action not authorized

Please Mark my answer as correct/helpful if it helped.

Regards,
Shweta Khajapure

find_real_file.png
www.DxSherpa.com

View solution in original post

6 REPLIES 6

Bhagya Lakshmi
Mega Guru

Hi,

When user has not required role then above message displayed. 

Shweta KHAJAPUR
Tera Guru

Hi,

It occurs when there is a issue with duplicate action name or condition you have placed in UI action. Refer below link for brief explanation,

Action not authorized

Please Mark my answer as correct/helpful if it helped.

Regards,
Shweta Khajapure

find_real_file.png
www.DxSherpa.com

Thank you! Got this message after copying a UI action from the standard change process for normal changes.

Changed the Condition but left the Action name the same and got the "Action not Authorized" message. After changing the action name in these two spots the issue was resolved.

find_real_file.png

 

ashishagrawal
ServiceNow Employee
ServiceNow Employee

Hi Guys, 

 

I have a similar issue. I am trying to hide the "New" button on the reference look up pop up window based a condition. I have created a new UI action of name "sysverb_new" and called it "New" with condition that show/hide the New button.

 

Now, when I click on the "New" button with that condition on, I get "Action not authorized" error. 

I am logged in as admin on my localhost instance.

 

I saw few suggestions regarding changing the action name and button name. I tried that too but with that solution, I see two New buttons on the form and that is not what we want. 

I have tried changing the order for the new UI action that didnt help. I tried to convert that UI action as "client". With that I dont see the Action not authorized error but I don't have access to the action field in the script section. I need that too for URL redirection on the New button click.

If anyone has any solution/ideas, please post it.

 

Thanks in advance,

Ashish