Skip to content
Datablau DAMData governance documentation

Orchestrate and run Routines ​

A Routine combines Sprites into a reusable governance workflow. It controls node order, input and output mappings, failure handling, and execution records. The same Sprite can be reused by multiple Routines without changing its responsibility.

Plan a Routine ​

Map business inputs, steps, and acceptance results before creating nodes. Each node invokes one Sprite and performs a clearly stated action. Independent read-only checks can run in parallel; data and write dependencies require sequential execution.

ElementDefinition
Entry parametersObjects, space, or filters supplied by the caller
NodeOne Sprite invocation
Parameter mappingsEntry inputs or upstream outputs passed to a node
DependenciesNodes that must finish before execution
Failure policyContinue or terminate after failure
ResultsStructured output for callers or downstream nodes

Create and orchestrate ​

  1. Open Configuration Management > Governance Sprites > Routines and create a Routine with a stable code, name, and description.
  2. Define entry parameters with types, required status, and scope.
  3. Add Sprite nodes with recognizable step names.
  4. Select each Sprite and verify inputs and permission dependencies.
  5. Map entry inputs or upstream outputs; check names, types, and null handling.
  6. Connect nodes according to dependencies. Parallelize only independent nodes.
  7. Configure failure policies. Critical writes and approval prerequisites generally terminate on failure; noncritical statistics may continue.
  8. Save and test complete paths, branches, and errors.

Execution arrows do not map parameters. Inspect each node's input source, especially arrays, objects, and empty upstream results.

Test and publish ​

Test normal input, empty results, missing required inputs, unavailable tools, and partial node failure. Check order, actual parameters, and business outcomes. Define confirmation or approval boundaries before publishing Sprites that change metadata, standards, quality, security, or assets.

Avoid editing definitions in active use. If supported, copy or revise the configuration, regress it, then switch consumers. Templates, space instances, and schedules are maintained separately; template publication does not overwrite existing spaces.

Schedules and execution records ​

Routines can be called by spaces or agents, or run through deployment-specific scheduling. Confirm frequency, enabled state, and first run in the actual environment. Inspect:

  • Entry inputs and final status.
  • Node start and end times, inputs, outputs, and tool calls.
  • Failed nodes and errors.
  • Whether Continue policies let downstream nodes consume incomplete results.
  • Expected approval requests or changes from write nodes.

Diagnose nodes ​

SymptomPossible causeAction
Routine does not startDisabled schedule, empty inputs, or unpublished instanceCheck instance, publication, and inputs
Node is skippedUpstream termination or unmet conditionInspect upstream state and branch conditions
Repeated node failureTool, permission, or input structure errorRun the Sprite separately and compare schemas
Successful node returns nothingNo matching objects or wrong output mappingInspect actual inputs and scope
Incomplete downstream resultsMissing parallel aggregation or ignored failuresAdd aggregation and explicit failure handling

Relationship to other objects ​

Agents interpret goals and choose capabilities. Sprites perform atomic tasks. Routines define order and mappings. Spaces hold business scope, documents, and phases. Templates retain reusable configurations. Names and permissions do not substitute for one another.