<?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>topic tExtractJSONFields conditional statement in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields-conditional-statement/m-p/2470544#M140985</link>
    <description>&lt;P&gt;Pretty new to Talend and I have a simple job that calls a REST API, parses the response and should call a 2nd REST API based on a field value returned in the 1st call.&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="talend-restclient.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169340iD8F0D8BC58AD42D6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="talend-restclient.png" alt="talend-restclient.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on the screenshot/mappings above, what would be the correct 'if' statement for this? &lt;BR /&gt;eg: &lt;EM&gt;(connState == "&amp;lt;some string")&lt;/EM&gt;&lt;BR /&gt;TIA.&lt;/P&gt;</description>
    <pubDate>Sun, 14 Jul 2024 23:52:22 GMT</pubDate>
    <dc:creator>pgfitzpatrick</dc:creator>
    <dc:date>2024-07-14T23:52:22Z</dc:date>
    <item>
      <title>tExtractJSONFields conditional statement</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields-conditional-statement/m-p/2470544#M140985</link>
      <description>&lt;P&gt;Pretty new to Talend and I have a simple job that calls a REST API, parses the response and should call a 2nd REST API based on a field value returned in the 1st call.&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="talend-restclient.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169340iD8F0D8BC58AD42D6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="talend-restclient.png" alt="talend-restclient.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on the screenshot/mappings above, what would be the correct 'if' statement for this? &lt;BR /&gt;eg: &lt;EM&gt;(connState == "&amp;lt;some string")&lt;/EM&gt;&lt;BR /&gt;TIA.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jul 2024 23:52:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields-conditional-statement/m-p/2470544#M140985</guid>
      <dc:creator>pgfitzpatrick</dc:creator>
      <dc:date>2024-07-14T23:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: tExtractJSONFields conditional statement</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields-conditional-statement/m-p/2471004#M140997</link>
      <description>&lt;P&gt;I did figure out a solution. Detailing it in case it helps others.&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-center" image-alt="talend-job3.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169429i4E75C6212A0567DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="talend-job3.png" alt="talend-job3.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;if condition is:&lt;BR /&gt;row2.&amp;lt;output-var&amp;gt;.toString().indexOf("&amp;lt;some-str&amp;gt;")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 16:45:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tExtractJSONFields-conditional-statement/m-p/2471004#M140997</guid>
      <dc:creator>pgfitzpatrick</dc:creator>
      <dc:date>2024-07-16T16:45:50Z</dc:date>
    </item>
  </channel>
</rss>

