<?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: [ Pushing context variables into tREST using tJavaRow] in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Pushing-context-variables-into-tREST-using-tJavaRow/m-p/2298348#M70828</link>
    <description>Hi &lt;BR /&gt;The reason is because there is no output component for tJavaRow.&lt;BR /&gt;So you'd better delete the first line in tJavaRow.&lt;BR /&gt;&lt;PRE&gt;output_row.orgId = input_row.orgId;&lt;/PRE&gt;&lt;BR /&gt;Then the job works fine.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
    <pubDate>Fri, 25 May 2012 03:30:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-05-25T03:30:58Z</dc:date>
    <item>
      <title>[ Pushing context variables into tREST using tJavaRow]</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pushing-context-variables-into-tREST-using-tJavaRow/m-p/2298347#M70827</link>
      <description>&lt;BR /&gt;We are trying to append this ID from the CSV file and push it to tREST using context variables
&lt;BR /&gt;&amp;gt;&amp;gt;orgId
&lt;BR /&gt;&amp;gt;&amp;gt;3
&lt;BR /&gt;The context variable value is read and set using --&amp;gt; tFileInputDelimited_1 -&amp;gt; tJavaRow_1- see Diagram 1
&lt;BR /&gt;
&lt;BR /&gt;tJavaRow_1 has been coded to READ from the csv and insert the orgId into context variable "temp" (see diagram 2)
&lt;BR /&gt;
&lt;BR /&gt;Note that the columns ARE sync'ed up and there is a DEFAULT VALUE OF ZERO that is set in the context as well (see diagram 3)
&lt;BR /&gt;
&lt;BR /&gt;In the final step I try to APPEND the value read from the CSV into tREST (see diagram 4)
&lt;BR /&gt;
&lt;BR /&gt;But that gives me THIS error (see diagram 5) - tREST does NOT recognize output_row.
&lt;BR /&gt;
&lt;BR /&gt;Any ideas so as to what might be causing this ?
&lt;BR /&gt;Also it turns out I cannot set an "OnComponentOK" link between tJavaRow and tREST (see diagram 6 )
&lt;BR /&gt;-A</description>
      <pubDate>Sat, 16 Nov 2024 12:16:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pushing-context-variables-into-tREST-using-tJavaRow/m-p/2298347#M70827</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: [ Pushing context variables into tREST using tJavaRow]</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pushing-context-variables-into-tREST-using-tJavaRow/m-p/2298348#M70828</link>
      <description>Hi &lt;BR /&gt;The reason is because there is no output component for tJavaRow.&lt;BR /&gt;So you'd better delete the first line in tJavaRow.&lt;BR /&gt;&lt;PRE&gt;output_row.orgId = input_row.orgId;&lt;/PRE&gt;&lt;BR /&gt;Then the job works fine.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Fri, 25 May 2012 03:30:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pushing-context-variables-into-tREST-using-tJavaRow/m-p/2298348#M70828</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-05-25T03:30:58Z</dc:date>
    </item>
  </channel>
</rss>

