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.

Action not authorized message when creating a new Workflow

riaz_mansuri
Kilo Guru

When I try a create a new workflow I am now receiving the error Action not authorized

find_real_file.png

The table I am trying to create a workflow from is the ast_contract

I am an Admin and have never seen this before

Any ideas?

Thanks,

Riaz

1 ACCEPTED SOLUTION

riaz_mansuri
Kilo Guru

I have received the solution from Service Now and it is now working well.



I had a UI action which worked before but when the system upgraded from Geneva Patch 1 HF 5 to Geneva Patch 3 HF 2, on June 9th it broke.



The current release, it shows the UI Action, even if the condition is false. Then when trying to Submit the form, the issues occurs.



UI Action name is Submit



The last valid version, applied contained the following condition: current.canCreate() && !current.getTableName()=='change_request' The exclamation mark at this position is evaluated before the comparison (==) and therefore, it fails, returning false. The correct condition, which was applied in both instances, should be like this: current.canCreate() && current.getTableName() != 'change_request' Now the != is evaluated correctly comparing the return or getTableName method and comparing it with the string 'change_request'.



The issue is resolved.



Thanks,


Riaz






View solution in original post

20 REPLIES 20

Thanks,



I have logged this on Hi (INT2985195)



I will update with the result.



Thanks,


Riaz


hi All,



I'm having a similar problem.   I receive a blue banner reading "Action not authorized" when created a new contract (ast_contract).   I receive the banner upon selection the "submit for review" UI action.



I'm on Helsinki P2 logged in as an admin user.



I opened INT2986364.



Regards,



Steve


Hi Steve,



Thanks for sharing. My test version is on Helsinki and and prod on Geneva. Both are having the issue.



I have a Hi ticket logged and I think a solution has been found. I am chasing the agent this morning, as soon as it is fixed I will post it here.



Thanks,


Riaz


Just to let you know nothing on this yet but Service Now are looking into this with priority and the ticket has been escalated to the UET.


Thank you for the update.   My INT still awaiting to be assigned.