ProcessTemplateRef

Blueprint for a workflow, defining its ordered steps and resource slots.

Usage

Source

ProcessTemplateRef()

A ProcessTemplateSchema is created once and reused across multiple ProcessRunSchema instances. It declares:

  • An ordered set of ~recap.schemas.step.StepTemplateSchema instances that represent the phases of the workflow.
  • A list of ~recap.schemas.resource.ResourceSlotSchema entries that specify which resource types can be assigned to the process and in which direction (input / output).

Attributes: name: Unique human-readable template name. version: Version string (e.g. "1.0"). is_active: When False the template is retired and new runs cannot be created against it. step_templates: Ordered mapping of step name → ~recap.schemas.step.StepTemplateSchema. resource_slots: List of ~recap.schemas.resource.ResourceSlotSchema entries declaring the typed input/output slots.