newActionPlanInstanceAssociation
This method enables the association of action plans and isolated actions with activities from the SoftExpert Workflow component. To use it, it is necessary to follow the standard documented below:
Java class | |
---|---|
Request | web/wwwroot/ws/java/timecontrol/NewActionPlanInstanceAssociationRequestType.java |
Return | web/wwwroot/ws/java/timecontrol/NewActionPlanInstanceAssociationResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
IDACTIONPLAN | X¹ | Action plan ID #. |
IDACTION | X² | Isolated action ID #. |
IDINSTANCE | X | Instance ID # (workflow). |
IDACTIVITY | X | Activity ID # (workflow). |
info
- ¹ - Required when an action plan is associated.
- ² - Required when an isolated action is associated.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:timecontrol">
<soapenv:Header/>
<soapenv:Body>
<urn:newActionPlanInstanceAssociation>
<!--You may enter the following 4 items in any order-->
<urn:IDActionPlan>?</urn:IDActionPlan>
<urn:IDAction>?</urn:IDAction>
<urn:IDInstance>?</urn:IDInstance>
<urn:IDActivity>?</urn:IDActivity>
</urn:newActionPlanInstanceAssociation>
</soapenv:Body>
</soapenv:Envelope>
Return:
ID # | Description |
---|---|
Return | SUCCESS: Method executed successfully. FAILURE: Code regarding the error that occurred: â–ª -1 - Action plan not found; â–ª -2 - Isolated action not found; â–ª -3 - Instance not found; â–ª -4 - Activity not found; â–ª -5 - The authentication user does not have permission to execute this method; â–ª -6 - The specified activity does not have enabled association with the action plan; â–ª -7 - Required parameter not entered; â–ª -8 - The action plan belongs to a category that is not enabled to be associated with the process. â–ª -9 - The isolated action belongs to a category that is not enabled to be associated with the process. â–ª -10 - The specified activity does not have the container defined in the process activity. â–ª -11 - It is not allowed to associate an action plan and an isolated action at the same time; â–ª -12 - Existing association; â–ª -13 - The authentication user does not have permission to add in the entered action plan/isolated action; â–ª -14Â - The authentication user does not have permission to add action plans to the entered category; â–ª -15 - It is not allowed to associate action plans/isolated actions with the entered activity; â–ª -16 - This action plan/isolated action cannot be associated with the entered instance; â–ª -99Â - Error when searching for the web service input parameters. |