Skip to main content

Automations

A named record that says: when this happens, run that procedure. With enable, limits, cost, run history and Run now. Built; the TTAB monitor and the ruling Stage Bots on Distinctive Mark are the examples.

Automations

An automation is a record in a publication's own backend that says "when this happens, run that procedure with this input". It describes what already runs, links to it, controls it, costs it and shows what it did. It is built and tested.

What a record holds

Distinctive Mark is the test site. Its first automation wraps the TTAB monitor, which starts the ruling-analysis procedure for each new decision, and its Stage Bots take the ruling from there.

Command line and console

papyrus automations list
papyrus automations show --id distinctive.ttab
papyrus automations runs --id distinctive.ttab

The console has the same list under Administration. Editors and admins can read the list and start a Run now. The details are in the Papyrus repository, in docs/automations.md.