unlinkActivityFromUser
This method disassociates the executor from one or more activities in a SoftExpert Workflow instance. To use it, it is necessary to follow the standard documented below:
| Java class | |
|---|---|
| Request | web/wwwroot/ws/java/workflow/UnlinkActivityFromUserRequestType.java |
| Return | web/wwwroot/ws/java/workflow/UnlinkActivityFromUserResponseType.java |
Request:
| ID # | Required | Description |
|---|---|---|
| WorkflowID | X | Instance ID # |
| ActivityID | Activity ID # |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:workflow">
<soapenv:Header/>
<soapenv:Body>
<urn:unlinkActivityFromUser>
<!--You may enter the following 2 items in any order-->
<urn:WorkflowID>?</urn:WorkflowID>
<urn:ActivityID>?</urn:ActivityID>
</urn:unlinkActivityFromUser>
</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. SUCCESS: • 1 - User successfully disassociated! FAILURE: • -9 - No workflow with this ID # was found • -16 - No activity with this ID # was found • -93 - The activity is not associated with a user • -94 - Only the executor can return the activity to the group |
| Detail | Method return detail. SUCCESS: The method executed successfully description will be returned FAILURE: The description of the error that was found will be returned |