Skip to main content
Version: 2.2.1

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
Requestweb/wwwroot/ws/java/timecontrol/NewActionPlanInstanceAssociationRequestType.java
Returnweb/wwwroot/ws/java/timecontrol/NewActionPlanInstanceAssociationResponseType.java

Request:

ID #RequiredDescription
IDACTIONPLANX¹Action plan ID #.
IDACTIONX²Isolated action ID #.
IDINSTANCEXInstance ID # (workflow).
IDACTIVITYXActivity 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
ReturnSUCCESS: 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.