Expression Language
Create calculated attributes, define conditions, and transform data using ProcessMind's expression language.
Functions for converting between data types and checking value types.
ProcessMind expressions work with the following data types:
number: Numeric values:
42
3.14
-100 string: Text values:
"Hello"
"Active" boolean: True/false values:
true
false null: Missing value:
null Parse Numbers from Text:
toNumber("42") // 42
toNumber("3.14") // 3.14
toNumber("abc") // null (conversion failed) Convert for Concatenation:
"Order #" + toString(OrderId) Parse Yes/No Fields:
toBoolean("yes") // true
toBoolean("no") // false
toBoolean("1") // true
toBoolean("0") // false Type-Safe Calculations:
if(isNumber(Value), Value * 2, 0) Converts a value to a number. Returns null if conversion fails.
| Parameters |
| |||
| Returns | number | null | |||
| Examples | toNumber("42") → 42 toNumber("abc") → null toNumber(true) → 1 | |||
| See Also |
Converts a value to a string.
| Parameters |
| |||
| Returns | string | |||
| Examples | toString(42) → "42" toString(true) → "true" | |||
| See Also |
Converts a value to a boolean. Strings such as 'true', 'yes', and '1' become true.
| Parameters |
| |||
| Returns | boolean | null | |||
| Examples | toBoolean("yes") → true toBoolean(0) → false toBoolean("maybe") → false | |||
| See Also |
Checks whether a value is a number.
| Parameters |
| |||
| Returns | boolean | |||
| Examples | isNumber(42) → true isNumber("42") → false | |||
| See Also |
Checks whether a value is a string.
| Parameters |
| |||
| Returns | boolean | |||
| Examples | isText("hello") → true isText(123) → false | |||
| See Also |
Get instant access with no credit card and no waiting. Turn the way your organization works into clear, connected process designs.
Build your process architecture, define ownership and controls, and align roles and responsibilities across every level.
Start your free trial and create one reliable foundation for governing, managing, and continuously improving your processes.
We use cookies to improve your experience, personalize content, and analyze traffic. Anonymous page measurement happens without them; analytics consent adds an identifier that links your visits. By clicking "Accept All," you consent to our use of cookies.