<?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 Conditional check with variable in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320434#M90573</link>
    <description>Hi, 
&lt;BR /&gt;Im new to Talend, but old to Microsoft SSIS is there any component that resembles conditional split in SSIS. 
&lt;BR /&gt;i searched a lot but didnt find one. 
&lt;BR /&gt;The Scenario is this i have a single input task and 2 scd, one SCD does SCD type 1 and Other does SCD type 2 
&lt;BR /&gt;i need to control the flow of the input data with a variable. if the variable is 1 then it has to do only the SCD 1 operation 
&lt;BR /&gt;and 2 vice versa. 
&lt;BR /&gt;i too tried something no result, i also attached some images with this, Please have a look. 
&lt;BR /&gt; 
&lt;BR /&gt;Thank you 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDn7.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144566i40EAF1663E54B781/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDn7.png" alt="0683p000009MDn7.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Thu, 17 Apr 2014 14:09:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-04-17T14:09:42Z</dc:date>
    <item>
      <title>Conditional check with variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320434#M90573</link>
      <description>Hi, 
&lt;BR /&gt;Im new to Talend, but old to Microsoft SSIS is there any component that resembles conditional split in SSIS. 
&lt;BR /&gt;i searched a lot but didnt find one. 
&lt;BR /&gt;The Scenario is this i have a single input task and 2 scd, one SCD does SCD type 1 and Other does SCD type 2 
&lt;BR /&gt;i need to control the flow of the input data with a variable. if the variable is 1 then it has to do only the SCD 1 operation 
&lt;BR /&gt;and 2 vice versa. 
&lt;BR /&gt;i too tried something no result, i also attached some images with this, Please have a look. 
&lt;BR /&gt; 
&lt;BR /&gt;Thank you 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDn7.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144566i40EAF1663E54B781/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDn7.png" alt="0683p000009MDn7.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 17 Apr 2014 14:09:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320434#M90573</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-17T14:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional check with variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320435#M90574</link>
      <description>maharaj.narayanan - can you show us a screenshot of your tMap mapping?</description>
      <pubDate>Thu, 17 Apr 2014 20:55:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320435#M90574</guid>
      <dc:creator>willm1</dc:creator>
      <dc:date>2014-04-17T20:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional check with variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320436#M90575</link>
      <description>Hi,&lt;BR /&gt;If you have a variable for 1 and 2 in input data, then there is no need of tMap. Use tFilterrow and filter and reject record based on the value of variable. Connect scd1 and scd2...?&lt;BR /&gt;Using tmap also is simple to implement... filter data at the output for your variable 1 and 2, so flow will be allowed in respective output for scd1 or scd2 when input has 1 or 2 respectively.&lt;BR /&gt;But doubt is how you can have value of 1 and 2 in variable????&lt;BR /&gt;Vaibhav</description>
      <pubDate>Fri, 18 Apr 2014 06:07:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320436#M90575</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-18T06:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional check with variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320437#M90576</link>
      <description>Im not sure with this</description>
      <pubDate>Fri, 18 Apr 2014 06:34:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320437#M90576</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-18T06:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional check with variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320438#M90577</link>
      <description>I think you need to revisit the business logic and come up with some logical scenario for the business problem.&lt;BR /&gt;Vaibhav</description>
      <pubDate>Fri, 18 Apr 2014 06:53:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320438#M90577</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-18T06:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional check with variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320439#M90578</link>
      <description>The scenario is simple, i would like to have 2 scd component one for scd1 and another for scd2 by default it may be scd 1 loading strategy but if in future if i need to enable scd 2 i just need to change the variabe to 2.&lt;BR /&gt;that all</description>
      <pubDate>Fri, 18 Apr 2014 08:30:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320439#M90578</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-18T08:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional check with variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320440#M90579</link>
      <description>Solution is also very simple. 
&lt;BR /&gt;- Create a context variable context.select_scd as integer. Set its value to 1 
&lt;BR /&gt;- Use filter condition in tmap for 1 or 2 as per the screenshot 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;Vaibhav 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDdE.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137300i12151C98D1894831/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDdE.jpg" alt="0683p000009MDdE.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 18 Apr 2014 08:53:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320440#M90579</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-18T08:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional check with variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320441#M90580</link>
      <description>hi sanvaibhav,&lt;BR /&gt;Thanks a lot for the reply but this is what i too did but no data flows either way.&lt;BR /&gt;thats y i posted this question.&lt;BR /&gt;thankyou</description>
      <pubDate>Fri, 18 Apr 2014 10:43:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320441#M90580</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-18T10:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional check with variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320442#M90581</link>
      <description>Can you put the screenshot of your tmap. 
&lt;BR /&gt;I created a small poc to show it works. See two screenshots alternate when the value is swapped from 1 to 2 
&lt;BR /&gt;Vaibhav 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDZp.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155328iC59711AF5EF40DB1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDZp.jpg" alt="0683p000009MDZp.jpg" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDiJ.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129044iC560D42B2F4AC13D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDiJ.jpg" alt="0683p000009MDiJ.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 18 Apr 2014 11:16:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320442#M90581</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-18T11:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional check with variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320443#M90582</link>
      <description>this is my tmap&lt;BR /&gt;&lt;A href="http://postimg.org/image/jea7vi55h/" rel="nofollow noopener noreferrer"&gt;http://postimg.org/image/jea7vi55h/&lt;/A&gt;</description>
      <pubDate>Fri, 18 Apr 2014 11:19:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320443#M90582</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-18T11:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional check with variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320444#M90583</link>
      <description>What is the datatype of context.scd and what is default value?&lt;BR /&gt;Vaibhav</description>
      <pubDate>Fri, 18 Apr 2014 11:37:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320444#M90583</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-18T11:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional check with variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320445#M90584</link>
      <description>Integer.</description>
      <pubDate>Fri, 18 Apr 2014 11:39:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320445#M90584</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-18T11:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional check with variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320446#M90585</link>
      <description>and what is default value inside context editor window?</description>
      <pubDate>Fri, 18 Apr 2014 11:42:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320446#M90585</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-18T11:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional check with variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320447#M90586</link>
      <description>Thanks sanvaibhav.,&lt;BR /&gt;Found whats the mistake its the "Default" in value as tree, i created a new context in it thats y the job runs and data isnt flowing. now i changed the default value and it runs.&lt;BR /&gt;&lt;BR /&gt;Thanks a Lot</description>
      <pubDate>Fri, 18 Apr 2014 11:47:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320447#M90586</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-18T11:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional check with variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320448#M90587</link>
      <description>and if u dont mind can i continue with one more doubt</description>
      <pubDate>Fri, 18 Apr 2014 11:51:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320448#M90587</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-18T11:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional check with variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320449#M90588</link>
      <description>If it is related to same topic, then pl continue... else mark this topic as fixed and open new one.&lt;BR /&gt;Vaibhav</description>
      <pubDate>Fri, 18 Apr 2014 12:04:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320449#M90588</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-18T12:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional check with variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320450#M90589</link>
      <description>Consider that i have a table with two field column 1 as job name and column 2 as scd strategy field&lt;BR /&gt;the thing i have entry of all the name of the job and how the loading should be done in this table&lt;BR /&gt;Now how do i fetch the corresponding value from that table to a variable for running that tmap as we discussed above</description>
      <pubDate>Fri, 18 Apr 2014 12:20:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320450#M90589</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-18T12:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional check with variable</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320451#M90590</link>
      <description>Use a query "select * from yourtablename where column_1 = 'jobName'". Here jobName is talend system variable. From this you will get column2 as scd strategy. Assign its value to context variable and then execute actual job. If your job names are not standardized as per talend job name then you will have to modify query accordingly so as to identify relevant job. 
&lt;BR /&gt;Vaibhav</description>
      <pubDate>Fri, 18 Apr 2014 13:38:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Conditional-check-with-variable/m-p/2320451#M90590</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-18T13:38:26Z</dc:date>
    </item>
  </channel>
</rss>

