You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

This page contains a comprehensive overview of all text related information.

Fixed values

  • When used inside the function mode (%{...}), Texts need to be written in double quotes, e.g., "This is a string literal."
  • Operator + is used for concatenating texts. e.g., "This is" + " a text." = "This is a text." .
  • The Escape character is "\" . This character can precede any of the following characters: ", \, n, r, t, f and b in order to invoke an alternative interpretation.
    For example, if you want to introduce a double quote in a string literal you should precede it with escape character \ as in "The man said: \"Hello!\"." , where we are using escape character \ to write string Hello! in double quotes.

Variable values (field values)

Text field values can be inserted in expressions using field codes with format %{...somefield}, or %{...somefield.i} for referencing concrete levels in cascading select fields (i = 0 for base level).

Pro tip

For checking if a field has a value you can use %{...somefield} = null or %{...somefield} != null.
For a concrete level in a Cascading Select or Multi-Cascading Select field, you should use %{...somefield.i} = null or %{...somefield.i} != null.



(info) Any field type has a terxt value, so you can also use %{...somefield} to insert text values of fields of type Number (which includes Date and Date-Time values).



Available functions

Examples

InputOutput
"Hello" + " " + "world" + "."Hello world.
trim(%{...summary})Summary of an issue without leading and trailing blanks
%{...description} + "\nLAST USER: " + toUpperCase(%{...currentUser})Description of an issue and a new line with string "LAST USER: " and the name of current user  in upper case.