Qorus Integration Engine  3.0.4.p7
ostart: Start Workflow Execution Instances

Usage
ostart [options] name [version] [mode] [option=value]

This program allows the user to easily start execution instances of a workflow and optionally set options on the instance. If the version argument is not given on the command-line, the latest version of the workflow will be assumed. If the mode value is not given on the command-line, then the mode is assumed to be OMQ::WM_Normal.

For example, to start an execution instance of the latest version of workflow CREATE-ACCOUNT:

unixprompt% ostart CREATE-ACCOUNT
Note
This method provides a user-friendly interface to the Qorus API method:

Be aware that this program is delivered as a Qore-language script, and, as such, requires either the $OMQ_DIR or $QORE_MODULE_DIR environment variables to be set to find the Qorus client module, if not located in the default location.

Options Supported by ostart

Long Option Short Description
–file=ARG -f Reads in an XML file created by ostatus –r and starts all workflows with the options given in the file.
–url=ARG -u Set URL: "http://host:port"; at least host or port must be given; ex: "http://server1:8501/RPC2"; see UNIX Socket Support in URLs
–proxy-url=ARG -p Set the proxy URL: "http://host:port"; at least host or port must be given; ex: "http://proxy1:8080"; see UNIX Socket Support in URLs
–show-url -W Shows the default URL
–help -h Prints command help text