# And Engine

An `And` ESP task compares two or more tracks. The engine identifies when events occur in all of the specified tracks within specific time intervals. The engine produces an output track containing the identified record groups.

When you set `LuaScript` or `LuaLine`, groups of records (one record from each specified input track) are passed into the function. The group of records is included in the output only if your Lua function returns `TRUE`.

Configuration Parameter | Description
--- | ---
InputN | Specifies the input tracks.
LuaLine | A Lua script that determines whether a group of records is included in the output.
LuaScript | A Lua script that determines whether a group of records is included in the output.
MaxTimeInterval | (Deprecated) When two input tracks are specified, the maximum interval from a record in the first track to a record in the second track, for the two records to be considered a pair.
MinTimeInterval | (Deprecated) When two input tracks are specified, the minimum interval from a record in the first track to a record in the second track, for the two records to be considered a pair.
TimestampCondition | Specifies time limits for matching records, based on the record timestamps.
Type | The type of ESP engine to use. Set this parameter to `And`.

## Output Tracks

This engine produces a single output track, named `TaskName.Output`. The timestamp, or page number, of an output record is taken from the record in the `Input0` track.

_FT_HTML5_bannerTitle.htm