usage: wfimport [-keepOld [yes|no]] <workflow configuration> <export file> [workflow configuration password]
This command updates the specified workflow configuration by importing workflows that are defined in the export file.
Example - wfimport
The workflow configuration Default.disk_collection
workflow configuration is updated with with imported data from the file wf_disk_collection.csv
.
$ wfimport Default.disk_collection wf_disk_collection.csv
Note!
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 |
| The workflow configuration that you want to be updated by the export file. |
| The export file name. For further information about the export file see wfexport. Note!
|
[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:
Code | Description |
---|---|
0 | Will be returned if the command was successful. |
1 | Will be returned if the number of arguments is incorrect. |
1 | Will be returned If login credentials are incorrect. |
1 | Will be returned if configuration permission is denied. |
2 | Will be returned if the import file does not exist. |
3 | Will be returned if the import file cannot be read (read permission). |
2 | Will be returned if the import file directory does not exist. |
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). |