Code Block |
---|
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.
Info |
---|
...
Example - wfimport
|
...
title | Note! |
---|
If you are importing mz8 file with execution settings with an ec configuration, please ensure you run the following command to convert it to mz9 compatible format.
For specific (.csv/.tsv/.ssv) file
Code Block |
---|
find ./ -name 'example.csv' -print0 | xargs -0 sed -i '' 's/#ectype.*#ecgroups/#ecgroups/g' |
For every (.csv/.tsv/.ssv) file in the directory
...
|
...
Note | ||
---|---|---|
| ||
For further information see |
Option/Parameter | |
---|---|
[ -keepOld [yes|no] ] |
...
Set this option to |
...
retain the existing workflow table data that is not updated by the export file. |
...
Set it to |
...
remove such data |
...
from the workflow table. 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 |
...
...
Note!
|
...
| |
[workflow configuration password] | To import a password protected workflow configuration, specify a password. |
Return Codes
...
The following is a list of 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. |
10 | Will be returned if the user does not have the read and write permission to modify the workflow. |
11 | Will be returned if the configuration could not be loaded. |
12 | Will be returned if the import fails ( |
...
refer to the logs |
...
scroll-viewport | false |
---|---|
scroll-pdf | true |
scroll-office | false |
scroll-chm | true |
scroll-docbook | true |
scroll-eclipsehelp | true |
scroll-epub | true |
scroll-html | false |
...
for details). |