<?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: Pass parameter to talend cloud job via public API in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Pass-parameter-to-talend-cloud-job-via-public-API/m-p/2287093#M60715</link>
    <description>&lt;P&gt;Bump.&lt;/P&gt;
&lt;P&gt;Any updates or new findings how this actually works? The api docs are sparse/nonexistent .&lt;/P&gt;</description>
    <pubDate>Tue, 12 Nov 2019 19:38:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-11-12T19:38:35Z</dc:date>
    <item>
      <title>Pass parameter to talend cloud job via public API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-parameter-to-talend-cloud-job-via-public-API/m-p/2287090#M60712</link>
      <description>&lt;P&gt;Is it possible to pass a parameter from the POST executions API to a cloud job? The example/model in swagger shows&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="strong"&gt;Executable task {&lt;/SPAN&gt;&lt;/P&gt; 
&lt;DIV&gt; 
 &lt;SPAN class="propName required"&gt;executable&lt;/SPAN&gt; 
 &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;( 
 &lt;SPAN class="propType"&gt;string&lt;/SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; 
 &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; 
 &lt;P&gt;Executable identifier&lt;/P&gt; 
 &lt;SPAN class="propDesc markdown"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;, 
&lt;/DIV&gt; 
&lt;DIV&gt; 
 &lt;SPAN class="propName "&gt;parameters&lt;/SPAN&gt; 
 &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;( 
 &lt;SPAN class="propType"&gt;inline_model&lt;/SPAN&gt;, 
 &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; 
 &lt;SPAN class="propOptKey"&gt;optional&lt;/SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; 
 &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; 
 &lt;P&gt;Executable parameters&lt;/P&gt; 
&lt;/DIV&gt; 
&lt;P&gt;&lt;SPAN class="strong"&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="strong"&gt;inline_model {&lt;/SPAN&gt;&lt;SPAN class="strong"&gt;}&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;But, when I publish a job to cloud and try this POST below, it runs, returns 201 but the job isn't using the parameter.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;- curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'Authorization: Basic xxxxxx ==' -d '{ \&lt;BR /&gt;"executable": "5cc75d7e1488ad43b1447f6a", \&lt;BR /&gt;\&lt;BR /&gt;"parameters": { \&lt;BR /&gt;"parameter_passed": "test" \&lt;BR /&gt;} \&lt;BR /&gt;}' '&lt;A href="https://api.us.cloud.talend.com/tmc/v1.2/executions" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api.us.cloud.talend.com/tmc/v1.2/executions&lt;/A&gt;'&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can someone please explain this? Is there a different way to set up the context variable or something?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:57:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-parameter-to-talend-cloud-job-via-public-API/m-p/2287090#M60712</guid>
      <dc:creator>katie2</dc:creator>
      <dc:date>2024-11-16T05:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Pass parameter to talend cloud job via public API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-parameter-to-talend-cloud-job-via-public-API/m-p/2287091#M60713</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have th same problem, have you find a solution ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 16:28:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-parameter-to-talend-cloud-job-via-public-API/m-p/2287091#M60713</guid>
      <dc:creator>hbour</dc:creator>
      <dc:date>2019-05-13T16:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Pass parameter to talend cloud job via public API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-parameter-to-talend-cloud-job-via-public-API/m-p/2287092#M60714</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I don't know how you define your parameter in your job but using "parameter_name" in the context works for me.&lt;/P&gt; 
&lt;P&gt;I set a tFixedFlowInput with this context and retrieve the value of the parameter correctly.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hope this help&lt;/P&gt; 
&lt;P&gt;Guillaume&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 17:57:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-parameter-to-talend-cloud-job-via-public-API/m-p/2287092#M60714</guid>
      <dc:creator>yome1</dc:creator>
      <dc:date>2019-06-06T17:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Pass parameter to talend cloud job via public API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-parameter-to-talend-cloud-job-via-public-API/m-p/2287093#M60715</link>
      <description>&lt;P&gt;Bump.&lt;/P&gt;
&lt;P&gt;Any updates or new findings how this actually works? The api docs are sparse/nonexistent .&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 19:38:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-parameter-to-talend-cloud-job-via-public-API/m-p/2287093#M60715</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-12T19:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Pass parameter to talend cloud job via public API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pass-parameter-to-talend-cloud-job-via-public-API/m-p/2287094#M60716</link>
      <description>&lt;P&gt;Ok figured this out.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The contexts in your job should be prefixed with 'parameter_' ("parameter_name" in my job)&lt;/P&gt;
&lt;P&gt;Then in the body of your request you can just put the name of the context w/o the prefix. eg.&lt;/P&gt;
&lt;PRE&gt;{
  "executable": "5dcb3498fc531f932a235dcam",
  "parameters": {
    "name":"Hello World"
  }
}&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Nov 2019 22:34:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pass-parameter-to-talend-cloud-job-via-public-API/m-p/2287094#M60716</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-12T22:34:04Z</dc:date>
    </item>
  </channel>
</rss>

