This XML is returned from the Process_Start function when the PrintAndArchive command is executed on a blocked bundle. A bundle is blocked when the BlockBundle flag in the assigned AfterCreatingDocuments script is set to true and the current user is the same user who created the process.
To enable a Client to perform automatic forwarding, a destination target can be set in the AfterCreatingDocuments script (variables DestUser and DestUsergroup).
The destination targets set here are returned from the corresponding attributes so they can be used as parameters for the Process_Forward function call. At least one destination target is required. If no destination targets are defined in the AfterCreatingDocuments script, the Client has to implement the respective target selection process itself.
Example
<mws type="FORWARD" version="2"> <error errorcode="6000">Configuration for action FORWARD required!</error> <process id="120de98f-9ec4-469a-b7ad-376651986aa9" systemoid="dm1"> <title>BasicBindingTest</title> <mwsprocessmngr lasterrorcode="6000" lasterrormessage="Configuration for action FORWARD required!" lastactionname="PRINT_AND_ARCHIVE" onstart=""> <mwsaction name="FORWARD" lasterrorcode="0" lasterrormessage="" state="0" configured="0"><forwardparams destuser="MyDestUser" destusergroup="MyDestGroup"/></mwsaction> </mwsprocessmngr> </process> </mws>
Attribute | Description |
---|---|
destuser | The user specified in the AfterCreatingDocuments script to whom the process is to be forwarded. |
destusergroup | The user group specified in the AfterCreatingDocuments script to which the process is to be forwarded. |