<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question @mentions through API in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/mentions-through-api/m-p/2441451#M951069</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the&amp;nbsp;@mentions notification enabled on my instance and can properly use the mentions on tickets if done manually .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However we have some automations in place raising tickets from eg monitoring tools. the requirement is to have the&amp;nbsp;@mentions pushed from API also sending an email.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now it seems while in auto-suggesting users ServiceNow does some magic to trigger the mentions. as it the journal fields the mentions are only text that does not differ from the text from the API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So is anyone able to help me, even with explaining in technical detail the mentions mechanizm?&amp;nbsp;&lt;BR /&gt;how it is pushed from the task tables to the live_notification table?&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank You!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2023 12:15:38 GMT</pubDate>
    <dc:creator>Rafał Rataj</dc:creator>
    <dc:date>2023-01-12T12:15:38Z</dc:date>
    <item>
      <title>@mentions through API</title>
      <link>https://www.servicenow.com/community/developer-forum/mentions-through-api/m-p/2441451#M951069</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the&amp;nbsp;@mentions notification enabled on my instance and can properly use the mentions on tickets if done manually .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However we have some automations in place raising tickets from eg monitoring tools. the requirement is to have the&amp;nbsp;@mentions pushed from API also sending an email.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now it seems while in auto-suggesting users ServiceNow does some magic to trigger the mentions. as it the journal fields the mentions are only text that does not differ from the text from the API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So is anyone able to help me, even with explaining in technical detail the mentions mechanizm?&amp;nbsp;&lt;BR /&gt;how it is pushed from the task tables to the live_notification table?&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank You!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 12:15:38 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/mentions-through-api/m-p/2441451#M951069</guid>
      <dc:creator>Rafał Rataj</dc:creator>
      <dc:date>2023-01-12T12:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: @mentions through API</title>
      <link>https://www.servicenow.com/community/developer-forum/mentions-through-api/m-p/2479006#M967046</link>
      <description>&lt;P&gt;ok in the end it works with&amp;nbsp;@ [sys_id:user_name] message through the API&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;exactly this way it is stored in the [live_mention] table&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if someone needs more detailed steps those are following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;An '@' is typed in a mention-integrated text area&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Fire a request from the REST back end at "/now/v1/form/mention" (not a public api).&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;As more characters are typed after the '@' step 2 is called with more data&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The REST service checks the permissions of the first 5 active users&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The REST service returns these first 5 users&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The mention popup displays the list of the first 5 users&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The user chooses one of these users&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;An "at mention" readable code is added to the message&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The message is posted&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The message is parsed for the at mentioned text&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;A live_message record is created&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;A live_mention record is created&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The "Broadcast Chat APNS" (f110e602d710020023c84f80de610360) BR on insert for live_mention is fired&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;new GlideLiveMessagePushNotifier().broadcastMentionFromRecord(current) with the new insert is called&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;the at mention user is looked up&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;the at mention user permissions are check&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;a broadcast message is sent&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The Event manager queues the at mention&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;An entry is made in the sysevent table&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;low-level event batching happens&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;"Activity Stream @Mention Email" or " Live Message Mention" email is sent&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 15 Feb 2023 13:25:31 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/mentions-through-api/m-p/2479006#M967046</guid>
      <dc:creator>Rafał Rataj</dc:creator>
      <dc:date>2023-02-15T13:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: @mentions through API</title>
      <link>https://www.servicenow.com/community/developer-forum/mentions-through-api/m-p/2504465#M976159</link>
      <description>&lt;P&gt;Good work in detailing your findings. I will add that the second parameter in the brackets is a plain text output, shown in the comment, and would generally be the user's name.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 03:05:46 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/mentions-through-api/m-p/2504465#M976159</guid>
      <dc:creator>scottl</dc:creator>
      <dc:date>2023-03-14T03:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: @mentions through API</title>
      <link>https://www.servicenow.com/community/developer-forum/mentions-through-api/m-p/3463610#M1243188</link>
      <description>&lt;P&gt;Thanks for putting this together &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;STRONG&gt;@ [sys_id:user_name]&amp;nbsp;&lt;/STRONG&gt; worked for me&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2026 16:50:36 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/mentions-through-api/m-p/3463610#M1243188</guid>
      <dc:creator>Daniel Gajos</dc:creator>
      <dc:date>2026-01-08T16:50:36Z</dc:date>
    </item>
  </channel>
</rss>

