<?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 Re: [resolved] Set Sequence Process between some of tMap output [Custom SCD] in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Set-Sequence-Process-between-some-of-tMap-output-Custom/m-p/2353484#M119663</link>
    <description>&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;you are already making sure that actions are happening in the correct order in tMap through Main Order (check the out bound connections of tMap).&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;I will advice 2 things:&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;1. Take the outut of Existing record update and insert in tLowRow to make sure that output is correct (i.e. Active flag)&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;2. If you are still facing the issue, then put the contents of ExistingInputInsert and InsertNew in a temp table first and then moving them to your target table. You can have component of moving them to your target table on SubjobOK of reading from source.&lt;/FONT&gt;&lt;/FONT&gt;</description>
    <pubDate>Wed, 05 Oct 2016 06:36:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-10-05T06:36:21Z</dc:date>
    <item>
      <title>[resolved] Set Sequence Process between some of tMap output [Custom SCD]</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Set-Sequence-Process-between-some-of-tMap-output-Custom/m-p/2353481#M119660</link>
      <description>&lt;P&gt;Hi devs,&lt;BR /&gt;Can someone please help me.&lt;BR /&gt;Right now i'm trying to build a job which basically is a custom SCD type 2 for a dimension table. I have my own reason why I'm not using SCD Component, so please stick with this method. &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Almost everything looks to be okay, but I have 1 problem. There are two output which are my main concern [look at the picture], Exist_record_new and Exist_record_New_UpdatePrevious. [please don't mind about the weird naming]&lt;BR /&gt;&lt;BR /&gt;Exist_record_new is the line for&amp;nbsp;insert new updated attribute in dimension, and put the Active Flag = 1. The 'Action on Data' is Insert.&lt;BR /&gt;&lt;BR /&gt;Exist_record_New_UpdatePrevious is the line for update the active flag become 0 and put the End Date for the record which has updated attribute. The 'Action on Data' is Update, with PrimaryKey.&lt;BR /&gt;&lt;BR /&gt;The problem is, when the new updated attribute which contain with Active Flag = 1 inserted to the table with txxxOutput, at the same time the other txxxOutput update &amp;nbsp;the active Flag become = 0.&amp;nbsp;&lt;BR /&gt;Later in the table there will be 2 data for 1 same BranchID, for the new updated Attribute and old one, and both has Active = 0.&lt;BR /&gt;&lt;BR /&gt;Question: Is there any specific way to set, let say, the UPDATE output RUN FIRST, and INSERT COMES AFTER.&lt;BR /&gt;So the new inserted one will not be overwritten by the update component.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance devs!!&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFp1.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156625iD7F28A8333257515/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFp1.png" alt="0683p000009MFp1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2016 11:45:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Set-Sequence-Process-between-some-of-tMap-output-Custom/m-p/2353481#M119660</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-04T11:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Set Sequence Process between some of tMap output [Custom SCD]</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Set-Sequence-Process-between-some-of-tMap-output-Custom/m-p/2353482#M119661</link>
      <description>Are you sure that Active Flag output of&amp;nbsp;&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;Exist_record_new is correct?&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;you are already making sure that actions are happening in the correct order in tMap through Main Order (check the out bound connections of tMap).&amp;nbsp;&lt;BR /&gt;Can you please confirm on the output of the tMap function?</description>
      <pubDate>Wed, 05 Oct 2016 05:32:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Set-Sequence-Process-between-some-of-tMap-output-Custom/m-p/2353482#M119661</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-05T05:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Set Sequence Process between some of tMap output [Custom SCD]</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Set-Sequence-Process-between-some-of-tMap-output-Custom/m-p/2353483#M119662</link>
      <description>@Verma 
&lt;BR /&gt;Firstly, Thank you for your respond. 
&lt;BR /&gt; 
&lt;BR /&gt;So basically the Expression filter of Exist_record_New and Exist_Record_New_UpdatePrev are using the same expression 
&lt;BR /&gt;The expression like : !row1.AttributeABC.equals(row6.AttributeABC), this is to find if there was any changes on the attribute or not.&amp;nbsp; 
&lt;BR /&gt;And for&amp;nbsp;Exist_record_New&amp;nbsp;in tMap, I hardcoded the Active Flag value to 1, 
&lt;BR /&gt;and for Exist_Record_New_UpdatePrev, I hardcoded the active Flag value to 0. 
&lt;BR /&gt; 
&lt;BR /&gt;Everything supposed to be fine. My only problem is, since there are 2 outputs from 1 same tMap, how do I set so the A output run first, and B output run after the A.&amp;nbsp; 
&lt;BR /&gt;I need a way (or component maybe), to make the insert component to wait until the update done, and run later. 
&lt;BR /&gt;Please kindly your help.&amp;nbsp; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 05 Oct 2016 05:54:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Set-Sequence-Process-between-some-of-tMap-output-Custom/m-p/2353483#M119662</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-05T05:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Set Sequence Process between some of tMap output [Custom SCD]</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Set-Sequence-Process-between-some-of-tMap-output-Custom/m-p/2353484#M119663</link>
      <description>&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;you are already making sure that actions are happening in the correct order in tMap through Main Order (check the out bound connections of tMap).&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;I will advice 2 things:&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;1. Take the outut of Existing record update and insert in tLowRow to make sure that output is correct (i.e. Active flag)&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana," helvetica=""&gt;2. If you are still facing the issue, then put the contents of ExistingInputInsert and InsertNew in a temp table first and then moving them to your target table. You can have component of moving them to your target table on SubjobOK of reading from source.&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Wed, 05 Oct 2016 06:36:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Set-Sequence-Process-between-some-of-tMap-output-Custom/m-p/2353484#M119663</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-05T06:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Set Sequence Process between some of tMap output [Custom SCD]</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Set-Sequence-Process-between-some-of-tMap-output-Custom/m-p/2353485#M119664</link>
      <description>@Verma, 
&lt;BR /&gt;1. Yes, I checked it already with using tlogrow. Active Flag for Existing_Record_New is 1, and the other one is 0. &amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt;2. Yes actually we can do that way. Put the data first into the stg table. To move it into the real dimension table put subjob ok after the update component. 
&lt;BR /&gt; 
&lt;BR /&gt;But my concern will be, if let say I only had 3 dimension tables it might be okay. 
&lt;BR /&gt;What if I have 30 dimension tables? That approach will lead me to build another 30 stg table, because each of dim table has different columns.&amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt;Is there any temp or in-memory table component in Talend, so I don't need to create any physical table as the stg?</description>
      <pubDate>Wed, 05 Oct 2016 10:50:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Set-Sequence-Process-between-some-of-tMap-output-Custom/m-p/2353485#M119664</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-05T10:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Set Sequence Process between some of tMap output [Custom SCD]</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Set-Sequence-Process-between-some-of-tMap-output-Custom/m-p/2353486#M119665</link>
      <description>The order of a tMap's outputs are determined by the order they appear in the map editor. &amp;nbsp;You can re-order them using the Up and Down arrows in the map editor (see screenshot).
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFqD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137160i04F90A4DAC23BEA1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFqD.png" alt="0683p000009MFqD.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 05 Oct 2016 17:29:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Set-Sequence-Process-between-some-of-tMap-output-Custom/m-p/2353486#M119665</guid>
      <dc:creator>cterenzi</dc:creator>
      <dc:date>2016-10-05T17:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Set Sequence Process between some of tMap output [Custom SCD]</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Set-Sequence-Process-between-some-of-tMap-output-Custom/m-p/2353487#M119666</link>
      <description>@cterenzi&lt;BR /&gt;Wow excellent!! A simple thing to set the ordering.&lt;BR /&gt;That is what actually I'm looking for..&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks guys.</description>
      <pubDate>Thu, 06 Oct 2016 03:27:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Set-Sequence-Process-between-some-of-tMap-output-Custom/m-p/2353487#M119666</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-06T03:27:26Z</dc:date>
    </item>
  </channel>
</rss>

