SetScriptError - HL7 Module - English - Foundation 22.1 - OnBase - Premier - external - Standard - Essential - Premier - Standard - Essential - OnBase/HL7-Module/English/Foundation-22.1/HL7-Module/HL7-API/HL7-API-Classes/COBHL7ScriptContext/SetScriptError - 2024-09-04

HL7 Module

Platform
OnBase
Product
HL7 Module
Release
Foundation 22.1
License
Premier
Standard
Essential

This method will add an error message to a script errors list that will be used to output the error messages by the HL7 Processor.

intRc = objHL7ScriptContext.SetScriptError("Custom error message goes here")

Parameter

Type

Description

Error string

String

An error string to be recorded in the HL7 Listener.

Return Value

Description

0

Returned if this error was added

Non-0

Returned if this error was not added.