WFSetParentWorkitem

 

This call set Parent Workitem for a ProcessInstance. There is a list of errors and warning that can occur in the execution.

 

Input Parameter description

 View Sample InputXML

Output Parameter description

 View Sample OutputXML

Errors and Warnings

 View Sample Code

 

Input Parameter description

* 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

 

Output Parameter description

Name

Parent Tag

Description

Option

Root

It refers to the case sensitive call name.

Main code

Exception

Error code specified by WAPI.

 

Errors and Warnings

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.