The following list includes the error message incurred while execution along with their description.
In case the operation is successful, then the value is
Value |
Message |
0 |
WM_SUCCESS |
The set of main code error return codes are:
No |
Error |
Description |
1 |
WM_CONNECT_FAILED
|
Indicates that the WMConnect call failed. |
2 |
WM_INVALID_PROCESS_ DEFINITION
|
Indicates that the process definition ID that was passed as parameter to an API call was not valid, or the servicing workflow engine did not recognize it. |
3 |
WM_INVALID_ACTIVITY_DEFINITION
|
Indicates that the activity name that was passed as parameter to an API call was not valid, or was not recognized by the servicing workflow engine. |
4 |
WM_INVALID_PROCESS_ INSTANCE
|
Indicates that the process instance ID that was passed as parameter to an API call was not valid, or was not recognized by the servicing workflow engine. |
5 |
WM_INVALID_ACTIVITY_ INSTANCE
|
Indicates that the process instance ID that was passed as parameter to an API call was not valid, or was not recognized by the servicing workflow engine. |
6 |
WM_INVALID_WORKITEM
|
Indicates that the work item ID that was passed as parameter to an API call was not valid, or was not recognized by the servicing workflow engine. |
7 |
WM_INVALID_ATTRIBUTE
|
Indicates that the attribute that was passed as parameter to an API call was not valid, or was not recognized by the servicing workflow engine. |
8 |
WM_ATTRIBUTE_ ASSIGNMENT_FAILED
|
Indicates that the workflow engine was not able to complete the attribute assignment requested. |
9 |
WM_INVALID_STATE
|
Indicates that a state was not valid, or was not recognized by the servicing workflow engine. |
10 |
WM_TRANSITION_NOT_ ALLOWED
|
Indicates that the state transition requested was not valid, or was not recognized by the servicing workflow engine. |
11 |
WM_INVALID_SESSION_HANDLE
|
Indicates that the session ID that was passed as parameter to an API call was not valid, or was not recognized by the servicing workflow engine. |
12 |
WM_INVALID_QUERY_HANDLE
|
Indicates that the query handle ID that was passed as parameter to an API call was not valid, or was not recognized by the servicing workflow engine. |
13 |
WM_INVALID_SOURCE_USER
|
Indicates that the participant “source user” that was passed as parameter to an API call was not valid, or was not recognized by the servicing workflow engine. |
14 |
WM_INVALID_TARGET_USER
|
Indicates that the participant “target user” that was passed as parameter to an API call was not valid, or was not recognized by the servicing workflow engine. |
15 |
WM_INVALID_FILTER
|
Indicates that the filter structure or values that were passed as parameter to an API call was not valid, or was not recognized by the servicing workflow engine. |
16 |
WM_LOCKED
|
Reserved for situations in which the servicing workflow engine implements “locking” of workflow entities (process definitions, process instances, activities, work items, etc.) to indicate that the entity is locked at the moment in which its access is requested. |
17 |
WM_NOT_LOCKED
|
Reserved for situations in which the servicing workflow engine implements “locking” of workflow entities (process definitions, process instances, activities, work items, etc.) to indicate that the entity is not locked at the moment in which its access is requested. |
18 |
WM_NO_MORE_DATA
|
Indicates that a fetch query call has reached the end of the list of valid entities to be returned. These errors return code is used to implement queries of lists of workflow entities, it indicates that all the entities of the list that matched the selection criterion have already been returned. |
19 |
WM_INSUFFICIENT_BUFFER _SIZE
|
Indicates that the buffer size that was passed to an API call is insufficient to hold the data that it is supposed to receive. |
20 |
WM_APPLICATION_BUSY
|
Indicates that the corresponding application is currently busy and cannot return a status of work progress. |
21 |
WM_INVALID_APPLICATION
|
Indicates that an invalid application has been requested by the calling interface. |
22 |
WM_INVALID_WORK_ITEM
|
Indicates that an invalid work item has been referenced to by the calling interface. |
23 |
WM_APPLICATION_NOT _STARTED
|
Indicates that the requested application did not start up successfully. |
24 |
WM_APPLICATION_NOT _DEFINED
|
Indicates that the application is not installed or configured. |
25 |
WM_APPLICATION_NOT STOPPED
|
Indicates that the corresponding application did not stop orderly. |
100 |
WF_PARSING_ERROR |
WF_PARSING_ERROR |
101 |
WF_ELEMENT_MISSING |
WF_ELEMENT_MISSING |
102 |
WF_INVALID_VERSION |
Incorrect version. |
103 |
WF_INVALID_RESPONSE_ REQUIRED_VALUE |
WF_INVALID_RESPONSE_ REQUIRED_VALUE |
104 |
WF_INVALID_KEY |
WF_INVALID_KEY |
105 |
WF_INVALID_OPERATION_ SPECIFICATION |
WF_INVALID_OPERATION _SPECIFICATION |
201 |
WF_INVALID_CONTEXT_DATA |
Data provided is invalid. |
202 |
WF_INVALID_RESULT_DATA |
Data provided is invalid. |
300 |
WF_NO_AUTHORIZATION |
No Authorization. |
400 |
WF_OPERATION_FAILED |
The requested operation failed. |
500 |
WF_NO_ACCESS_TO _RESOURCE |
Resource not accessible at this Activity. |
502 |
WF_INVALID_PROCESS_ DEFINITION |
Process Definition id is invalid |
600 |
WF_INVALID_STATE_ TRANSITION |
The requested state transition not allowed. |
50 |
WM_CUSTOM_APPLICATION |
User can define errors according to his specification. |
51 |
WM_CUSTOM_APPLICATION |
User can define errors according to his specification. |
52 |
WM_CUSTOM_APPLICATION |
User can define errors according to his specification. |
601 |
WF_INVALID_OBSERVER_FOR _RESOURCE |
WF_INVALID_OBSERVER _FOR_RESOURCE
|
800 |
WF_OTHER |
Unknown error. |
|
|
|
|
Sub Codes Errors |
|
801 |
WFS_SQL |
WFS_SQL |
802 |
WFS_ILP |
WFS_ILP |
803 |
WFS_SYS |
WFS_SYS |
804 |
WFS_EXP |
WFS_EXP |
805 |
WFS_INV_USR |
Invalid User. |
807 |
WFS_INV_PWD |
Invalid Password. |
808 |
WFS_INV_UTP |
Invalid Participant Type. |
809 |
WFS_PRS_ALRDY_ST |
Process instance already started or Process instance not created. |
810 |
WFS_NOQ |
Invalid Queue. |
811 |
WFS_INV_PRM |
Invalid Parameters. |
812 |
WFS_QNM_ALR_EXST |
Queue already exists. |
813 |
WFS_WKM_N_RASN |
WorkItem can not be reassigned. |
814 |
WFS_WKM_CLSD |
WorkItem closed. |
815 |
WFS_INTRO |
Introduction QueueType cannot be changed. |
816 |
WFS_ALR_LNK |
ProcessInstance aleady linked. |
817 |
WFS_NO_LNK |
ProcessInstance link not found. |
818 |
WFS_NO_PAR |
No Parent-Child relationship defined for the given processes. |
819 |
WFS_INV_QTYPE |
Queue Type change invalid |
820 |
WFS_NA_WI_LNK |
Not all WorkItems successfully linked / delinked. |
821 |
WFS_WI_EXP |
Workitem Expired |
822 |
WFS_NOT_RFR |
Workitem Refer Failed |
823 |
WFS_REMFAIL |
Reminder Failed |
824 |
WFS_NORIGHTS |
User has no rights on Queue or Process |
Action Ids and Corresponding Actions