Make UI Action Button visible

akashkekan
Giga Contributor

I have created a button "Raise Incident", the use case is it should only be visible when the task_category (choice field) is changed to "IT Service Management".  I gave the condition in condition field inside UI Actions, it's not working. 

1 ACCEPTED SOLUTION

Chaitanya ILCR
Kilo Patron

Hi @akashkekan ,

 

you have to save the record in order to make the UI Action to be visible for the mentioned category

 

if you want this to visible or hidden onChange of the category use onChange client script on the task category field 

 

refer this for the same

https://www.servicenow.com/community/itsm-articles/how-to-hide-show-the-ui-action-by-client-script/t...

 

Note: this won't work in the workspace

 

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya

View solution in original post

7 REPLIES 7

Chaitanya ILCR
Kilo Patron

Hi @akashkekan ,

 

you have to save the record in order to make the UI Action to be visible for the mentioned category

 

if you want this to visible or hidden onChange of the category use onChange client script on the task category field 

 

refer this for the same

https://www.servicenow.com/community/itsm-articles/how-to-hide-show-the-ui-action-by-client-script/t...

 

Note: this won't work in the workspace

 

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya

Thanks Chaitanya....Its working

@akashkekan 

So what was the issue?

I believe it's very basic to know if you are showing it for Existing Record then that record should be present in the instance. Then only it will be shown.

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