<?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: TalendDate.getCurrentDate() with in Expression builder returning same date throughout the Route execution in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-getCurrentDate-with-in-Expression-builder-returning/m-p/2289511#M62883</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;HR /&gt; 
 &lt;A href="https://community.qlik.com/s/profile/0053p000007LM02AAG"&gt;@sowjanya&lt;/A&gt; wrote: 
 &lt;BR /&gt; 
 &lt;P&gt;Hi,&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;I am using this below expression in the cSetBody.&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;Language: SIMPLE&lt;/P&gt; 
 &lt;P&gt;Expression:&amp;nbsp;"This messaged is generated in a Route at :" + TalendDate.getCurrentDate()&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;The issue is, In each message I am getting the same datetime even though messages are&amp;nbsp;parted by 1 min. How can I get the current time on each message body?&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;I tried using the Numeric.sequence("MessageCount", 1,1) in the expression builder. that is also always returning 1 every time a new message is generated. why is that?&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;Thanks,&lt;/P&gt; 
 &lt;P&gt;Sowjanya.&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;HR /&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;What does your expected result look like? Could you please set an example for us?&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Oct 2017 09:13:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-10-16T09:13:48Z</dc:date>
    <item>
      <title>TalendDate.getCurrentDate() with in Expression builder returning same date throughout the Route execution</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-getCurrentDate-with-in-Expression-builder-returning/m-p/2289510#M62882</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using this below expression in the cSetBody.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Language: SIMPLE&lt;/P&gt;
&lt;P&gt;Expression:&amp;nbsp;"This messaged is generated in a Route at :" + TalendDate.getCurrentDate()&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The issue is, In each message I am getting the same datetime even though messages are&amp;nbsp;parted by 1 min. How can I get the current time on each message body?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried using the Numeric.sequence("MessageCount", 1,1) in the expression builder. that is also always returning 1 every time a new message is generated. why is that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Sowjanya.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:11:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-getCurrentDate-with-in-Expression-builder-returning/m-p/2289510#M62882</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate.getCurrentDate() with in Expression builder returning same date throughout the Route execution</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-getCurrentDate-with-in-Expression-builder-returning/m-p/2289511#M62883</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;HR /&gt; 
 &lt;A href="https://community.qlik.com/s/profile/0053p000007LM02AAG"&gt;@sowjanya&lt;/A&gt; wrote: 
 &lt;BR /&gt; 
 &lt;P&gt;Hi,&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;I am using this below expression in the cSetBody.&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;Language: SIMPLE&lt;/P&gt; 
 &lt;P&gt;Expression:&amp;nbsp;"This messaged is generated in a Route at :" + TalendDate.getCurrentDate()&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;The issue is, In each message I am getting the same datetime even though messages are&amp;nbsp;parted by 1 min. How can I get the current time on each message body?&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;I tried using the Numeric.sequence("MessageCount", 1,1) in the expression builder. that is also always returning 1 every time a new message is generated. why is that?&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;Thanks,&lt;/P&gt; 
 &lt;P&gt;Sowjanya.&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;HR /&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;What does your expected result look like? Could you please set an example for us?&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2017 09:13:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-getCurrentDate-with-in-Expression-builder-returning/m-p/2289511#M62883</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-16T09:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: TalendDate.getCurrentDate() with in Expression builder returning same date throughout the Route execution</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TalendDate-getCurrentDate-with-in-Expression-builder-returning/m-p/2289512#M62884</link>
      <description>&lt;P&gt;My expectation is to&amp;nbsp;log&amp;nbsp;the below messages, given that the route started at&amp;nbsp;&lt;SPAN&gt;15:03:55 and cTimer is set to generate messages with a delay of 1 min.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;gt; "This messaged is generated in a Route at : Wed Oct 11 15:&lt;STRONG&gt;03&lt;/STRONG&gt;:55 PDT 2017"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;gt; "This messaged is generated in a Route at :&amp;nbsp;Wed Oct 11 15:&lt;STRONG&gt;04&lt;/STRONG&gt;:55 PDT 2017"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;gt; "This messaged is generated in a Route at :&amp;nbsp;Wed Oct 11 15:&lt;STRONG&gt;05&lt;/STRONG&gt;:55 PDT 2017"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;gt; "This messaged is generated in a Route at :&amp;nbsp;Wed Oct 11 15:&lt;STRONG&gt;06&lt;/STRONG&gt;:55 PDT 2017"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;gt; "This messaged is generated in a Route at :&amp;nbsp;Wed Oct 11 15:&lt;STRONG&gt;07&lt;/STRONG&gt;:55 PDT 2017" ....and so on.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Issue is that it prints the same time even for a message generated&amp;nbsp; 30 mins after the route has started.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;gt; "This messaged is generated in a Route at :&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Wed Oct 11 15:&lt;/SPAN&gt;03&lt;SPAN&gt;:55 PDT 2017"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;thanks,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Sowjanya.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2017 16:27:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TalendDate-getCurrentDate-with-in-Expression-builder-returning/m-p/2289512#M62884</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-16T16:27:55Z</dc:date>
    </item>
  </channel>
</rss>

