Skip to main content
Version: 2.2.1

newAssocDocument

This method associates a document from SoftExpert Document with a workflow activity. To use it, it is necessary to follow the standard documented below:

Java class
Requestweb\wwwroot\ws\java\workflow\NewAssocDocumentRequestType.java
Returnweb\wwwroot\ws\java\workflow\NewAssocDocumentResponseType.java

Request:

ID #RequiredDescription
WorkflowIDXWorkflow ID #
ActivityIDXActivity ID #
DocumentIDXDocument ID #
ActivityOrderActivity order number

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:workflow">
<soapenv:Header/>
<soapenv:Body>
<urn:newAssocDocument>
<!--You may enter the following 4 items in any order-->
<urn:WorkflowID>?</urn:WorkflowID>
<urn:ActivityID>?</urn:ActivityID>
<urn:DocumentID>?</urn:DocumentID>
<!--Optional:-->
<urn:ActivityOrder>?</urn:ActivityOrder>
</urn:newAssocDocument>
</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
DetailMethod return detail