WFReassignWorkItemAssignment

This call reassigns the workitem to another User. 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 Code

Output Parameter description

 View Sample Code

Errors and Warnings

 

 

Input Parameter description

Name

Parent Tag

Description

Valid Value

Default 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.

 

 

SessionID

Root

It is the logged in user session id

 

 

ProcessInstanceID

Root

It refers to the id of the process definition

 

 

WorkItemId

Root

It is the id of the workitem whose user has to be changed.

 

 

SourceUser

Root

It is the source user that has to be interchanged

 

 

TargetUser

Root

It is the target user .

 

 

 

Output Parameter description

Name

Parent Tag

Description

Option

Root

It refers to the case sensitive call name.

MainCode

Exception

Error code specified by WAPI.

EngineName

Root

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

SessionId

Root

It is the logged in user session id

 

Errors and Warnings

Code

Constant Value

Message

Comment

14

WM_INVALID_TARGET_USER

Invalid target user.

 

22

WM_INVALID_WORKITEM

The workitem is invalid.

 

13

WM_INVALID_SOURCE_USER

Invalid source user.

 

11

WM_INVALID_SESSION_HANDLE

Invalid session

 

15

WM_INVALID_FILTER

The requested filter is invalid.