newWorkflow
This method starts a workflow. To use it, it is necessary to follow the standard documented below:
| Java class | |
|---|---|
| Request | web\wwwroot\ws\java\workflow\NewWorkflowRequestType.java |
| Return | web\wwwroot\ws\java\workflow\NewWorkflowResponseType.java |
Request:
| ID # | Required | Description |
|---|---|---|
| ProcessID | X | Process ID # |
| WorkflowTitle | X | Workflow title |
| UserID | User ID |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:workflow">
<soapenv:Header/>
<soapenv:Body>
<urn:newWorkflow>
<!--You may enter the following 3 items in any order-->
<urn:ProcessID>?</urn:ProcessID>
<urn:WorkflowTitle>?</urn:WorkflowTitle>
<!--Optional:-->
<urn:UserID>?</urn:UserID>
</urn:newWorkflow>
</soapenv:Body>
</soapenv:Envelope>
Return:
| ID # | Description |
|---|---|
| Status | Method execution status. Its value may be: SUCCESS: Method executed successfully FAILURE: An error occurred during the method execution |
| Code | Method return code |
| Detail | Method return detail |
| RecordKey | Code of the record added by the method |
| RecordID | ID # of the record added by the method |