jrun
triggers a flow definition from a file and runs the flow immediately without storing the flow definition in Process Manager.
Synopsis
jrun [-v "var=value[;var1=value1;...]"] flow_file_name jrun [-h]|[-V]Description
You use the jrun command when you want to trigger and run a flow immediately, without storing the flow definition within Process Manager. A flow ID is displayed when the flow is successfully submitted. This command is most useful for flows that run only once, or for testing a flow definition prior to putting it into production. You must be the owner of a flow definition or have Process Manager administrative authority to use this command.
Options
- -v var=value
Specifies to pass variables and their values to the flow when running it. To specify a list of variables, separate the variable and value pairs with a semi-colon (;). The value of the variable is available only within the scope of the flow itself—local variables only.
- flow_file_name
Specifies the name of the file containing the flow definition.
- -h
Prints the command usage to stderr and exits.
- -V
Prints the Process Manager release version to stderr and exits.
Examples
jrun /flows/backup.xml
Runs the flow defined in /flows/backup.xml. It does not store the definition of the flow in Process Manager.
jrun -v "USER=bsmith;YEAR=2003" /flows/payupdt.xml
Runs the flow defined in /flows/payupdt.xml, and passes it a value of bsmith and 2003 for the USER and YEAR variables respectively. It does not store the definition of the flow in Process Manager.