Skip to main content
Version: 2.2.0

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
Requestweb/wwwroot/ws/java/workflow/UnlinkActivityFromUserRequestType.java
Returnweb/wwwroot/ws/java/workflow/UnlinkActivityFromUserResponseType.java

Request:

ID #RequiredDescription
WorkflowIDXInstance ID #
ActivityIDActivity 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
StatusMethod execution status. Its value may be:
SUCCESS: Method executed successfully
FAILURE: An error occurred during the method execution
CodeMethod 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
DetailMethod return detail.
SUCCESS: The method executed successfully description will be returned
FAILURE: The description of the error that was found will be returned