<?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: ERROR while cast object into string in Data Quality</title>
    <link>https://community.qlik.com/t5/Data-Quality/ERROR-while-cast-object-into-string/m-p/2264304#M1968</link>
    <description>&lt;P&gt;It looks like the value of "Last_datetime" is maybe not a String. Is it is a Date object? Also, it looks like the key should be "last_datetime" and not "Last_datetime". Can you identify the data type of the column that supplies that value?&lt;/P&gt;</description>
    <pubDate>Thu, 31 Oct 2019 14:51:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-10-31T14:51:44Z</dc:date>
    <item>
      <title>ERROR while cast object into string</title>
      <link>https://community.qlik.com/t5/Data-Quality/ERROR-while-cast-object-into-string/m-p/2264303#M1967</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt; 
&lt;P&gt;I have a problem in my job here is it :&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 647px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M81x.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131291iC39293BA6AE74400/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M81x.png" alt="0683p000009M81x.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I would like to loop a datetime variable and display it with a tjava&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;here is my tflowtoiterate component :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 860px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7fH.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157516i8CB154955CE86B6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7fH.png" alt="0683p000009M7fH.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;but in my tjava component when i try to display my datetime variable it's ot working it's say object can not be convert into string&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;here my tjava component :&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 873px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7fg.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131806iE0C01B79BBC9447F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7fg.png" alt="0683p000009M7fg.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;any help please to convert this variable into datetime or string&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:12:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/ERROR-while-cast-object-into-string/m-p/2264303#M1967</guid>
      <dc:creator>Shinigaloo</dc:creator>
      <dc:date>2024-11-16T04:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR while cast object into string</title>
      <link>https://community.qlik.com/t5/Data-Quality/ERROR-while-cast-object-into-string/m-p/2264304#M1968</link>
      <description>&lt;P&gt;It looks like the value of "Last_datetime" is maybe not a String. Is it is a Date object? Also, it looks like the key should be "last_datetime" and not "Last_datetime". Can you identify the data type of the column that supplies that value?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 14:51:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/ERROR-while-cast-object-into-string/m-p/2264304#M1968</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-31T14:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR while cast object into string</title>
      <link>https://community.qlik.com/t5/Data-Quality/ERROR-while-cast-object-into-string/m-p/2264305#M1969</link>
      <description>&lt;P&gt;yes here is my source :&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 887px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7wF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131822i39BD23EA62860128/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7wF.png" alt="0683p000009M7wF.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;my column is last_datetime it's a datetime type and in my tmssqlinput here is the schema :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7b1.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141163iE961D867EF4387DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7b1.png" alt="0683p000009M7b1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;thx you for your answer.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 15:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/ERROR-while-cast-object-into-string/m-p/2264305#M1969</guid>
      <dc:creator>Shinigaloo</dc:creator>
      <dc:date>2019-10-31T15:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR while cast object into string</title>
      <link>https://community.qlik.com/t5/Data-Quality/ERROR-while-cast-object-into-string/m-p/2264306#M1970</link>
      <description>&lt;P&gt;I suspect that you want something more like this.....&lt;/P&gt; 
&lt;PRE&gt;context.datetime=TalendDate.formatDate("yyyy-MM-dd HH:mm:ss.SSS",((Date)globalMap.get("last_datetime")));
System.out.println("Value Of Input:"+context.datetime);&lt;/PRE&gt; 
&lt;P&gt;This may need some tweaking as I was copying from your screenshot. It always helps to include code as text so that it can be copied and pasted when needing editing.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 15:14:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/ERROR-while-cast-object-into-string/m-p/2264306#M1970</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-10-31T15:14:40Z</dc:date>
    </item>
  </channel>
</rss>

