Export All Global Variables

You can export a list of all global variables and their values to a CSV file or onto the screen in iProcess Engine.

You can also export the global variables from one system, edit the CSV file if required, and then import the global variables into another system. Or, you can just use export as a means to back up the global variables.

Use the following command to export the global variables:

swadm EXPORT_GLOBAL_VARIABLES [CSV filename with path]

where CSV filename with path is the location of the CSV file with a list of all global variables that you want to export to.

Note: CSV filename with path is optional. If you do not provide a filename, the output is printed to the screen.

For example, you can export global variables from Machine A (iProcess Engine) to Machine B (iProcess Engine) by using the following steps:

  1. On Machine A, run the command to export the global variables
    swadm EXPORT_GLOBAL_VARIABLES [ExportedGv.csv]

    A csv file is generated with the following header:

    Global VariableValue
    DBNAMEOracle
  2. On Machine B, run the command to import the global variables

    swadm IMPORT_GLOBAL_VARIABLES [-rh] <ExportedGv.csv>

    The global variables are exported from Machine A to Machine B successfully.