How do we execute a Diyotta dataflow from Command Line Interface?

How do we execute a Diyotta dataflow from Command Line Interface?

Beginner Asked on July 15, 2019 in Tools & Utilities.
Add Comment
1 Answer(s)

We have an option to run a dataflow form the command line without logging into studio module of Diyotta. We have to login to the repository through any command line interface in which we would like to execute the dataflow.

We have a command called dicmd which gives the list of commands and syntax which Diyotta supports. For execution we have “execute” command with a syntax as

Execution        :  dicmd execute [-u userName -w userPassword] -c start|abort|stop|rerun|restartfromfailure -p ProjectName -l LayerName [-d [DataFlowName | DataStreamName] |-s JobFlowName] [-j jobName] [-f ParamName] [-param Parameters] [-i instanceName] [-email] [-mailTo mail@example.com] [-cc mail@example.com] [-subject subject] [-message message] [-logs]

We must mention the username and password, project name, layer name and dataflow name with -d option.

Example: dicmd execute -u Test -w Testpswd -p Test -l Layer_1 -d dataflow_1

When we run the above command, if dataflow succeeds then Exit code 0 will be shown and when dataflow fails, it gives the error which data flows returns in monitor log.

Expert Answered on July 15, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.