WFGetWorkItemExceptionLog

This call returns the exception histories 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.

It refers to the 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

ExceptionId *

Root

It is the exception id on which the log has to be generated.. It is not mandatory. If it is not specified then the entire list is given in the log.

NA

From

DateRange

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

NA

TO

DateRange

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) ‘W’ Default

 

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

ExceptionName

Result

It is the exception name which is raised for the workitem.

Id

Result

It is the exception id which is raised for the workitem.

NoofExceptionRaised

Result

It is the number of exceptions raised for the workitems.

 

Errors and Warnings

Code

Constant Value

Message

11

WM_INVALID_SESSION_HANDLE;

Invalid session

15

WM_INVALID_FILTER

Invalid filter