Product changes

Lisanne Steenis

Feature Focus Webinar: The power of expressions

Tuesday 24th, we hosted a webinar about the power of expressions. If you missed it, don’t worry — we’ve got you covered with the full recording.

In this session, we demonstrated how to build powerful expressions in NextGen with no-code, low-code and leveraging the Block Store to boost reusability.

 Expressions documentation

The Block Store expressions cheat sheet 

To make your building experience must easier, we already filled up the Block Store with reusable expressions. Below you will find all the candy from the Block Store.

Block title
Description
Array Functions
A function block including two expressions: Initializes an empty array variable in your action and add Variable to Array.
Calculate
Calculates the outcome of two numbers with an operator ( "+", "-", "/", "*" ) (eg, total is 'firstNumber' '+' 'secondNumber')
Calculate the average or the sum of a collection
One function that can be used for calculating the Sum of Average of a collection based on 1 property.
Concat Text
Combine two text values with an optional separator.
Count Collection
Count the amount of records in a collection based on the take. The default take is 50 and the maximum 200.
Date Time Offset
Calculate a new date, business days only, time or date time, based on the current date/time or a provided date in text (YYYY-MM-DD hh:mm:ss), by providing the number of seconds, minutes, hours, days, weeks, months or years to add or subtract.
Expression
The expression step can be configured by using variables inside your action in a given format following expression formulas. Within the expression step you select the variables you want to use, in the value selector fields and assign a key name to them.
Generate Random Number
The Generate Random Number component is a custom Betty Blocks function designed to quickly generate random numbers within a specified range. This is perfect for situations where you need a random value for your applications.
JSONPath
Allows to select fields from json/objects using JSONPath
Max
Returns the highest number of an array of numbers.
Min
Returns the lowest number of an array of numbers.
Parse data with Liquid
This function evaluates a record from your database which includes Liquid syntax to data.
Parse JSON
Transforms Text to JSON object
Slice
Slices an array/collection from the given start value, for the given length.
Split
Returns an array after splitting a string on an argument/value.
Stringify
Stringify a value via JSON.stringify()
Stringify JWT Token
Stringifies the JWT token which is the result of the "Authenticate User" step. Could be useful while building Azure SSO functionality.
Text Builder
This step allows you to create your own strings with the possibility to insert data. You can replace your with any value that you want. When you encapsulate your word (read as key) with the curly brackets , and define it in the key-value mapping below the option, the key in the string will get replaced with the value.
Text-functions
Split text into an array
Transform Text
Make a text value downcased, upcased, capitalized or parameterized.

Subscribe to product changes