<?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 Re: How to convert JSON values using HTML tags , in a Rest call message? in ITSM forum</title>
    <link>https://www.servicenow.com/community/itsm-forum/how-to-convert-json-values-using-html-tags-in-a-rest-call/m-p/609044#M180823</link>
    <description>&lt;P&gt;This should work&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;STRONG style="font-family: arial, sans-serif; color: #666666;"&gt;'text':&lt;/STRONG&gt;&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;"*Short Description* : "+current.short_description.toString()+"\n*Product Type* : "+current.u_product_name+" &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *Inquiry Type* : "+current.u_inquiry_type+" &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *Location* : "+current.location.name&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;Below are few slack tips&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;&lt;A href="https://blog.hubspot.com/marketing/slack-tips" title="https://blog.hubspot.com/marketing/slack-tips"&gt;22 Handy Slack Hacks Everyone Should Know&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 23 Jan 2018 00:11:28 GMT</pubDate>
    <dc:creator>SanjivMeher</dc:creator>
    <dc:date>2018-01-23T00:11:28Z</dc:date>
    <item>
      <title>How to convert JSON values using HTML tags , in a Rest call message?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-convert-json-values-using-html-tags-in-a-rest-call/m-p/609041#M180820</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have set up an integration between &lt;STRONG&gt;Service Now and Slack&lt;/STRONG&gt; for sending notifications to slack whenever there is a request created in Service Now, i'm successful in sending the notifications, but can't decorate the notifications message using &amp;nbsp; HTML tags, for example in the below 'text' i would like to make the 'Short description', 'Product Name' and 'Inquiry Type' as a bold texts and many other things.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Passing &amp;lt;b&amp;gt; &amp;lt;/b&amp;gt; is not helping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea pls?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Script part:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var slack = new SlackMessageCC();&lt;/P&gt;&lt;P&gt;slack.payload.text = 'A new request has been assigned to ' + current.assignment_group.name + '. Please follow the link for more information.';&lt;/P&gt;&lt;P&gt;slack.payload.icon_emoji = ':exclamation:';&lt;/P&gt;&lt;P&gt;slack.payload.attachments.push({&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &lt;STRONG&gt; 'title':&lt;/STRONG&gt; current.number.toString(),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'title_link':&lt;/STRONG&gt;&lt;SPAN&gt; '&lt;/SPAN&gt;&lt;A title="k-external-small" class="jive-link-external-small" href="https://" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;SPAN&gt;' + gs.getProperty('instance_name') + '.service-now.com/nav_to.do?uri=sc_request.do?sys_id=' + current.sys_id,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt; &amp;nbsp; &amp;nbsp; 'text':&lt;/STRONG&gt;"&amp;lt;b&amp;gt;Short Description : &amp;lt;\/b&amp;gt;"+current.short_description.toString()+"\nProduct Type : "+current.u_product_name+" &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Inquiry Type : "+current.u_inquiry_type+" &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Location : "+current.location.name&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;slack.send();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Current Output what i'm getting is &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/36874iFA51F1DA7ADC5205/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Yogesh Dafedar&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2018 11:44:06 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-convert-json-values-using-html-tags-in-a-rest-call/m-p/609041#M180820</guid>
      <dc:creator>yogesh15dd</dc:creator>
      <dc:date>2018-01-18T11:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert JSON values using HTML tags , in a Rest call message?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-convert-json-values-using-html-tags-in-a-rest-call/m-p/609042#M180821</link>
      <description>&lt;P&gt;@&lt;A title="ctomasi" __default_attr="2218" __jive_macro_name="user" class="jive_macro jive_macro_user" data-orig-content="ctomasi" data-renderedposition="10.40000057220459_22.200000762939453_66_16" href="https://www.servicenow.com/community?id=community_user_profile&amp;amp;user=7ae05a61db981fc09c9ffb651f9619a2"&gt;ctomasi&lt;/A&gt; , any thoughts?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Yogesh&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Jan 2018 13:59:31 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-convert-json-values-using-html-tags-in-a-rest-call/m-p/609042#M180821</guid>
      <dc:creator>yogesh15dd</dc:creator>
      <dc:date>2018-01-18T13:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert JSON values using HTML tags , in a Rest call message?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-convert-json-values-using-html-tags-in-a-rest-call/m-p/609043#M180822</link>
      <description>&lt;P&gt;You will need to translate your HTML in to the Slack formatting.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;A href="https://api.slack.com/docs/message-formatting#message_formatting" title="https://api.slack.com/docs/message-formatting#message_formatting"&gt;https://api.slack.com/docs/message-formatting#message_formatting&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Jan 2018 23:29:29 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-convert-json-values-using-html-tags-in-a-rest-call/m-p/609043#M180822</guid>
      <dc:creator>Chuck Tomasi</dc:creator>
      <dc:date>2018-01-22T23:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert JSON values using HTML tags , in a Rest call message?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-convert-json-values-using-html-tags-in-a-rest-call/m-p/609044#M180823</link>
      <description>&lt;P&gt;This should work&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;STRONG style="font-family: arial, sans-serif; color: #666666;"&gt;'text':&lt;/STRONG&gt;&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;"*Short Description* : "+current.short_description.toString()+"\n*Product Type* : "+current.u_product_name+" &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *Inquiry Type* : "+current.u_inquiry_type+" &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *Location* : "+current.location.name&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;Below are few slack tips&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;&lt;A href="https://blog.hubspot.com/marketing/slack-tips" title="https://blog.hubspot.com/marketing/slack-tips"&gt;22 Handy Slack Hacks Everyone Should Know&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Jan 2018 00:11:28 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-convert-json-values-using-html-tags-in-a-rest-call/m-p/609044#M180823</guid>
      <dc:creator>SanjivMeher</dc:creator>
      <dc:date>2018-01-23T00:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert JSON values using HTML tags , in a Rest call message?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-convert-json-values-using-html-tags-in-a-rest-call/m-p/609045#M180824</link>
      <description>&lt;P&gt;Thanks Saniv, that worked &lt;SPAN __jive_emoticon_name="grin" __jive_macro_name="emoticon" class="jive_emote jive_macro" data-renderedposition="8_175.8125_16_16" src="https://www.servicenow.com/8.0.4.21bdc7e/images/emoticons/grin.png"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Yogesh Dafedar&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Jan 2018 16:28:56 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-convert-json-values-using-html-tags-in-a-rest-call/m-p/609045#M180824</guid>
      <dc:creator>yogesh15dd</dc:creator>
      <dc:date>2018-01-23T16:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert JSON values using HTML tags , in a Rest call message?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-convert-json-values-using-html-tags-in-a-rest-call/m-p/609046#M180825</link>
      <description>&lt;P&gt;Thanks Chuck, that helped &lt;SPAN __jive_emoticon_name="grin" __jive_macro_name="emoticon" class="jive_emote jive_macro" data-renderedposition="8_178.42709350585938_16_16" src="https://www.servicenow.com/8.0.4.21bdc7e/images/emoticons/grin.png"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Jan 2018 16:37:09 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-convert-json-values-using-html-tags-in-a-rest-call/m-p/609046#M180825</guid>
      <dc:creator>yogesh15dd</dc:creator>
      <dc:date>2018-01-23T16:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert JSON values using HTML tags , in a Rest call message?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-convert-json-values-using-html-tags-in-a-rest-call/m-p/609047#M180826</link>
      <description>&lt;P&gt;Slight modification to observe best practices. Rather than dot-walking to location.name, use getDisplayValue(). Also, when possible, use getValue('field_name') to get the value, not a copy of the object. The more you use them, the fewer problems you will find.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;STRONG style="font-family: arial, sans-serif; color: #666666; background-color: #edf8ca;"&gt;'text':&lt;/STRONG&gt;&lt;SPAN style="font-family: arial, sans-serif; color: #666666; background-color: #edf8ca;"&gt;"*Short Description* : "+current.getValue('short_description') + "\n*Product Type* : " + current.getValue('u_product_name') + " &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *Inquiry Type* : " + current.getValue('u_inquiry_type') + " &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *Location* : " + current.location.getDisplayValue();&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 28 Jan 2018 22:52:38 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-convert-json-values-using-html-tags-in-a-rest-call/m-p/609047#M180826</guid>
      <dc:creator>Chuck Tomasi</dc:creator>
      <dc:date>2018-01-28T22:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert JSON values using HTML tags , in a Rest call message?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-convert-json-values-using-html-tags-in-a-rest-call/m-p/609048#M180827</link>
      <description>&lt;P&gt;Thank you so much Chuck, i agree, i forgot to do that.&lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_emote jive_macro" data-renderedposition="8_341.0625_16_16" src="https://www.servicenow.com/8.0.4.21bdc7e/images/emoticons/happy.png"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Yogish Dafear&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Jan 2018 07:11:08 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-convert-json-values-using-html-tags-in-a-rest-call/m-p/609048#M180827</guid>
      <dc:creator>yogesh15dd</dc:creator>
      <dc:date>2018-01-29T07:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert JSON values using HTML tags , in a Rest call message?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-convert-json-values-using-html-tags-in-a-rest-call/m-p/609049#M180828</link>
      <description>&lt;P&gt;Watch this video for&amp;nbsp;&lt;STRONG&gt;Slack integration&lt;/STRONG&gt;&amp;nbsp;steps by step configuration. Post message on slack channel via flow designer.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=YEGLJLubCCY&amp;amp;t=1s&amp;amp;ab_channel=ServiceNowHelpdesk" target="_blank"&gt;https://www.youtube.com/watch?v=YEGLJLubCCY&amp;amp;t=1s&amp;amp;ab_channel=ServiceNowHelpdesk&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Please mark reply as Helpful/Correct, if applicable. Thanks!&lt;/STRONG&gt;&lt;STRONG&gt;!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Dec 2020 13:56:18 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-convert-json-values-using-html-tags-in-a-rest-call/m-p/609049#M180828</guid>
      <dc:creator>Runjay Patel</dc:creator>
      <dc:date>2020-12-20T13:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert JSON values using HTML tags , in a Rest call message?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-convert-json-values-using-html-tags-in-a-rest-call/m-p/3333181#M544404</link>
      <description>&lt;P&gt;Hi&amp;nbsp;, I need help here. I'm trying to post message to slack in tabular format. The input is of type HTML and inserted table data. But the message is getting posted as html tags in slack. Can you please help here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 09:32:47 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-convert-json-values-using-html-tags-in-a-rest-call/m-p/3333181#M544404</guid>
      <dc:creator>Harini17</dc:creator>
      <dc:date>2025-07-24T09:32:47Z</dc:date>
    </item>
  </channel>
</rss>

