<?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: Parse external defined expression in tmap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Parse-external-defined-expression-in-tmap/m-p/2211308#M9383</link>
    <description>The problem is not to store the rules but to execute them as it seems you want to use a kind pseudo-code.&lt;BR /&gt;So, you need to be able to transform this pseudo-code into pure Java code, then compile it and execute it, all of this while your job is running. Right?&lt;BR /&gt;If so, you can find a lot of examples if you search arround of "dynamic java code".&lt;BR /&gt;Here is one of them &lt;A href="https://www.quora.com/How-do-I-generate-a-dynamic-Java-class-and-execute-it" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.quora.com/How-do-I-generate-a-dynamic-Java-class-and-execute-it&lt;/A&gt;</description>
    <pubDate>Fri, 21 Sep 2018 23:03:43 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2018-09-21T23:03:43Z</dc:date>
    <item>
      <title>Parse external defined expression in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-external-defined-expression-in-tmap/m-p/2211305#M9380</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have the requirement to bring in some flexibility in some use cases. For example a job which should calculate prices based on certain rules. I was thinking to have a database table to have those rules, like "$uvp-20%" or "$bp+30%" or "$bp+30% &amp;lt; $uvp?&lt;SPAN&gt;$bp+30%:$uvp&lt;/SPAN&gt;".&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is there a best practice or an example how to build such system?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks for all your feedback,&lt;/P&gt; 
&lt;P&gt;Chris&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 19:56:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-external-defined-expression-in-tmap/m-p/2211305#M9380</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-21T19:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Parse external defined expression in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-external-defined-expression-in-tmap/m-p/2211306#M9381</link>
      <description>Did you consider to use a Business Rules Management System?&lt;BR /&gt;You should have a look at &lt;A href="https://help.talend.com/reader/uwwCVAHxWDS6l5fZQ~lVYA/MaM9hIC4bbFetAUP6xvSWQ" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/uwwCVAHxWDS6l5fZQ~lVYA/MaM9hIC4bbFetAUP6xvSWQ&lt;/A&gt;</description>
      <pubDate>Fri, 21 Sep 2018 20:04:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-external-defined-expression-in-tmap/m-p/2211306#M9381</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-09-21T20:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: Parse external defined expression in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-external-defined-expression-in-tmap/m-p/2211307#M9382</link>
      <description>&lt;P&gt;I did, but this is more a possible next step of the solution. At the current time there is not the space to learn a complete new technology.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EDIT: I just realized - I would need a subscription to use drools, too.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 20:15:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-external-defined-expression-in-tmap/m-p/2211307#M9382</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-21T20:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Parse external defined expression in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parse-external-defined-expression-in-tmap/m-p/2211308#M9383</link>
      <description>The problem is not to store the rules but to execute them as it seems you want to use a kind pseudo-code.&lt;BR /&gt;So, you need to be able to transform this pseudo-code into pure Java code, then compile it and execute it, all of this while your job is running. Right?&lt;BR /&gt;If so, you can find a lot of examples if you search arround of "dynamic java code".&lt;BR /&gt;Here is one of them &lt;A href="https://www.quora.com/How-do-I-generate-a-dynamic-Java-class-and-execute-it" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.quora.com/How-do-I-generate-a-dynamic-Java-class-and-execute-it&lt;/A&gt;</description>
      <pubDate>Fri, 21 Sep 2018 23:03:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parse-external-defined-expression-in-tmap/m-p/2211308#M9383</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-09-21T23:03:43Z</dc:date>
    </item>
  </channel>
</rss>

