- TIBCO BusinessEvents®
- CEP Pattern
- Pattern
- Manager
- Advanced

# Pattern.Manager.Advanced.getRecentEventId()

## Signature

`Object getRecentEventId(Object opaque)`

## Domain

ACTION

## Description

Returns the most Event Id observed by the pattern instance - i.e that most recent one that did not cause the instance to fail. The only parameter this function takes is the $1opaque$1 parameter provided by the Pattern Service when it invokes the listener rule function. $1-1$1 is returned if there was no such Event Id.

## Parameters

Name | Type | Description
--- | --- | ---
`advancedOpaque` | `Object` | Service when it invoked the callback RuleFunction.

## Returns

Type | Description
--- | ---
`Object` | -1 if there was nothing.

## Cautions

none

## See Also

void setCompletionListener(Object patternInstance, String ruleFunctionURI)