Put Workflow
Use this command to upload workflow definitions (process and email) contained in an input file to the server. This command can be useful when migrating your system.
Note: When migrating a system that uses Certification, the Certification Definition needs to be redefined in Longview Workflow for the processes using Certification.
You can use the Put Workflow commands (Process, Email, All) in conjunction with the Get Workflow commands (Process, Email, All) to upload previously retrieved workflow definitions from an input file. You may put fewer items than are contained in the source file, but you cannot use a Put Workflow command with information not contained in the specified input file. You cannot upload a workflow process definition to an existing active workflow definition.
Since workflow email is not process specific, this command puts all workflow email definitions.
Syntax
PUT WORKFLOW ALL ALL @InputFileName
PUT WORKFLOW Process ProcessName|ALL @InputFileName
PUT WORKFLOW Email ALL @InputFileName
where:
- InputFileName is the name of the input file containing the data retrieved by the Get Workflow command. The file name can include a complete or partial folder path in the format C:\...\FileName. If the document is in the working folder, you do not need to specify the drive or path. If the file name includes spaces, enclose it in double quotation marks.
- ProcessName is the name of the workflow process in the server. If the process name includes the ampersand (&), left angle bracket (<), or right angle bracket (>) special characters, you must escape the special characters in the following way:
Special character Escape text to use left angle bracket <
<
right angle bracket >
>
ampersand &
&
Syntax
PUT WORKFLOW ALL ALL @AllWorkStuff.xml
Syntax example
PUT WORKFLOW Process MonthEnd @MonthEndWork.xml
Syntax example
PUT WORKFLOW Email ALL @AllWorkEmail.xml
See also