Disable follow on incident
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2024 10:33 AM
Hello everyone Is this possible that Follow button can be disable for user who have itil role?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-07-2024 12:39 PM
Hi @ShubhiGarhwal,
Based on role you can not directly show/hide "Follow" button so what you can do is you can navigate to sys_dictionary table, there search for incident table and type is collection, inside related list attribute set the value of "live feed " to false as shown in the below screen shot, so the follow button will completely disappear from Incident page .
after disabling the Follow button in incident table, you can Clone the OOTB ui action and set table as incident and add the condition "!gs.getUser().hasRole('itil')"
Please check and Mark Helpful and Correct if it really helps you.
Regards,
Swathi Sarang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2024 04:14 AM
Hi @swathisarang98 its working but There is no Ui action for this how can I diasable for itil user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2024 04:21 AM
Hi @ShubhiGarhwal ,
Once you have disabled the Live feed from Incident table you can create a new Follow button buy cloning the existing one and then select table as Incident and in condition give the value as !gs.getUser().hasRole('itil') so that your button will only be visible for non itil users
Please check and Mark Helpful and Correct if it really helps you.
Regards,
Swathi Sarang