Evaluate

This action in Avo Assure under the @Generic element. The functionality of this action in Avo Assure to execute a mathematical operation based on the provided input value and store the result in the dynamic variable.

Syntax

Input Value: (<operand1>;<operator>;<operand2>)

Argument
Description

<operand1> (Required)

The first operand. Can be a static value or dynamic variable.

<operator>

(Required)

The mathematical operator to be applied.

<operand2> (Required)

The second operand. Can be a static value or dynamic variable.

Supported Operators

Operator
Meaning

+

Addition

-

Subtraction

/

Division

^

Exponentiation

*

Multiplication

Output Value

Argument
Description

<Dynamic Variable> (Required)

This variable stores the final computed result.

<Dynamic Variable> (Optional)

This variable holds the result as Ture or False

Example 1

Performs a mathematical calculation using the specified operands and operator

The Evaluate action takes the value from the Input Value column (e.g., 23*4) and performs the defined arithmetic operation. The result of the evaluation is stored in the {Evaluate} variable, while the execution status is stored in the {Status} variable, with the following possible values:

  • True – if the evaluation is completed successfully.

  • False – if the evaluation fails

Additional Examples

Supported Operators
Input syntax
Result

+ (Addition)

(50+37)

87

- (Subtraction)

(169-7)

162

/ (Division)

(43569/67)

650.28

^ (Exponentiation)

(35865^75)

52521875

* (Multiplication)

(23*4)

92

Last updated

Was this helpful?