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 importance
use
 [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:

  1. Create an Expression.
  2. In the Editor drop-down, select Text.

    The Text Expression section opens.

  3. Define the Expression.
    1. (Optional) In the Expression field, provide the text to display before the Expression (example: Last Edited).
    2. 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.

    3. Select the After replacing tokens, evaluate the results as a calculation check box to display a calculated value instead of the defined numerical equation.
  4. (Optional) Add additional text and Tokens to the Expression.
  5. Click OK.

© Copyright 2018 Cherwell Software, LLC. All rights reserved.