Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It will cause the analysis for the recordset to stop and add the defined warning message in the log.

Syntax

stop(message)

ArgumentTypeDescription
messageStringMessage to be output to the log. The message can be an expression but must evaluate to a string.

Examples

In this example, if the rate value is not found then there is no point continuing so a warning message is added to the log file and analysis for this recordset stops. No records are written to the database for this recordset.

...

Code Block
ifNull(in.rate,
	do(
		error("Missing rate value")
		stop("Processing being stopped")
	)
)

Process Functions

Excerpt
name_processFunctions

Process Functions

FunctionDescription

stop()

Stops the processing and records a warning in the logs. Can be placed after an error to stop the processing.

error()

Continues processing, records an error in the logs, and displays the message in a popup to the user. 
systemError()It is the same as error() but with no error popup.

warning()

Continues processing, records a warning in the logs, and displays the message in a popup to the user. 

systemWarning()

It is the same as error() but with no error popup.
infoContinues processing and records the debug message in the logs.
debugContinues processing and records the debug message in the logs.



See Also