<?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: TAC API in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/TAC-API/m-p/2301691#M73774</link>
    <description>&lt;PRE&gt; Command: createTask&lt;BR /&gt;----------------------------------------------------------&lt;BR /&gt;Description             : Add a new execution task in TAC and return the task ID.&lt;BR /&gt;- projectName and jobName: the project and job must exist.&lt;BR /&gt;- onUnknownStateJob: could be &lt;BR /&gt;- contextName: "Default" is the default value.&lt;BR /&gt;- pauseOnError :if set to true, pause all the triggers on the task when the task fail.&lt;BR /&gt;- targetConductor: could be . "JOBCONDUCTOR" is the default value.&lt;BR /&gt;Requires authentication : true&lt;BR /&gt;Since                   : 5.0&lt;BR /&gt;Sample                  :&lt;BR /&gt;{&lt;BR /&gt;  "actionName": "createTask",&lt;BR /&gt;  "active": true,&lt;BR /&gt;  "applyContextToChildren": false,&lt;BR /&gt;  "authPass": "admin",&lt;BR /&gt;  "authUser": "admin@company.com",&lt;BR /&gt;  "branch": "trunk",&lt;BR /&gt;  "contextName": "Default",&lt;BR /&gt;  "description": "task1 for extracting data from DB1",&lt;BR /&gt;  "execStatisticsEnabled": false,&lt;BR /&gt;  "executionServerName": "serv1",&lt;BR /&gt;  "jobName": "job1",&lt;BR /&gt;  "jobVersion": "1.0",&lt;BR /&gt;  "onUnknownStateJob": "WAIT",&lt;BR /&gt;  "pauseOnError": false,&lt;BR /&gt;  "projectName": "tproject1",&lt;BR /&gt;  "regenerateJobOnChange": false,&lt;BR /&gt;  "taskName": "task1",&lt;BR /&gt;  "timeout": 3600&lt;BR /&gt;}&lt;/PRE&gt; 
&lt;BR /&gt;Hi &amp;nbsp; 
&lt;BR /&gt;Refer to the 
&lt;A href="https://help.talend.com/pages/viewpage.action?pageId=261845686" target="_blank" rel="nofollow noopener noreferrer"&gt;API documentation&lt;/A&gt;, &amp;nbsp;the&amp;nbsp; 
&lt;B&gt;runAsUser &lt;/B&gt;and 
&lt;B&gt;log4jLevel &lt;/B&gt;parameters are not available for createTask command yet.&amp;nbsp; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
    <pubDate>Mon, 11 Jul 2016 03:33:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-07-11T03:33:10Z</dc:date>
    <item>
      <title>TAC API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TAC-API/m-p/2301690#M73773</link>
      <description>Hi, I have an issue creating and updating task on TAC using the API. I'm able to create and setup almost all fields, but 
&lt;BR /&gt;I haven't been able to setup "runAsUser" and "log4j Level", this is how my Json looks like: 
&lt;BR /&gt;Create: 
&lt;BR /&gt; 
&lt;PRE&gt;{ "actionName": "createTask",&lt;BR /&gt;"projectName": "Ingestion",&lt;BR /&gt;"jobName": "ADMasterRun",&lt;BR /&gt;"authPass": "xxxx", "authUser": "xxxx",&lt;BR /&gt;"jobName": "ADMasterRun",&lt;BR /&gt;"taskName": "ADMasterRun",&lt;BR /&gt;"runAsUser": "rrossel", &lt;BR /&gt;"log4jLevel": "Info"}&lt;/PRE&gt; 
&lt;BR /&gt;Also tried updating the task: 
&lt;BR /&gt; 
&lt;PRE&gt;{ "actionName": "updateTask",&lt;BR /&gt;  "taskId" : 178,&lt;BR /&gt;  "authPass": "xxxx", "authUser": "xxxx",&lt;BR /&gt;   "jobName": "ADMasterRun",&lt;BR /&gt;   "projectName": "Ingestion",&lt;BR /&gt;   "runAsUser": "rrossel",&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;"log4jLevel": "Info" }&lt;/PRE&gt; 
&lt;BR /&gt;I'm using Talend 6.1.1, accessing the API trough http request and after the request, the fields " 
&lt;FONT color="#555964"&gt;&lt;FONT face="Source Sans Pro"&gt;&lt;FONT size="2"&gt;Run job as OS user (Unix)" &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;is empty and 
&lt;BR /&gt;"Log4j Level" appears as "Off". &amp;nbsp; 
&lt;BR /&gt;The Json message received after the request seems to be good: 
&lt;BR /&gt;{u'executionTime': {u'seconds': 2, u'millis': 2063}, u'returnCode': 0} 
&lt;BR /&gt;Did I use the right variables names, or it is something that I'm missing? 
&lt;BR /&gt;Thanks for your help.-</description>
      <pubDate>Sat, 16 Nov 2024 10:32:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TAC-API/m-p/2301690#M73773</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: TAC API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/TAC-API/m-p/2301691#M73774</link>
      <description>&lt;PRE&gt; Command: createTask&lt;BR /&gt;----------------------------------------------------------&lt;BR /&gt;Description             : Add a new execution task in TAC and return the task ID.&lt;BR /&gt;- projectName and jobName: the project and job must exist.&lt;BR /&gt;- onUnknownStateJob: could be &lt;BR /&gt;- contextName: "Default" is the default value.&lt;BR /&gt;- pauseOnError :if set to true, pause all the triggers on the task when the task fail.&lt;BR /&gt;- targetConductor: could be . "JOBCONDUCTOR" is the default value.&lt;BR /&gt;Requires authentication : true&lt;BR /&gt;Since                   : 5.0&lt;BR /&gt;Sample                  :&lt;BR /&gt;{&lt;BR /&gt;  "actionName": "createTask",&lt;BR /&gt;  "active": true,&lt;BR /&gt;  "applyContextToChildren": false,&lt;BR /&gt;  "authPass": "admin",&lt;BR /&gt;  "authUser": "admin@company.com",&lt;BR /&gt;  "branch": "trunk",&lt;BR /&gt;  "contextName": "Default",&lt;BR /&gt;  "description": "task1 for extracting data from DB1",&lt;BR /&gt;  "execStatisticsEnabled": false,&lt;BR /&gt;  "executionServerName": "serv1",&lt;BR /&gt;  "jobName": "job1",&lt;BR /&gt;  "jobVersion": "1.0",&lt;BR /&gt;  "onUnknownStateJob": "WAIT",&lt;BR /&gt;  "pauseOnError": false,&lt;BR /&gt;  "projectName": "tproject1",&lt;BR /&gt;  "regenerateJobOnChange": false,&lt;BR /&gt;  "taskName": "task1",&lt;BR /&gt;  "timeout": 3600&lt;BR /&gt;}&lt;/PRE&gt; 
&lt;BR /&gt;Hi &amp;nbsp; 
&lt;BR /&gt;Refer to the 
&lt;A href="https://help.talend.com/pages/viewpage.action?pageId=261845686" target="_blank" rel="nofollow noopener noreferrer"&gt;API documentation&lt;/A&gt;, &amp;nbsp;the&amp;nbsp; 
&lt;B&gt;runAsUser &lt;/B&gt;and 
&lt;B&gt;log4jLevel &lt;/B&gt;parameters are not available for createTask command yet.&amp;nbsp; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 11 Jul 2016 03:33:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/TAC-API/m-p/2301691#M73774</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-11T03:33:10Z</dc:date>
    </item>
  </channel>
</rss>

