About Modifiers
Fields and Tokens (Stored Values, other Expressions) can be added when building One-Step Actions and Expressions.
For example, a Field containing the Customer's name can be added to a One-Step Action that sends an e-mail to that Customer to make the e-mail more personal. When adding a value, the way the Field appears depends on its data type:
- Text Fields: Shows the value.
- Number Fields: Shows a standard system format.
- Logical Fields: Shows the text as True or False depending on the value.
- Date/Time Fields: Shows in a sortable, standard format.
- JSON: Shows JSON data.
- JSON Array: Steps through data from a JSON array.
- XML: Shows XML data.
- XML Collection: Steps through data from a set of XML elements that have the same structure.
While this is often sufficient, there are many situations where it is useful to format the value. For example, when showing a date/time, a User might want to show only the date without the time.
Additionally, a User might want to manipulate the value. For example, the User may only want the first part of a Field’s value or change a value to be upper-case or lower-case.
Users can apply Modifiers to Tokens inserted into One-Step Actions and Expressions to format and modify the value that is ultimately shown or calculated.