Mobile2b logo Apps Pricing
Book Demo

Flow Designer Calculation node Documentation

Mathematical Expressions

The Calculation node uses the mXparser library to support many mathematical functions.

In order to add/subtract/multiply the current value when the node is inside a loop use: {CURRENT_CALCULATION_VARIABLE} ±/*/ {ANOTHER_NUMBER_VARIABLE} or some number. For example:

"Calculation node/Result" + "Loop over Order/Quantity"

Functions

Next to the evaluation of mathematical expressions specified above, the calculation node also offers several special functions that can be used in a Flow.

FunctionDescription
~~ setVar(var,value) ~~ ~~Set a Flow variable to a specific value~~ ⚠️ Deprecated
durationDate(date1,date2)Returns the number of days between date1 and date2
durationTime(time1,time2)Returns the number of seconds between time1 and time2
durationTimestamp(ts1,ts2)Returns the number of seconds between ts1 and ts2

Was this helpful?

tisaxmade in Germany
© Copyright Mobile2b GmbH 2010-2024