Starts a process action.
Syntax
Process_Start(string sessionId,string processId,string command, string options,out string xmlResult)
| Parameter | Description |
|---|---|
|
sessionId |
Valid session identifier (SessionId) |
|
processId |
Process ID of the process where the action is to be started. |
|
command |
This parameter contains the command to be passed. The names of the commands are derived from the Invoke Activities script of the MWS process. |
|
options |
This parameter can be used to set various options of the process. Can be used to set process activities, pass in variables, etc. |
|
xmlResult |
The structure of the bundle, if successful. Example<?xml version="1.0" encoding="utf-16"?>
<mws type="OBJECT">
<process id="b9187257-812a-4e88-afa6-facb621dd2eb">
<object title="ApplicationPack" type="P" name="ApplicationPack" index="02062008-822-tdc-itl1" reference="">
<object title="Partner_ApplicationPack" type="D" name="Partner_ApplicationPack" index="02062008-823-tdr-itl1" reference="10DE6C09-79CF-4547-97AA-6302CF976185" state="1" enabled="1" print_asktime="0" form="DIN_A4_80g/qm" printer="" printer_type="" printtime="2" print_changeable="0" copycount="0" copy="0" password="composer" filename="Partner_ApplicationPack_10DE6C09-79CF-4547-97AA-6302CF976185_O.docx" />
<object title="pagenum" type="D" name="pagenum" index="23062009-591-tdr-dm" reference="A7DE4DF9-00A4-41FC-8A84-05BB1D9D893D" state="2" enabled="1" print_asktime="0" form="DIN_A4_80g/qm" printer="" printer_type="" printtime="2" print_changeable="1" copycount="0" copy="0" password="" filename="pagenum_A7DE4DF9-00A4-41FC-8A84-05BB1D9D893D_O.docx" />
<object title="RepCopy" type="D" name="Partner_ApplicationPack" index="02062008-824-tcr-itl1" reference="3C331B86-8552-4AD6-A242-29106BFBCA21" state="2" enabled="1" print_asktime="0" form="DIN_A4_80g/qm" printer="" printer_type="" printtime="2" print_changeable="0" copycount="0" copy="1" password="composer" copytext="Copy for Representative" />
<object title="AgentCopy" type="D" name="Partner_ApplicationPack" index="02062008-825-tcr-itl1" reference="2572D52B-D2EC-4864-81A3-A4017CD16F53" state="2" enabled="1" print_asktime="0" form="DIN_A4_80g/qm" printer="FinePrint" printer_type="OP" printtime="1" print_changeable="1" copycount="0" copy="1" password="composer" copytext="Copy for Agent" />
</object>
</process>
</mws>
|
Return Value
| Value | Description |
|---|---|
| 0 | OK |
| <>0 |
Error See Error Codes. |