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 | |
---|---|
Request | web\wwwroot\ws\java\workflow\NewAssocDocumentRequestType.java |
Return | web\wwwroot\ws\java\workflow\NewAssocDocumentResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
WorkflowID | X | Workflow ID # |
ActivityID | X | Activity ID # |
DocumentID | X | Document ID # |
ActivityOrder | Activity 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 |
---|---|
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 |