reactivateWorkflow
This method allows reactivating postponed instances.
To use it, it is necessary to follow the standard documented below.
| Java class | |
|---|---|
| Request | web\wwwroot\ws\java\workflow\ReactivateWorkflowRequestType.java |
| Return | web\wwwroot\ws\java\workflow\ReactivateWorkflowResponseType.java |
Request:
| ID # | Required | Description |
|---|---|---|
| ReactivateWorkflowList | X | Array with one or more workflows |
| Explanation | X | Explanation |
| UserID | User ID. When given, it will remain in the instance history that it was reactivated by this user. Otherwise, the authentication user will be recorded. |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:workflow">
<soapenv:Header/>
<soapenv:Body>
<urn:reactivateWorkflow>
<!--You may enter the following 3 items in any order-->
<urn:ReactivateWorkflowList>
<!--1 or more repetitions:-->
<urn:WorkflowID>?</urn:WorkflowID>
</urn:ReactivateWorkflowList>
<urn:Explanation>?</urn:Explanation>
<!--Optional:-->
<urn:UserID>?</urn:UserID>
</urn:reactivateWorkflow>
</soapenv:Body>
</soapenv:Envelope>
Return:
| ID # | Description |
|---|---|
| WorkflowListResponse | SUCCESS: Returns a vector with the metadata: â–ª WorkflowListResponse: Matrix; Records- Record: RecordReturns a message about success or about the error found |
| Status | SUCCESS: SUCCESS FAILURE: FAILURE |
| Code | Code regarding the error. |
| Detail | Message detailing the error or success in the execution of the method. |