- TIBCO BusinessEvents®
- Standard
- Engine
- Variable

# Engine.Variable.getEngineIntVar()

## Signature

`int getEngineIntVar(String varName)`

## Domain

ACTION, CONDITION, QUERY, BUI

## Description

Gets the engine variable as int of name varName. Engine variable is a in-memory variable share across all the rule sessions for a RuleServiceProvider. Rule condition won't have dependency of this variable i.e. changes of this variable won't retrigger the rule if it is used in the condition. This function returns 0 if the variable is not set.

## Parameters

Name | Type | Description
--- | --- | ---
`varName` | `String` | The name of the variable.

## Returns

Type | Description
--- | ---
`int` | The value of this variable

## Cautions

none