Skip to content

BLL Coding

Arie J. Godschalk edited this page Nov 12, 2026 · 1 revision

Better Logic Library coding

Home · Flow actions · Math expressions

Chronograph supports Better Logic Library (BLL) coding in Flow fields marked BLL supported. Install the Better Logic Library app to use it. For the syntax and full language reference, see the BLL coding wiki.

In supported text fields, put each JavaScript expression inside {[ ... ]}. BLL evaluates the expression and substitutes its result before Chronograph processes the field. Do not add BLL code to fields that are not marked as supported.

Examples

Build a timer name

Enter this in a supported Name field:

Focus {[1 + 1]}

BLL resolves 1 + 1 to 2, so Chronograph receives the name Focus 2. When both the name field and a name picker are set, the picker takes precedence.

Calculate part of a duration

Enter this in a supported timer duration field and select minutes:

{[3 + 2]} * 2

BLL first evaluates {[3 + 2]} to 5. Chronograph then evaluates the remaining MathJS expression, 5 * 2, and starts a 10-minute timer. This lets BLL supply a value while MathJS performs the duration calculation.

Resolve a split-trigger name

In a supported split-trigger name field, enter:

Split {[2 + 3]}

The resolved name is Split 5. Split-trigger names are resolved when a chronograph starts or is restored, and again when a trigger matches an event. If the expression's result changes in between, the name may no longer match the scheduled split.

Notes

  • Use BLL code only in fields marked BLL supported, and make sure the Better Logic Library app is installed and running.
  • Without the Better Logic Library app, BLL code is left unchanged and will not produce the substituted value.
  • A name resolved by a start action becomes available in Chronograph's name pickers after that action runs.
  • BLL resolves code before Chronograph evaluates any remaining supported MathJS duration expression. See Math expressions for MathJS syntax and functions.

Clone this wiki locally