This block is responsible for performing calculations. You can create your formulas and stick it inside this block.
When would this be useful? You want to calculate customer order sales tax, or a discount, or anything else that requires math operations over the data that the business app has. This is handy as you can drag-and-drop any type of data to perform a mathematical operation.
How to use it? Just drag-and-drop the following into your diagram:
Select your block and click the following button:
Depending on your scenario, you can create an expression that will perform a math operation. For instance, you can drag-and-drop previous blocks to select a field:
Once you finish, click the 'Save & Close' button:
Your formula can contain a mathematical expression using any of the following:
What will happen after this block is executed? It will perform the mathematical expression you have provided and store the result inside it. You can then use this result in other blocks. For instance, you can place it inside a user input form, or you can record it into the database, or you can use it inside a 'Decision' block. What you do with this calculation is up to you!
Was this article helpful?
Would you like to get a beta invite?