WFGetExpiredWorkItemLog

This call returns the expired workitems Log for the process Instance..You can view the XML input and output parameters, which have to be passed for getting the log. 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

ProcessDefinitionID*

Root

It refers to the id of the process definition

NA

From

Date Range

It is the date from which the report has to be generated.

NA

To

Date Range

It is the date till which the report is generated.

NA

ReportType

Root

It is the type of report. It can be daily, weekly, monthly or yearly

 D- Daily, W - Weekly, M - Monthly, Y - Yearly

 

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

MinDate

Result

The minimum date specified.

MaxDate

Result

The maximum date specified.

Unit

Result

It is the interval serial number

ProcessName

WorkItemInfo

It is the process name for which the workitems are expired.

ProcessDefinitionId

WorkItemInfo

It is the process definition id for which the workitems are expired.

NoofExpiredWorkItems

WorkItemInfo

It the total number of workitems which are expired...

 

Errors and Warnings

Code

Constant Value

Message

18

WM_NO_MORE_DATA

No more records

11

WM_INVALID_SESSION_HANDLE

Invalid session

15

WM_INVALID_FILTER

Invalid filter