Skip to content

Text Expressions

Text expressions allow dynamic string interpolation by embedding BizzStream expressions within text. You can include BizzStream expressions by enclosing them in double curly braces ({{ }}).

For example, the following text expression:

price: ${{ 2 + 2 }}

resolves to:

price: $4

Text expressions are pieces of text that may contain BizzStream expressions. They are used for string interpolation: (to create strings by doing substitution of placeholders). In Text expressions you can use BizzStream expressions by placing them between two pairs of curly braces. For example, the text expression price: ${{ 2 + 2}} resolves to price: $4.

Where Are Text Expressions Used?

Text expressions are commonly used in the following contexts:

Location Purpose Description
Document Definitions Label Dynamically sets the label of a field or line.
Reference Label Defines the displayed value of a reference field.
Email Rule Generates a comma-separated list of recipient email addresses.
Show Notification Rule Sets the title and content of a notification.
Send Push Notification Sets the content of a push notification.
REST Call Rule Sets the request header for a REST API call.
Go to URL Rule Provides a dynamic URL to be opened.
Confirmation Dialog Rule Specifies the message in a confirmation dialog.
Menu Menu Block Label Dynamically sets the label of a menu block.
Templates Edit HTML Embeds dynamic field values within an HTML template.
File Name Generates dynamic file names.