Hide button "Discuss" in some table forms

sieusaopolo15
Tera Guru

Hi,

Just like in the subject, I want to remove the "Discuss" button in some table forms not all of them. Is there any way to do this workaround ?

 

sieusaopolo15_0-1692790127123.png

 

8 REPLIES 8

@sieusaopolo15 

check this link

https://www.servicenow.com/community/sysadmin-forum/hide-discuss-button-for-inicidents-form/m-p/2516... 

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

Hi @Ankur Bawiskar

I read the post and did the solution, it did remove button "Discuss" out of my desire tables but it accidentally removes all the button "Discuss" in my instance and that is not the possible solution in my case.

Nayan  Dhamane
Kilo Sage
Kilo Sage

Hello @sieusaopolo15 ,

Open the UI action 'Discuss' got to the condition field and add the condition as below for your tables:

current.getTableName() != '<table name>'

 

If my answer solved your issue, please mark my answer as Correct & Helpful based on the Impact

Best Regards,
Nayan Dhamane
ServiceNow Community Rising Star 2023.

Hi @Nayan Dhamane,

Unfortunately I could not find any UI Actions related to button "Discuss", it very weird to have an button on the form but can not control in UI Action. Thank you for giving me the solution