Eduction 23.4

# injectMatch

Injects a match into the current matching session.

This method accepts an `edkMatch` object. This `edkMatch` must be one that you create in the Lua script; nothing happens if you call `injectMatch` on the match from Eduction that you first pass into the `finalizematch` function.

After you call this function, the session takes ownership of the match, so you cannot use the created match in any subsequent functions.

NOTE: You cannot perform additional post-processing on injected matches. Eduction skips these matches at post-processing time, to prevent infinite loops.

## Syntax

`session:injectMatch(edkMatch)`

## Arguments

Argument | Description
--- | ---
`edkMatch` | An `edkMatch` object.

Copyright 2013-2023 Open Text
Version 23.4 | Last updated September 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Eduction 23.4

Topic Title: injectMatch