- TIBCO BusinessEvents®
- CEP Pattern
- Pattern
- Manager

# Pattern.Manager.setCompletionListener()

## Signature

`void setCompletionListener(Object patternInstance, String ruleFunctionURI)`

## Domain

ACTION

## Description

Sets the given rule function URI as the listenet that will be invoked by the Pattern Service when/if this pattern instance observes the specified event sequence. The value is set only for the given pattern instance.

## Parameters

Name | Type | Description
--- | --- | ---
`patternInstance` | `Object` | The return value (opaque) from the pattern $1instantiate(String)$1 method.
`ruleFunctionURI` | `String` | has obeserved so far.

## Returns

Type | Description
--- | ---
`void` |

## Cautions

none