Please enable JavaScript to view this site.

Process Designer

Navigation: Javascript API > User dialog functions > Process messages 

jr_get_message(string messageName, object data)

Scroll Prev Top Next More

This function allows retrieving process messages. You can supply parameters to be inserted into the message.

Parameter

Type

Description

messageName

string

Name of the process message

data

object

Optional: Object containing parameters to be substituted in the text.

Example for filling place-keepers [var1] and [var2] in a process message:

{var1:"Wert1", var2:"Wert2"} or {var1:"Wert1", var2:jr_get_value("limit")}

This function returns the message as text.