Can we stop @mention functionality from custom table?

Nawal Kishor S2
Tera Guru

Hi Experts,

I want to disable the @mention functionality on work notes field, or from the custom table.

Is there anything that we can configure and handle , please let me know .

 

Thank you!!!

3 REPLIES 3

Tushar
Kilo Sage
Kilo Sage

Hi @Nawal Kishor S2 

 

This should help - https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0722431

 

Workaround - 

(function executeRule(current, previous /*null when async*/) {


       


       try{


               if(GlideTransaction.get().URL.startsWith('/api/now/form/mention/record/')){


                       current.addNullQuery('sys_id'); //All records have a sys_id so we are filtering out all records


               }


       }



       catch(e){


               


       }



})(current, previous);

 

here is the link - https://www.servicenow.com/community/developer-forum/how-to-disable-activity-stream-mentions-in-hels...

 

Please Mark it helpful 👍and Accept Solution✔️!! If this helps you to understand.

Ankur Bawiskar
Tera Patron
Tera Patron

@Nawal Kishor S2 

You can check the link shared by @Tushar which gives a community link where script is shared

How to Disable Activity Stream Mentions in Helsinki 

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

Sandeep Rajput
Tera Patron
Tera Patron

@Nawal Kishor S2 Currently, there is no OOTB way to disable @mention feature. Though the solutions posted here may work but it is better to avoid them as the GlideTransaction is an undocumented API.