dynamic-workflows
Designer workflows bound to many signals by a selector and run once per bound signal.
Get a page of dynamic workflows
Returns one page of the dynamic workflows of the tenant whose named nodes - subtrees and objects added or excluded by hand - the caller may all read (HET-2211). Sortable by `name`, the default - any other field is answered with 400; equal names keep the order of the ids.
Create a dynamic workflow
Stores a new dynamic workflow and projects its schedule onto a scheduler job in the same transaction. Responds 400 when the bindings do not fit the io interface of the transformation snapshot - every input bound exactly once, the bound signal and derived signals only on SERIES inputs and outputs, at least one input reading the bound signal.
Check a dynamic workflow without storing it
Checks the bindings against the transformation and reports which signals the definition would compute: the hit set of the selector, and the signals that drop out with their reason - a read property they do not carry, the exception list, or being a derived signal. Nothing is stored.
What a stored dynamic workflow currently computes
Resolves the binding of a stored definition as of now. It is determined per run and not frozen when saving, so the answer changes as signals are added or their properties change.
Get a dynamic workflow
Returns the dynamic workflow with the given id, or 404 if it does not exist.
Update a dynamic workflow
Replaces the dynamic workflow and writes its scheduler job forward in the same transaction. The change takes effect from the next run. Derived signals already created stay; an output that is no longer bound to a derived signal leaves its signals orphaned.
Delete a dynamic workflow
Deletes the dynamic workflow and its scheduler job. The signals it derived stay with their data and are marked orphaned - deleting them is a deliberate act of its own.
The latest runs of a dynamic workflow
One entry per run, newest first, with how many signals were bound, computed, failed and excluded. A signal that failed has its own entry in the execution history of its node. Kept for seven days.
The signals a run of a dynamic workflow failed on
One execution record per signal whose call failed on its own, with the signal's name - the same records the signal's own execution history shows. Calls not sent and connection errors have none; the run counts them. The raw designer response of a record is read through /transformations/execution-logs/{id} with the signal as reference.
Enable or disable a dynamic workflow
Switches a dynamic workflow on or off without sending its whole definition. A disabled one is not run; its derived signals keep their data.