Using a Process Flow Property File
A property file contains arguments that you can reuse by specifying the path to the property file with the -f
argument in the process flow executor. The property file must contain, at minimum, the process flow (r
), user ID (u
), and password (p
).
- Open a text editor.
-
Specify one argument on each line as shown in the example below. See Running a Process Flow from the Command Line for a list of arguments.
Note: You cannot use a property file to override input or output files. Overriding input and output files can only be done using command line arguments.
d=% h=myserver.mydomain.com i=30 u=user p=password r=MyFlow1 s=8888
- Save the file with a file extension of *.properties (for example, example.properties).
-
When you run the process flow executor, specify the path to the property file
using the
-f
argument. A combination of both command-line entry and property file entry is also valid. Command line arguments take precedence over arguments specified in the properties file.java -jar pflowexecutor.jar -f /dcg/flow.properties -r MyFlow2In the above example, the process flow MyFlow2 would take precedence over a process flow specified in the properties file.