Hiding ui action after it clicked

jobin1
Tera Expert

Hi All,

We have a UI action called "View HTML"

And now the requirement is whenever if this "View HTML" button is clicked then this button should not be available  
How this can be achived?

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

@jobin1 

I won't recommend it.

UI Actions are meant to be shown/hidden based on UI action condition.

This condition is evaluated only once when form loads, so it makes no sense hiding that button once clicked.

instead have proper condition so that it's shown based on when customer needs

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader