newAssocWorkflow
This method associates one or more workflows with another workflow. To use it, it is necessary to follow the standard documented below:
Java class | |
---|---|
Request | web\wwwroot\ws\java\workflow\NewAssocWorkflowRequestType.java |
Return | web\wwwroot\ws\java\workflow\NewAssocWorkflowResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
WorkflowID | X | Instance ID # |
AssocWorkflowID | X | Associated workflow ID # |
AssocWorkflowType | Association type: ▪ 1: Blocking; ▪ Any other value: Non-blocking. | |
ActivityID | Activity 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:newAssocWorkflow>
<!--You may enter the following 4 items in any order-->
<urn:WorkflowID>?</urn:WorkflowID>
<urn:AssocWorkflowList>
<!--1 or more repetitions:-->
<urn:AssocWorkflow>
<!--You may enter the following 2 items in any order-->
<urn:AssocWorkflowID>?</urn:AssocWorkflowID>
<urn:AssocWorkflowType>?</urn:AssocWorkflowType>
</urn:AssocWorkflow>
</urn:AssocWorkflowList>
<urn:ActivityID>?</urn:ActivityID>
<!--Optional:-->
<urn:ActivityOrder>?</urn:ActivityOrder>
</urn:newAssocWorkflow>
</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 |
RecordKey | Record code added |