# CombineWithLast Engine

The CombineWithLast ESP engine combines a record in one track with the most recent record from another track.

The engine outputs a record for each record in the Input0 track, containing the Input0 record and the last record from the Input1 track.

To determine which record is the "last" record, the records in the Input1 track are sorted by the timestamp specified for the Input1 side of the TimestampCondition. By default, the record start times are used.

The engine does not output a record from the Input0 track if there are no earlier records in the Input1 track.

Configuration Parameter | Description
--- | ---
Input0 | The first input track.
Input1 | The second input track.
TimestampCondition | Specifies a time limit for matching records, based on the record timestamps.
Type | The type of ESP engine to use. Set this parameter to `CombineWithLast`.

## Output Tracks

This engine produces a single output track, named `TaskName.Output`.

© Copyright 2020 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