How to deploy a DX task thru command line or using a script?orIs there a way to deploy DX tasks outside DX designer?
book
Article ID: KB0091790
calendar_today
Updated On:
Products
Versions
TIBCO DataExchange
-
Not Applicable
-
Description
Resolution: Please find the attached zip file, DeployThruCommandLineOrScript.zip, it contains SimpeTestCase.dt1, and task definition file, SimpleTestCase.xml,
To deploy a task using cmdlineconsole.cmd
1. First you need to create a task definistion xml file. This can be done by following link "Task->Generate Task File" in DX designer.
2. Once you have task definition xml file, you can use the command "t deploy <task_definition_file_name>" to deploy a file. Please see the example run I did on my machine.
Alternatively you may also write your own python script to deploy/manage tasks. Please see a sample python script attached to this SR, DeployAndRunSimpleTask.py. Below is the output of example run of that sample python script on my machine.
=================== admin@MALLIK-DT>scr F:\Experiments\DX\SimpleTestCase\DeployAndRunSimpleTask.py Task SimpleTestCase started succesfully ===================
Issue/Introduction
How to deploy a DX task thru command line or using a script?orIs there a way to deploy DX tasks outside DX designer?
Attachments
How to deploy a DX task thru command line or using a script?orIs there a way to deploy DX tasks outside DX designer?
get_app