Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
{ "actionName": "createTask",
"projectName": "Ingestion",
"jobName": "ADMasterRun",
"authPass": "xxxx", "authUser": "xxxx",
"jobName": "ADMasterRun",
"taskName": "ADMasterRun",
"runAsUser": "rrossel",
"log4jLevel": "Info"}
{ "actionName": "updateTask",
"taskId" : 178,
"authPass": "xxxx", "authUser": "xxxx",
"jobName": "ADMasterRun",
"projectName": "Ingestion",
"runAsUser": "rrossel",
"log4jLevel": "Info" }
Command: createTask
----------------------------------------------------------
Description : Add a new execution task in TAC and return the task ID.
- projectName and jobName: the project and job must exist.
- onUnknownStateJob: could be
- contextName: "Default" is the default value.
- pauseOnError :if set to true, pause all the triggers on the task when the task fail.
- targetConductor: could be . "JOBCONDUCTOR" is the default value.
Requires authentication : true
Since : 5.0
Sample :
{
"actionName": "createTask",
"active": true,
"applyContextToChildren": false,
"authPass": "admin",
"authUser": "admin@company.com",
"branch": "trunk",
"contextName": "Default",
"description": "task1 for extracting data from DB1",
"execStatisticsEnabled": false,
"executionServerName": "serv1",
"jobName": "job1",
"jobVersion": "1.0",
"onUnknownStateJob": "WAIT",
"pauseOnError": false,
"projectName": "tproject1",
"regenerateJobOnChange": false,
"taskName": "task1",
"timeout": 3600
}