WMAssignProcessInstanceAttribute

This call assigns Process Instance's specified Attributes. You can view the XML input and output parameters, which have to be passed for assigning work item attribute. 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 refers to the id of the process instance

NA

Name *

Attribute

It is the name of an attribute which has to be assigned

NA

Type *

Attribute

It is the type of an attribute which has to be assigned

10=String

8=Date

3=Integer

4=Long

6=Float

Length *

Attribute

It is the length of an attribute which has to be assigned

NA

Value *

Attribute

It is the value of an attribute which has to be assigned

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.

8

WM_ATTRIBUTE_ASSIGNMENT_FAILED

The attribute assignment failed.

7

WM_INVALID_ATTRIBUTE

The attribute was not valid.

11

WM_INVALID_SESSION_HANDLE

invalid session