Execute Expr Expression
The processor will execute the provided Expr expression and return the result as the new payload. This processor will return an error if the expression cannot be executed or if there is an error during execution. The expression will have access to the wrapped payload.
- type:
script.expr - params:
- expression: Expr expression to evaluate
Example
Section titled “Example”This example will add 1 to the wrapped payload.
- type: script.expr params: expression: "Payload + 1"