Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This command updates the specified workflow configuration by importing workflows that are defined in the export file.

Info
titleExample - wfimport

The workflow configuration Default.disk_collection workflow configuration is updated with with imported data from the file wf_disk_collection.csv.

Code Block
$ wfimport Default.disk_collection wf_disk_collection.csv



Note
titleNote!

wfimport and the right-click command Import Table are different. If the workflow configuration consists of several workflows, and wf_disk_collection.csv contains a single workflow configuration data, only one workflow is included in the Workflow Table after wfimport. To avoid losing your configurations when importing, use the right-click command Import Table in the Workflow Table.

For further information see Import Table in the Desktop User's Guide.


Option/Parameter

[ -keepOld [yes|no] ]

Specify yes to preserve workflow table data that is not updated by the export file. Specify no to have such data removed from the workflow table.

<workflow configuration>

The workflow configuration that you want to be updated by the export file.

<export file>

The export file name. For further information about the export file see wfexport.

Note
titleNote!
  • wfimport imports the file formats: CSV (Comma Separated Value), SSV (Semicolon Separated Value), and TSV (Tab Separated Value).

  • Text strings within each value are delimited by a quotation mark (").

  • Exported fields that contain profiles, are assigned with a unique string identifier.  The ID and Name fields are exported, as well.


[workflow configuration password]

To import a password protected workflow configuration, specify a password.


Return Codes

Listed below are the different return codes for the wfimport command:

CodeDescription

0

Will be returned if the command was successful.

1

Will be returned if the number of arguments is incorrect.

1Will be returned If login credentials are incorrect.
1Will be returned if configuration permission is denied.

2

Will be returned if the import file does not exist.

2

Will be returned if the import file directory does not exist.

3

Will be returned if the import file cannot be read (read permission).

5

Will be returned if the import file has an incorrect file suffix.

6

Will be returned if the configuration name is incorrect

7

Will be returned if the configuration does not exist.

8

Will be returned if the configuration is already locked.

9

Will be returned if an encryption passphrase is needed.

11

Will be returned if the configuration could not be loaded.

12

Will be returned if the import fails (see the logs).



...