Try OpenEdge Now
skip to main content
BP Server Developer's Guide
E-mail templates for task completion : Expressions
 

Expressions

BP Server uses the following expressions to access the user defined dataslot name and value, and system dataslot name and value.

List of expressions used

An <identifier> can be either a user defined dataslot name or system dataslot name.
$ {<identifier>}
Replace the entire ${<identifier>} with the value of the identifier. A reference variable can be specified any number of times and at any place within the e-mail content.
    {<identifier>} = (${identifier} )
Value of the identifier is written within the parenthesis ( ). There can be only one expression per line. However, the value may exceed more than one line. These types of expressions are used only for input dataslots. Any change to the value specified in () is ignored in the reply e-mail. This is optional.
    {<identifier>} = [ ]
    {<identifier>} = [ ${<identifier>}]
Value of the identifier is written within the square brackets [ ]. There can be only one expression per line. However, the value may exceed more than one line. These types of expressions are used only for output dataslots. In the reply e-mail, e-mail parser reads the values within square brackets and update the corresponding dataslot in BP Server.
An identifier can be specified multiple times in an e-mail template. However, if any output dataslot is used multiple times, then the last occurrence is used as the dataslot value.