Valid Expressions
When you assign a value to a property, you can specify an expression, in the language that you selected for the BPL process. You also use expressions in other places, such as the condition for an <if> activity, the value in a <trace> activity, statements in a <code> activity, and so on.
The following are all valid expressions:
-
Literal values, as described in the previous section.
-
Function calls (InterSystems IRIS provides a set of utility functions for use in business rules and data transformations. For details, see Utility Functions for Use in Productions.)
-
References to properties, as described in References to Properties.
-
Any expression that combines these, using the syntax of the scripting language you chose for BPL process. Note the following:
-
In ObjectScript, the concatenation operator is the _ (underscore) character, as in:
value='"prefix"_source.{MSH:ReceivingApplication}_"suffix"'
-
To learn about useful ObjectScript string functions, such as $CHAR and $PIECE, see ObjectScript Reference.
-
For a general introduction, see Using ObjectScript.