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).

  1. Open a text editor.
  2. Specify one argument on each line as shown in the following example. 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
  3. Save the file with a file extension of .properties (for example, "example.properties").
  4. 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 MyFlow2

    In the above example, the process flow MyFlow2 would take precedence over a process flow specified in the properties file.