<?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: How to set variable in Route and pass it into cTalendJob in contxtPara in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-variable-in-Route-and-pass-it-into-cTalendJob-in/m-p/2316110#M86689</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;???&lt;BR /&gt;globalMap is a standard Map in the TOS/TIS jobs, no need to declare it.&lt;BR /&gt;maybe the ESB architecture/codegeneration differs from TOS.&lt;BR /&gt;Sorry, cant help you then&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;yes for jobs, but it does not exist in routes.</description>
    <pubDate>Fri, 09 Dec 2016 11:09:45 GMT</pubDate>
    <dc:creator>Loko</dc:creator>
    <dc:date>2016-12-09T11:09:45Z</dc:date>
    <item>
      <title>How to set variable in Route and pass it into cTalendJob in contxtPara</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-variable-in-Route-and-pass-it-into-cTalendJob-in/m-p/2316105#M86684</link>
      <description>How I can ascribe " 
&lt;FONT face="consolas, monaco, 'bitstream vera sans mono', 'courier new', courier, monospace"&gt;exchange.getIn().getMessageId()"&lt;/FONT&gt;&amp;nbsp;to variable and pass it through "ContextParam" in cTalendJob to my Job? &amp;nbsp;I can pass String like "bla bla bla", but when I try pass variable like ${myVariable}, #{myVariable}, {myVariable}, $myVariable, context.myVariable I get error "myVariable cannot be resolved a variable". Someone knows how to do it? 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/364963/flow.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDY3.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143520iB7881DBF2C362924/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDY3.png" alt="0683p000009MDY3.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/364963/getId.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDlu.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144565iCEB98E9FE2EDD8B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDlu.png" alt="0683p000009MDlu.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;</description>
      <pubDate>Sat, 16 Nov 2024 10:42:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-set-variable-in-Route-and-pass-it-into-cTalendJob-in/m-p/2316105#M86684</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to set variable in Route and pass it into cTalendJob in contxtPara</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-variable-in-Route-and-pass-it-into-cTalendJob-in/m-p/2316106#M86685</link>
      <description>Czesc 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;if you want to access a contextvariable you need to have it in the context of Job testowyroute already. 
&lt;BR /&gt;better use the globalMap: 
&lt;BR /&gt;in cProcessor1 write : globalMap.put("messid", ......); 
&lt;BR /&gt;in cTalendJob at column wartosci you write: (typeofmessagid)globalMap.get("messid") 
&lt;BR /&gt;HTH 
&lt;BR /&gt;dj</description>
      <pubDate>Fri, 08 Apr 2016 13:16:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-set-variable-in-Route-and-pass-it-into-cTalendJob-in/m-p/2316106#M86685</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-08T13:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to set variable in Route and pass it into cTalendJob in contxtPara</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-variable-in-Route-and-pass-it-into-cTalendJob-in/m-p/2316107#M86686</link>
      <description>Thx for replay.
&lt;BR /&gt;I added cProcessor before cTalendJob with this:
&lt;BR /&gt;import java.util.Map;
&lt;BR /&gt;Map globalMap = new HashMap();
&lt;BR /&gt;globalMap.put("messId", "testId");
&lt;BR /&gt;and in cTalendJob in Context Param this:
&lt;BR /&gt;(String) globalMap.get("messId")
&lt;BR /&gt;but I get error "globalMap cannot be resolved".&amp;nbsp;</description>
      <pubDate>Sat, 09 Apr 2016 18:51:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-set-variable-in-Route-and-pass-it-into-cTalendJob-in/m-p/2316107#M86686</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-09T18:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to set variable in Route and pass it into cTalendJob in contxtPara</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-variable-in-Route-and-pass-it-into-cTalendJob-in/m-p/2316108#M86687</link>
      <description>???&lt;BR /&gt;globalMap is a standard Map in the TOS/TIS jobs, no need to declare it.&lt;BR /&gt;maybe the ESB architecture/codegeneration differs from TOS.&lt;BR /&gt;Sorry, cant help you then</description>
      <pubDate>Mon, 11 Apr 2016 11:52:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-set-variable-in-Route-and-pass-it-into-cTalendJob-in/m-p/2316108#M86687</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-11T11:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to set variable in Route and pass it into cTalendJob in contxtPara</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-variable-in-Route-and-pass-it-into-cTalendJob-in/m-p/2316109#M86688</link>
      <description>It's much easier than you think. The id is already part of the message. You don't need to change the route at all, instead in your job the first component should be a tRouteInput component. The schema of that component will be by default:&lt;BR /&gt;&amp;nbsp;body -&amp;gt; "${in.body}"&lt;BR /&gt;&amp;nbsp;Edit the schema and add a new column of type string:&amp;nbsp;&lt;BR /&gt;messageId -&amp;gt; "${id}"&lt;BR /&gt;Then simply assign it to whatever variable you wish from the flow.&amp;nbsp;</description>
      <pubDate>Mon, 11 Apr 2016 22:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-set-variable-in-Route-and-pass-it-into-cTalendJob-in/m-p/2316109#M86688</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-11T22:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to set variable in Route and pass it into cTalendJob in contxtPara</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-set-variable-in-Route-and-pass-it-into-cTalendJob-in/m-p/2316110#M86689</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;???&lt;BR /&gt;globalMap is a standard Map in the TOS/TIS jobs, no need to declare it.&lt;BR /&gt;maybe the ESB architecture/codegeneration differs from TOS.&lt;BR /&gt;Sorry, cant help you then&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;yes for jobs, but it does not exist in routes.</description>
      <pubDate>Fri, 09 Dec 2016 11:09:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-set-variable-in-Route-and-pass-it-into-cTalendJob-in/m-p/2316110#M86689</guid>
      <dc:creator>Loko</dc:creator>
      <dc:date>2016-12-09T11:09:45Z</dc:date>
    </item>
  </channel>
</rss>

