Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
com.dooris.bpm.actionhandler.ExtendedCalculationHandler

Parameter

Parameter

Default value

Description

Valid examples

variable1

First variable for performing calculations.

var1

variable2

Second variable for performing calculations.

var2

index

If the index is passed the value “true”, the handler tries to find the two variables with the pattern “var[x]” (beginning with 0) and to settle these with one another.

true

operator1

First operator used for performing calculations. Possible options: +, -, *, /, mod

(Modulo)

,

power.

potenz

*

operator2

Second operator used for performing calculations. Possible options: +, -, *, /, mod

(Modulo)

,

power.

potenz

+

result

Name of the new variable, to which the results will be written. If subtotals should be saved, these are saved using the pattern result[x].

result

multiResult

If multiResult is given with the value “true”, subtotals will be saved as process variables.

false

round

Here a number can be given, which tells how many decimal places should be kept when rounding.

If nothing is entered, the numbers will not be rounded.

2