Compute

Compute

Calculate a number from an expression and save it as a variable

Fields

FieldTypeRequiredDescription
expressionstring, 1-200 charsyesAn arithmetic expression over variables.
saveAs{scope, name}yesWhere the numeric result is stored.

Example

{
  "id": "01H8XGJVBWX7Y5Z3K9M2N4P6Q1",
  "type": "compute",
  "expression": "1 + 1",
  "saveAs": {
    "scope": "run",
    "name": "result"
  }
}

Did this page help you?