<?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 tHMap and if then else (or ternary operator) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tHMap-and-if-then-else-or-ternary-operator/m-p/2376633#M144420</link>
    <description>&lt;P&gt;Hi experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm working on a job that reads from a table (now I'm using a test text file) and writes an IDoc.&lt;BR /&gt;I have to implement an if-then-else on some fields, and I'm wondering how I must use it.&lt;BR /&gt;I dragged the function IfThenElse from the palette into the interested field, but how I must use it?&lt;BR /&gt;How can I set that the condition is fieldfrominput = 'value', then fill with an incremental number from 0000000001...?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is how it is the function once dragged on the field.&lt;BR /&gt;IfThenElse&lt;BR /&gt;(x)Condition - Drop/paste here&lt;BR /&gt;(x)Then - Drop/paste here&lt;BR /&gt;(x)Else - Drop/paste here&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another question I want to ask you: is it possible to use ternary operator in the tHMap?&lt;BR /&gt;If yes, how I can set it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Corinne&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 07:26:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T07:26:37Z</dc:date>
    <item>
      <title>tHMap and if then else (or ternary operator)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHMap-and-if-then-else-or-ternary-operator/m-p/2376633#M144420</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm working on a job that reads from a table (now I'm using a test text file) and writes an IDoc.&lt;BR /&gt;I have to implement an if-then-else on some fields, and I'm wondering how I must use it.&lt;BR /&gt;I dragged the function IfThenElse from the palette into the interested field, but how I must use it?&lt;BR /&gt;How can I set that the condition is fieldfrominput = 'value', then fill with an incremental number from 0000000001...?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is how it is the function once dragged on the field.&lt;BR /&gt;IfThenElse&lt;BR /&gt;(x)Condition - Drop/paste here&lt;BR /&gt;(x)Then - Drop/paste here&lt;BR /&gt;(x)Else - Drop/paste here&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another question I want to ask you: is it possible to use ternary operator in the tHMap?&lt;BR /&gt;If yes, how I can set it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Corinne&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:26:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHMap-and-if-then-else-or-ternary-operator/m-p/2376633#M144420</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T07:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: tHMap and if then else (or ternary operator)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHMap-and-if-then-else-or-ternary-operator/m-p/2376634#M144421</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;We have redirected your issue to our TDM experts and then come back to you as soon as we can.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2018 07:29:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHMap-and-if-then-else-or-ternary-operator/m-p/2376634#M144421</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-29T07:29:51Z</dc:date>
    </item>
  </channel>
</rss>

