Syntax

	info($message)

info($message, $detail)

info($message, $detail, $level)

Description

Creates a message on the user interface without interrupting the script. The level determines how the message is displayed.

Parameters

Name Type Description Mandatory Default
message String/Internationalized text The main message of the message. yes
detail String/Internationalized text Details about message. no No details.
level String How the message is displayed, one of info, warn or error (case-insensitive). no info

Examples

Message without details (string)

	info('Hello');

Output:

Message with details (string)

	info('Hello', 'How are you?')

Output:

Message with details (internationalized text)

{
   message = #("Hallo"@de, "Hello"@en);
   details = #("Wie geht es dir?"@de, "How are you?"@en);
   info($message, $details);
}

Output:

German:

English:

Message with a level

	info('Import finished', 'Completed with 3 warnings', 'warn');

Displays the message as a warning. The level may also be passed as a named argument (level: 'warn').