View Component 26.3
View Component Help

# PostProcessingErrorOnFailure

Set `PostProcessingErrorOnFailure` to `True` to return an error when a scripting error occurs in Lua post-processing.

By default, if an error occurs during post-processing, View Component continues processing matches and the API returns success, writing a message and stack trace to the registered logging callback if you have set one. To propagate script errors as an EDK error, set `PostProcessingErrorOnFailure` to `True`.

In the C API, with this setting, a call to `EdkGetNextMatch` returns the error code `EdkErrBadPostProcessScript`. Details of the script error are available in the last session error.

In other languages (.NET, Java, Python), a post-processing scripting error while iterating over matches raises an exception, with the `EdkErrBadPostProcessScript` error code. The exception message contains details of the Lua error.

You can override this setting in a per-session configuration.

For more information about how to configure post-processing tasks, refer to the Named Entity Recognition User and Programming Guide.

Type: | Boolean
Default: | False
Required: | No
Configuration Section: | MyRedactionSettings
Example: | `PostProcessingErrorOnFailure=True`
See Also: | Script

Copyright 2026 Open Text
Version 26.3 | Last updated July 2026

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery View Component 26.3

Topic Title: PostProcessingErrorOnFailure