This call set Parent Workitem for a ProcessInstance. There is a list of errors and warning that can occur in the execution.
* implies for the mandatory parameter.
Name |
Parent Tag |
Description |
Valid Value |
Option * |
Root |
It refers to the case sensitive call name. |
It refers to the case sensitive call name. |
EngineName * |
Root |
It is the cabinet or database name, which has to be connected. |
NA |
SessionID * |
Root |
It is the logged in user session id. |
NA |
ParentProcessInstanceID* |
Root |
It refers to the id of the parent process instance. |
NA |
ChildProcessInstanceID* |
Root |
It refers to the id of the child process instance. |
NA |
Operation |
Root |
It is the operation specified for the workitem. |
"A"= Append “U” = Update "D"= Delete |
Name |
Parent Tag |
Description |
Option |
Root |
It refers to the case sensitive call name. |
Main code |
Exception |
Error code specified by WAPI. |
Code |
Constant Value |
Message |
11 |
WM_INVALID_SESSION_HANDLE |
Invalid session |
15 |
WM_INVALID_FILTER |
The requested filter is invalid. |
400 |
WF_OPERATION_FAILED |
The requested operation failed. |
4 |
WM_INVALID_PROCESS_INSTANCE |
The Process instance ID was not valid. |