WFGetVariableMapping

This call allows setting the Variable Mapping. You can view the XML input and output parameters, which have to be passed for setting the variables. 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

QueueId

Root

It is the queue id whose properties are to be fetched.

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.

Alias

Var

It is the alias for the variable.

Name

Var

It is the data type for the alias.

Return

Var

It specifies whether to display the variable for  WFFetchInstrumentsList.

Param1

Var

It refers to the first parameter for the expression of the alias.

Param2

Var

It refers to the second parameter for the expression of the alias.

Type1

Var

It refers to the type of Param1.

Type2

Var

It refers to the type of Param2.

Operator

Var

It refers to the operator for the expression. 1 for > ; 2 for >= ; 3 for = ; 4 for <> ; 5 for <; 6 for <= ; 7 for like; 8 for not like.

QueueId

Var

It refers to the index for the queue.

 

Errors and Warnings

Code

Constant Value

Message

11

WM_INVALID_SESSION_HANDLE

Invalid session

15

WM_INVALID_FILTER

The requested filter is invalid.