# AndAny Engine

An `AndAny` ESP task compares a track (`Input0`) with one or more other tracks (`InputN`). The output contains every record from the `Input0` track which is preceded or followed, within a specified time interval, by at least one event in any other track.

When you set the parameter `LuaScript`, pairs of records (each consisting of a record in the `Input0` track and a record in another track that was found within the specified time interval) are passed into the function. An `Input0` record is included in the output only if your Lua function returns `TRUE` for at least one pair in which it is included.

Configuration Parameter | Description
--- | ---
Input0 | The first input track. Records from this track are added to the output if the relevant conditions are met.
InputN | Additional input tracks. Records in these tracks are never added to the output.
LuaScript | The path of a Lua script that contains a function to determine whether a record should be included in the output track.
MaxTimeInterval | (Deprecated) Specifies the end of the time interval, as a time duration relative to the start time of the `Input0` record.
MinTimeInterval | (Deprecated) Specifies the beginning of the time interval, as a time duration relative to the start time of the `Input0` record.
TimestampCondition | Specifies time limits for matching records, based on the record timestamps.
Type | The type of ESP engine to use. Set this parameter to `AndAny`.

## Output Tracks

This engine produces a single output track, named `TaskName.Output`. The output track has the same format as the input track `Input0`.

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm