Navigation:  Integration via SOAP web services > Published web services > Action plan >

newActionPlanInstanceAssociation

Previous  Top  Next

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

X1

Action plan ID #.

IDACTION

X2

Isolated action ID #.

IDINSTANCE

X

Instance ID # (workflow).

IDACTIVITY

X

Activity ID # (workflow).

 

1 - Required when an action plan is associated.

2 - Required when an isolated action is associated.

 

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 entered activity does not have the association with the action plan enabled;

-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 entered 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.