<?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 Dynamic data transformation in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-data-transformation/m-p/2264049#M44022</link>
    <description>&lt;P&gt;so we have requirement to convert bunch of XML's into SQL however&amp;nbsp;we need to&amp;nbsp;transform data in between based on condition set,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;such as:&lt;/P&gt; 
&lt;P&gt;condition&amp;nbsp;1 : if clientname = 'a' and processtype = 'n' then columna = 'hello from a &amp;amp; some additional text'&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;condition&amp;nbsp;2&amp;nbsp;:&amp;nbsp;if clientname = 'b' and process&lt;/SPAN&gt;&lt;SPAN&gt;type = 'm' then columnb&amp;nbsp;= '&lt;/SPAN&gt;&lt;SPAN&gt;hello from b&amp;nbsp;&amp;amp; some additional text&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;condition&amp;nbsp;3&amp;nbsp;:&amp;nbsp;if date between '1/1/2017' and '1/1/2018' then columng = 'hello from&amp;nbsp;c&amp;nbsp;&amp;amp; some additional text'&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;condition&amp;nbsp;4&amp;nbsp;:&amp;nbsp;if&amp;nbsp;flag&amp;nbsp;= 'retrunclient' then columnx = 'hello from&amp;nbsp;x&amp;nbsp;&amp;amp; some additional text'&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;and so on...&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;we have bunch of condition like this &amp;amp; depending on condition, we need to update value for&amp;nbsp;different column each time.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;most of the XML's have&amp;nbsp;different schema &amp;amp;&amp;nbsp;depending on the XML, we can&amp;nbsp;load data into appropriate sql table however we need&amp;nbsp;something that we can use as generic transformation.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;We dont want to&amp;nbsp;write all these condition in tMap as we need some flexible solution that allow us to&amp;nbsp;change above condition without changing the job.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;We are using enterprise version 6.4. Is there something already available in Talend that we can use? drools? validation rules?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Dec 2018 17:22:08 GMT</pubDate>
    <dc:creator>nmodi</dc:creator>
    <dc:date>2018-12-28T17:22:08Z</dc:date>
    <item>
      <title>Dynamic data transformation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-data-transformation/m-p/2264049#M44022</link>
      <description>&lt;P&gt;so we have requirement to convert bunch of XML's into SQL however&amp;nbsp;we need to&amp;nbsp;transform data in between based on condition set,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;such as:&lt;/P&gt; 
&lt;P&gt;condition&amp;nbsp;1 : if clientname = 'a' and processtype = 'n' then columna = 'hello from a &amp;amp; some additional text'&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;condition&amp;nbsp;2&amp;nbsp;:&amp;nbsp;if clientname = 'b' and process&lt;/SPAN&gt;&lt;SPAN&gt;type = 'm' then columnb&amp;nbsp;= '&lt;/SPAN&gt;&lt;SPAN&gt;hello from b&amp;nbsp;&amp;amp; some additional text&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;condition&amp;nbsp;3&amp;nbsp;:&amp;nbsp;if date between '1/1/2017' and '1/1/2018' then columng = 'hello from&amp;nbsp;c&amp;nbsp;&amp;amp; some additional text'&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;condition&amp;nbsp;4&amp;nbsp;:&amp;nbsp;if&amp;nbsp;flag&amp;nbsp;= 'retrunclient' then columnx = 'hello from&amp;nbsp;x&amp;nbsp;&amp;amp; some additional text'&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;and so on...&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;we have bunch of condition like this &amp;amp; depending on condition, we need to update value for&amp;nbsp;different column each time.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;most of the XML's have&amp;nbsp;different schema &amp;amp;&amp;nbsp;depending on the XML, we can&amp;nbsp;load data into appropriate sql table however we need&amp;nbsp;something that we can use as generic transformation.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;We dont want to&amp;nbsp;write all these condition in tMap as we need some flexible solution that allow us to&amp;nbsp;change above condition without changing the job.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;We are using enterprise version 6.4. Is there something already available in Talend that we can use? drools? validation rules?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 17:22:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-data-transformation/m-p/2264049#M44022</guid>
      <dc:creator>nmodi</dc:creator>
      <dc:date>2018-12-28T17:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic data transformation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-data-transformation/m-p/2264050#M44023</link>
      <description>&lt;P&gt;I would really appreciate any help on this subject, really looking&amp;nbsp;forward to some direction on this in Talend&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 17:45:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-data-transformation/m-p/2264050#M44023</guid>
      <dc:creator>nmodi</dc:creator>
      <dc:date>2019-01-02T17:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic data transformation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-data-transformation/m-p/2264051#M44024</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000004XsaeAAC"&gt;@xdshi&lt;/A&gt;&amp;nbsp;I would really appreciate your on this to guide us in right direction.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 16:41:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-data-transformation/m-p/2264051#M44024</guid>
      <dc:creator>nmodi</dc:creator>
      <dc:date>2019-01-04T16:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic data transformation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-data-transformation/m-p/2264052#M44025</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Could you please let us know&amp;nbsp; if this related topic helps?&lt;/P&gt; 
&lt;P&gt;&lt;A title="https://community.talend.com/t5/Design-and-Development/tMap-with-Dynamic-schema/m-p/43409#M12970" href="https://community.qlik.com/s/feed/0D53p00007vCqSDCA0#M12970" target="_self"&gt;https://community.talend.com/t5/Design-and-Development/tMap-with-Dynamic-schema/m-p/43409#M12970&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 02:46:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-data-transformation/m-p/2264052#M44025</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-07T02:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic data transformation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-data-transformation/m-p/2264053#M44026</link>
      <description>&lt;P&gt;Thanks for your&amp;nbsp;response,&lt;/P&gt;&lt;P&gt;this is for dynamic schema, out&amp;nbsp;schema is predefined however&amp;nbsp;we&amp;nbsp;want&amp;nbsp;transform data based on&amp;nbsp;given&amp;nbsp;condition. and since there will be so many conditions like that, We dont want to&amp;nbsp;write this in as 'if or else' condition. Is there any better way to manage this scenarios?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for example:-&lt;/P&gt;&lt;P&gt;condition&amp;nbsp;1 : if clientname = 'a' and processtype = 'n' then columna = 'hello from a &amp;amp; some additional text'&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;condition&amp;nbsp;2&amp;nbsp;:&amp;nbsp;if clientname = 'b' and process&lt;/SPAN&gt;&lt;SPAN&gt;type = 'm' then columnb&amp;nbsp;= '&lt;/SPAN&gt;&lt;SPAN&gt;any other text&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;condition&amp;nbsp;3&amp;nbsp;:&amp;nbsp;if date between '1/1/2017' and '1/1/2018' then columng = 'any other text'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and so on...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 15:25:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-data-transformation/m-p/2264053#M44026</guid>
      <dc:creator>nmodi</dc:creator>
      <dc:date>2019-01-07T15:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic data transformation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-data-transformation/m-p/2264054#M44027</link>
      <description>do you above if else conditions has any pattern or business use case defined?&lt;BR /&gt;&lt;BR /&gt;if you can defined your use case and tranlate into transfomation rules , it would easy to use dynamic or automated logic. try tRules if that can help.&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jan 2019 20:49:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-data-transformation/m-p/2264054#M44027</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-01-07T20:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic data transformation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-data-transformation/m-p/2264055#M44028</link>
      <description>&lt;P&gt;There is no&amp;nbsp;common pattern really, it could be&amp;nbsp;any pre-defined condition.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see that tRule only takes 1 or 2 field as input &amp;amp; process those as output. How can I use that with whole dataset?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2019 20:55:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-data-transformation/m-p/2264055#M44028</guid>
      <dc:creator>nmodi</dc:creator>
      <dc:date>2019-01-07T20:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic data transformation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-data-transformation/m-p/2264056#M44029</link>
      <description>&lt;P&gt;I have a similar problem where I have an input row with around 250 columns and I need to apply over 1000 validation rules to this data. The output is a record id and an error number. Validation can&amp;nbsp;be a condition of a number of input fields. I can't see any way to apply multiple conditions to an input and get multiple errors for output.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 10:15:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-data-transformation/m-p/2264056#M44029</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-10T10:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic data transformation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-data-transformation/m-p/2264057#M44030</link>
      <description>you could use tMap for this.&lt;BR /&gt;&lt;BR /&gt;Develop each validation rule as Variable , 1)result variable should have error message or "" as a result .&lt;BR /&gt;valDef1 = ""&lt;BR /&gt;ValDef2 = "error"&lt;BR /&gt;valDef3 = ""&lt;BR /&gt;&lt;BR /&gt;2) Create another var like result = valdef1+ valDef2 + Valdef3&lt;BR /&gt;&lt;BR /&gt;4) create your Tmap out only if result result is not null .&lt;BR /&gt;&lt;BR /&gt;It is tricky if you want to keep your validation rule outside talend job.</description>
      <pubDate>Thu, 10 Jan 2019 11:20:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-data-transformation/m-p/2264057#M44030</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-01-10T11:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic data transformation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-data-transformation/m-p/2264058#M44031</link>
      <description>&lt;P&gt;We want the rules to be managed by the business. We currently have a rules engine that uses java script rules but it is slow compared to embedded rules.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 11:24:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-data-transformation/m-p/2264058#M44031</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-10T11:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic data transformation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-data-transformation/m-p/2264059#M44032</link>
      <description>Try Drool oprion
&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="https://help.talend.com/reader/uwwCVAHxWDS6l5fZQ~lVYA/Bnm0~QJqvDLhp~AsATmITA" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/uwwCVAHxWDS6l5fZQ~lVYA/Bnm0~QJqvDLhp~AsATmITA&lt;/A&gt;
&lt;BR /&gt;
&lt;BR /&gt;Apart from the Drools BRMS embedded into Talend Administration Center, you can also install and use Red Hat BRMS or JBoss BRMS to manage business rules. For further information, see Red Hat JBoss BRMS documentation.
&lt;BR /&gt;
&lt;BR /&gt;I never used these but looks like this could solve your problem.
&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Jan 2019 12:17:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-data-transformation/m-p/2264059#M44032</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-01-10T12:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic data transformation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-data-transformation/m-p/2264060#M44033</link>
      <description>&lt;P&gt;I was trying to use tRules but it only seems to allow 2 columns in the Schema for the rule so no use if validation condition applies to more than&amp;nbsp;2 columns&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 14:16:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-data-transformation/m-p/2264060#M44033</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-10T14:16:42Z</dc:date>
    </item>
  </channel>
</rss>

