WMReassignWorkItem

This command allows a work item from one workflow participant’s worklist to be reassigned to another workflow participant’s worklist.

You can view the XML input and output parameters, which have to be passed for reassigning workitem. 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

NA

ProcessInstanceId*

Root

It is the process instance id whose workitem has to be reassigned.

NA

WorkItemId *

Root

it is the id of the workitem which has to be re-assigned.

NA

SourceUser *

Root

It is the source user which has to be re-assigned

NA

TargetUser *

Root

It is the target user that has to be interchanged with the source user.

NA

 

Output Parameter description

Name

Parent Tag

Description

Option

Root

It refers to the case sensitive call name.

EngineName

Root

It is the cabinet or database name, which has to be connected.

SessionId

Root

It is the logged in user session id

MainCode

Exception

Error code specified by WAPI.

 

Errors and Warnings

Code

Constant Value

Message

11

WM_INVALID_SESSION_HANDLE

Invalid session

4

WM_INVALID_PROCESS_INSTANCE

The process instance ID was not valid.

6

WM_INVALID_WORKITEM

The work item ID was not valid.

13

WM_INVALID_SOURCE_USER

Invalid source user

14

WM_INVALID_TARGET_USER

Invalid target user