<?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: Validation of data posted in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Validation-of-data-posted/m-p/2318335#M88689</link>
    <description>&lt;P&gt;Hi, As said before the job is the easiest way to manipulate data. If you want to do it inside the route, you can filter message inside a route with  "cMessageFilter". So if you message must only have comma and number, you could use Simple language to do it inside the component cMessageFilter. It will be something like  "${in.body} !regex [^\d,]"  if it matches it means that you don't have something else than number and comma. I didn't test the solution, it's just an insight.  &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the second maybe trying a split and count in simple ? And then do on it a less than ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have all the documentation for simple languages here : &lt;/P&gt;&lt;P&gt;https://camel.apache.org/components/3.18.x/languages/simple-language.html&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And here how cMessageFilter works : &lt;/P&gt;&lt;P&gt;https://help.talend.com/r/en-US/8.0/filter/cmessagefilter-standard-properties&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a nice day and good luck , &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Aug 2022 15:10:23 GMT</pubDate>
    <dc:creator>ann-gaelle</dc:creator>
    <dc:date>2022-08-22T15:10:23Z</dc:date>
    <item>
      <title>Validation of data posted</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Validation-of-data-posted/m-p/2318333#M88687</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am working with Talend I have received the task to make a route&lt;/P&gt;&lt;P&gt;This route should take data from an api and put the result on a queue .&lt;/P&gt;&lt;P&gt;I have issues with the request to have 2 validations of data posted on api&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;one of them is to have only digits and commas in string posted and&lt;/LI&gt;&lt;LI&gt;the second is to have at most 200 numbers (ex: 123,34,35,780,01, ..... to have no more than 200 numbers between commas&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;A collegue suggest to use regular expresions and I found this expresion ^[0-9]+(,[0-9]+)*$ for doing the first demand but I do not know how to use it in my route .&lt;/P&gt;&lt;P&gt;I use cREST and I do not know where to put this expresion for doing validation.&lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aurel&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:38:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Validation-of-data-posted/m-p/2318333#M88687</guid>
      <dc:creator>ASandu1637236092</dc:creator>
      <dc:date>2024-11-15T22:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Validation of data posted</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Validation-of-data-posted/m-p/2318334#M88688</link>
      <description>&lt;P&gt;If you want to carry out complicated manipulations of data inside a Route, you can make use of a Talend Job with a cTalendJob component. This will allow you to build a Talend Job and have it used inside the Route.  This documentation talks you through a basic example....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://help.talend.com/r/en-US/8.0/route/ctalendjob-standard-properties&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 14:01:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Validation-of-data-posted/m-p/2318334#M88688</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-22T14:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Validation of data posted</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Validation-of-data-posted/m-p/2318335#M88689</link>
      <description>&lt;P&gt;Hi, As said before the job is the easiest way to manipulate data. If you want to do it inside the route, you can filter message inside a route with  "cMessageFilter". So if you message must only have comma and number, you could use Simple language to do it inside the component cMessageFilter. It will be something like  "${in.body} !regex [^\d,]"  if it matches it means that you don't have something else than number and comma. I didn't test the solution, it's just an insight.  &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the second maybe trying a split and count in simple ? And then do on it a less than ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have all the documentation for simple languages here : &lt;/P&gt;&lt;P&gt;https://camel.apache.org/components/3.18.x/languages/simple-language.html&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And here how cMessageFilter works : &lt;/P&gt;&lt;P&gt;https://help.talend.com/r/en-US/8.0/filter/cmessagefilter-standard-properties&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a nice day and good luck , &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 15:10:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Validation-of-data-posted/m-p/2318335#M88689</guid>
      <dc:creator>ann-gaelle</dc:creator>
      <dc:date>2022-08-22T15:10:23Z</dc:date>
    </item>
  </channel>
</rss>

