<?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 how to pass LIST in invoked http post request in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/how-to-pass-LIST-in-invoked-http-post-request/m-p/296565#M218290</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="renuu_0-1590424230192.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/27630iD2C68840AEC7BF6A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="renuu_0-1590424230192.png" alt="renuu_0-1590424230192.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;updateAttribute processor config&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="renuu_1-1590424290980.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/27631iB4EFF3DB6F065AD1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="renuu_1-1590424290980.png" alt="renuu_1-1590424290980.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and this is the output of AttributetoJson processor ....i want tags value in the list like ["UNIX01"]&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 May 2020 16:35:10 GMT</pubDate>
    <dc:creator>renuu</dc:creator>
    <dc:date>2020-05-25T16:35:10Z</dc:date>
    <item>
      <title>how to pass LIST in invoked http post request</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-pass-LIST-in-invoked-http-post-request/m-p/296565#M218290</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="renuu_0-1590424230192.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/27630iD2C68840AEC7BF6A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="renuu_0-1590424230192.png" alt="renuu_0-1590424230192.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;updateAttribute processor config&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="renuu_1-1590424290980.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/27631iB4EFF3DB6F065AD1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="renuu_1-1590424290980.png" alt="renuu_1-1590424290980.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and this is the output of AttributetoJson processor ....i want tags value in the list like ["UNIX01"]&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 16:35:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-pass-LIST-in-invoked-http-post-request/m-p/296565#M218290</guid>
      <dc:creator>renuu</dc:creator>
      <dc:date>2020-05-25T16:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass LIST in invoked http post request</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-pass-LIST-in-invoked-http-post-request/m-p/296621#M218323</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/78219"&gt;@renuu&lt;/a&gt;&amp;nbsp; &amp;nbsp; The solution you are looking for is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;${tags:unescapeJson()}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this answer resolves your issue or allows you to move forward, please choose to ACCEPT this solution and close this topic. If you have further dialogue on this topic please comment here or feel free to private message me. If you have new questions related to your Use Case please create separate topic and feel free to tag me in your post. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Steven&amp;nbsp;@ DFHZ&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 12:26:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-pass-LIST-in-invoked-http-post-request/m-p/296621#M218323</guid>
      <dc:creator>stevenmatison</dc:creator>
      <dc:date>2020-05-26T12:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass LIST in invoked http post request</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-pass-LIST-in-invoked-http-post-request/m-p/296640#M218335</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/60150"&gt;@stevenmatison&lt;/a&gt;&amp;nbsp;thnax for reply ...but i have question ..at which processor we have to write this expression ...i have apply this below expression on updateAttribute processor ..but still i am not getting out&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;${tags:unescapeJson()}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;please provide me the complete scenario..i meant where i have to write the tag property with value["unix02"] and this above expression .......&lt;/P&gt;&lt;P&gt;thanx in advance&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2020 18:54:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-pass-LIST-in-invoked-http-post-request/m-p/296640#M218335</guid>
      <dc:creator>renuu</dc:creator>
      <dc:date>2020-05-26T18:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass LIST in invoked http post request</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-pass-LIST-in-invoked-http-post-request/m-p/297353#M218659</link>
      <description>&lt;P&gt;hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/60150"&gt;@stevenmatison&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;this &lt;STRONG&gt;tag&lt;/STRONG&gt; is not working ...and we also want to send dictionary {"flow":"process"} in same processor ...&lt;/P&gt;&lt;P&gt;is it possible???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 09:58:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-pass-LIST-in-invoked-http-post-request/m-p/297353#M218659</guid>
      <dc:creator>renuu</dc:creator>
      <dc:date>2020-06-04T09:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass LIST in invoked http post request</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-pass-LIST-in-invoked-http-post-request/m-p/297374#M218667</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/78219"&gt;@renuu&lt;/a&gt;&amp;nbsp; Create your attributes how you need them to be in UpdateAttribute.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next use attributesToJson to combine the attributes you want, and put them together into a single json object. In this processor set to flowfile-attribute if you need to use them as attributes later. &amp;nbsp; If you need to POST the json, use flowfile-content.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you have set your attributes in UpdateAttribute, test the flow and view the attributes, or the flowfile content. &amp;nbsp;You may notice the strings are escaped. &amp;nbsp;If they are escaped, and you need them to not be escaped, that is when you must use unescapeJson. &amp;nbsp;You can use unescapeJson anywhere you are allowed to use expression language. You could use it in another UpdateAttribute process to make a new attribute that is unescaped. &amp;nbsp;You can use it in replaceText if you want to unescape the content of the flowfile before posting. &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 12:17:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-pass-LIST-in-invoked-http-post-request/m-p/297374#M218667</guid>
      <dc:creator>stevenmatison</dc:creator>
      <dc:date>2020-06-04T12:17:51Z</dc:date>
    </item>
  </channel>
</rss>

