jexport

exports flow definitions to a file

Synopsis

jexport [-o ] [-u user_name | -u all] [-s status] [flow_name ...]

jexport [-o ] [-u user_name] -v version flow_name | -v all flow_name

jexport -h | -V

Description

By default, exports to the current directory the default version of all flow definitions owned by the user who invoked the command. Each flow definition version is saved with the name owner_flowname_version.xml

Options

-o

Writes the name of the user who owns the flow definition on the Process Manager server into the exported file. If an owner is specified in the flow definition, that user name is written as the owner. If an owner is not specified in the flow definition, the user who submitted the flow definition to Process Manager is the owner and the user name that is written to the file.

-u user_name | - u all

Exports the default version of all flow definitions owned by the specified user. If the keyword all is used, exports the default version of all flow definitions owned by all users.

-s status

Exports the default version of all flow definitions that have the specified state Valid states are:

  • ONHOLD: Flow definitions that are not eligible to be automatically triggered. These definitions have disabled event triggers.
  • RELEASE: Flow definitions that are not On Hold. These definitions have enabled event triggers.
flow_name ...

Name of the flow definition to export. To specify a list of flow definitions, separate the flow definition names with a space.

-v version | -v all

Specifies which version of the flow definition to export. Use the keyword all to export all versions of the specified flow definition.

-h

Prints the command usage to stderr and exits.

-V

Prints the Process Manager release version to stderr and exits.

Example: Export all versions of the flow definition Sample for the user who invoked the command

jexport -o -v all Sample

Example: Export the default version of all flow definitions for all users

jexport -o -u all 

Example: Export version 1.1 of the flow definition Sample for user user1

jexport -o -u user1 -v 1.1 Sample