About Stored Expressions
An expression is a combination of common mathematical values and Neurons for ITSM proprietary functions. You can use expressions in a search, quick action, dashboard, workflow, or business rule. The power of expressions gives you more control over your results. You can enter text constants, functions, or expression delimiters.
You can store common expressions for use across Neurons for ITSM.
Associated and Unassociated Stored Expressions
When storing expressions, you can choose to associate your stored expression with a business object such as an Incident. If you plan to use your stored expression in multiple, differing business object and the expression does not depend on a business object's fields, leave the stored expression unassociated.
Associated Stored Expressions are directly linked to a business object. As such, they can only be used in that business object and business objects related to the associated business object.
Unassociated Stored Expressions are not associated with a specific business object, and you can use them throughout Neurons for ITSM.
Supported Data Types
Six data types are supported by expressions:
•Boolean: Also known as a logical field. Used for storing Boolean values such as true or false.
•Number: Used for storing numerical values, for both integer and real numbers.
•Text: Used for storing textual (such as string) data, with support for Unicode characters and HTML.
•DateTime: Used for date and time values. You can optionally include time zone information.
•Currency: Used for currency values.
•Link: Used to link one object to another.
Four other field types are available in Neurons for ITSM but there are no expression use cases for them. You can refer to these types in an expression, but you cannot manipulate them.
You may use all supported data types listed above in writing stored expressions, but return values are restricted to the Number, Text, DateTime and Boolean data types.
Using the Expression Editor
Detailed instructions on using the Expression Editor can be found at Using the Expression Editor.
Creating and Deleting Stored Expressions