CalculationHandler

Description

This handler calculates the result of a variable and a given number settled with a given operator.

For example, if operator=* & number=20 → The handler calculates: variable*20 

In order to do calculations with two variables, the following actionhandler may be used: https://tim-doc.atlassian.net/wiki/spaces/eng/pages/228625745


Class

com.dooris.bpm.actionhandler.CalculationHandler

 

Parameter

Parameter

Default value

Description

Valid examples

Parameter

Default value

Description

Valid examples

base

 

Variable with the first term of the calculation

base

operator

 

Operator used for performing calculations. Possible options are +, -, *, /, mod(Modulo), and power.

*

modificator

 

Second term of the calculation

The base parameter is the only variable

20

 

Example