Disable Discuss button for itil users.

ShubhiGarhwal
Tera Contributor

Hello Everyone,When will 'Discuss' button visible on incident form because it is not visible for every record

And how we can disable it from the incident form for itil users.
Screenshot 2024-01-24 221556.png 

1 ACCEPTED SOLUTION

Tai Vu
Kilo Patron
Kilo Patron

Hi @ShubhiGarhwal 

You may wanna have a look to this post.

Hide Discuss button for Inicidents form

 

Screenshot 2024-01-26 at 14.35.44.png

 

Cheers,

Tai Vu

View solution in original post

9 REPLIES 9

Bert_c1
Kilo Patron

Check the 'condition' field of the UI Action record.  To disable for users with the 'itil' role, add "!gs.hasRole('itil') to the conditions.

 

Posting a screen shot of the UI action, and also any script logic will help folks here assist you.

There is no UI action for the button

 

 

Siddhesh Gawade
Mega Sage
Mega Sage

Hello @ShubhiGarhwal ,

 

Navigate to System Definition > UI actions.And find your UI action by name. Open the UI action and thenmodify your condition to restrict "itil" role. Also while doing this Make sure to consider admin and other roles for which you wanted show the Button. (I will suggest if possible come with custom role and access to that role and then assign that role to group of people). 

 

You can use something like this to check role/ roles:

!gs.hasRole("itil")

 

 Kindly mark the answer ✔️Correct or Helpful ✔️If it addresses your concern.


Regards,

Siddhesh

Tai Vu
Kilo Patron
Kilo Patron

Hi @ShubhiGarhwal 

You may wanna have a look to this post.

Hide Discuss button for Inicidents form

 

Screenshot 2024-01-26 at 14.35.44.png

 

Cheers,

Tai Vu