WFLinkWorkitem

This call links the workitems (process instances). You can view the XML input and output parameters, which have to be passed for linking the workitems. 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.

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. It is an optional field

NA

ProcessInstanceID *

Root

current process instance id

NA

LinkedProcessInstanceID *

Root

process instance id which has to be linked

NA

 

Output Parameter description

Name

Parent Tag

Description

Option

Root

It refers to the case sensitive call name.

MainCode

Exception

Error code specified by WAPI.

 

Errors and Warnings

Code

Constant Value

Message

4

WM_INVALID_PROCESS_INSTANCE

The process instance ID was not valid.

11

WM_INVALID_SESSION_HANDLE

Invalid session