Define a Text Expression
A Text Expression is an Expression that displays a string of Tokens and text (example: Dynamically control the Last Edited text on the Incident form).
Note: Links in Expressions must be URL-encoded. Ensure you replace spaces
with %20.
Example: instead of
[LINK]Click to Send Email;mailto:example@cherwell.com?subject=Very Important Email&body=This e-mail is of the utmost importanceuse
[LINK]Click to Send Email;mailto:example@cherwell.com?subject=Very%20Important%20Email&body=This%20e-mail%20is%20of%20the%20utmost%20Importance
To define a Text Expression:
- Create an Expression.
- In the Editor drop-down, select
Text.
The Text Expression section opens.
- Define the Expression.
- (Optional) In the Expression field, provide the text to display before the Expression (example: Last Edited).
- Click the
down arrow to open the Token Selector, and
then select a
value (example:
Incident.LastModifiedDateTime).
Tip: Right-click anywhere in the Expression field to access the Token Selector.
The Token displays in the Expression field.
- Select the After replacing tokens, evaluate the results as a calculation check box to display a calculated value instead of the defined numerical equation.
- (Optional) Add additional text and Tokens to the Expression.
-
Click OK.