- TIBCO BusinessEvents®
- Standard
- Cluster

# Cluster.executeRuleFunction()

## Signature

`void runRuleFunction(String workMgrName, String ruleFnURI, boolean bInPreprocessContext, Object... args)`

## Domain

ACTION

## Description

This function runs a rule function inside the context of a work manager

## Parameters

Name | Type | Description
--- | --- | ---
`workMgrName` | `String` | The workMgrName - The thread that will execute the rule Function
`ruleFnURI` | `String` | The ruleFn to execute. This ruleFunction should return boolean true to continue, false to stop executing
`bInPreprocessContext` | `boolean` | Whether to execute in Pre-processor context
`args` | `Object[]` | The args for ruleFunction

## Returns

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