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
Option/Parameter | |
---|---|
[ -keepOld [yes|no] ] | Set this option to The default value is |
| 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. |
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). |