workflow:project
workflow family
Project a workflow's steps into TypeDB as things — tid = the step id, thing-type step, step-kind (bare: no namespaced tags; the step → workflow link is D1's) — through the same function workflow:apply-diff runs on every save. The retry after a save answered projected:false, and the backfill for workflows saved before projection existed. { workflowId } projects one; { all: true } every workflow you control (templates excluded). Writes only.
- Effect
- ask
- Awaits an outcome — the call returns the response below.
- Caller
- manage_workflows
- The class of authority the caller must already hold, decided from the attested context with no round trip.
- Cost
- free
- What one call costs, so you can budget before acting.
- Reversible
- yes
- The effect can be undone by a later call.
- Idempotent
- yes
- Safe to retry as-is.