Versions Compared

Key

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

...

A Condition can be added to a story (or inbox) frame; the associated event will only be executed if this condition is fulfilled. For now, the only supported condition is one based on a forecast published by the user. A condition must be specified according to:

  • Type must be equal to "Forecast",
  • ColumnId is a reference to a column in the forecast table (see below), usually a parameter,
  • RowId is a reference to a row in the forecast table (see below), usually a location,
  • Operator is one of "lt" (less than), "gt" (greater than), "le" (less than or equal to), or "ge" (greater than or equal to), and
  • Value is the reference value to compare to.

An example in which a condition is used:

...