Math Expression
Most recent version: v1.1.0
Last updated
Was this helpful?
Most recent version: v1.1.0
Last updated
Was this helpful?
See the changelog of this Action type .
The Math Expression Action can be used to perform mathematical operations over your data.
In order to configure this action, you must first link it to a Listener. Go to Building a Pipeline to learn how to link.
AI Action Assistant
This Action has an AI-powered chat feature that can help you configure its parameters. Read more about it in this article.
These are the input and output ports of this Action:
Find Math Expression in the Actions tab (under the Transformation group) and drag it onto the canvas.
To open the configuration, click the Action in the canvas and select Configuration.
Enter the required parameters:
Fields*
The fields view shows a list of fields from the connected Listener or Action.
Operation*
You can use these fields to carry out your calculations. Type or drag the fields to create a new operation and write the mathematical operation you wish to do.
The following operations are supported. Use the corresponding symbols to apply the required operations:
Sum: +
Sub: -
Multiplication: *
Division: /
Module: %
Power: **
Bear in mind the options available will depend on the Action fields.
Add as many operations as required using the Add Operation option.
Output field
Give a name to the output field.
Click Save to complete the process.
Simple expression with an event field:
Transform a number into its opposite one:
Negation of a parenthesis:
The module of a division and, then, raised to the power of three: