WFPickList

This call returns the distinct values of any DataField. You can view the XML input and output parameters, which have to be passed for fetching the values. 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

ProcessDefID*

Root

It refers to the id of the process definition.

NA

QueueID

Root

It is the queue id for which the values are to be fetched.

NA

Attribute

Root

It is the Name of the Attribute whose values are to be fetched

NA

NoOfRecordsToFetch

Root

It is the batch size

NA

SortOrder

Root

It is sorting order - Ascending or Descending

NA

LastValue

Root

It is the last Attribute value retrieved

NA

Prefix

Root

It is the value from which the fetched attribute value will start

NA

 

Output Parameter description

Name

Parent Tag

Description

Option

Root

It refers to the case sensitive call name.

EngineName

Root

Error code specified by WAPI

SessionID

Root

It is the logged in user session id

Value

Values

It is the Value of the Attribute

TotalCount

Root

It is the count of the values returned.

 

Errors and Warnings

Code

Constant Value

Message

11

WM_INVALID_SESSION_HANDLE

Invalid session

7

WM_INVALID_ATTRIBUTE

The attribute was not valid.

18

WM_NO_MORE_DATA

No more records.

400

WF_OPERATION_FAILED

The requested operation failed.