UI action showing after condition, but "Action not authorized" message is displayed after clicking on it

Elena Pomana
Tera Guru

Hello,

I have a related list on a contract called Entitlements. That related list has 2 UI actions, "Add" and "Remove" which are actually copies of "New" and "Edit" button but with slightly different conditions. 

I have read different threads and changed the action names of the buttons but it still shows the message, so now I've changed the action names back to what they were.

On the contract form I have a checkbox called "Differential". My requirement is that If that checkbox is false, the buttons should appear.

My condition for the "Remove" UI Action is the following:

If I add the condition "&& current.contract.u_differential == false" to the current one, I can see the button on the related list, but when I click on it, the message "Action not authorized" appears.

I don't understand why it works perfectly before the added condition and it doesn't afterwards.

 

Any ideas?

 

Thank you,

Elena

6 REPLIES 6

can you check if you have same UI action name anywhere in the Instance and try to rename the UI action name as mentioned in the KB article.

Please Mark Correct/helpful, if applicable, Thanks!!
Regards
Sulabh Garg

pragyanagori
Tera Contributor

was your issue resolved?