Concepts
TRN
Resource Classes

Resource Classification

TRNs cover three categories: declarative resources, runtime entities, and metadata. Each carries a different path contract.

Overview

CategoryDescriptionPath PatternBuilder Trait
DeclarativeUser-authored YAML specs{kind}/{name_path}DeclarativeTrnBuilder
RuntimeSystem-generated during execution{type}/{parent_path}/{id}Service helpers
MetadataPlatform-provided descriptors{type} or {type}/{id}Service helpers

Declarative resources

{kind}/{name_path}
trn:igniter:default:trigger/cron/daily-report
trn:stepflow:default:workflow/order-pipeline
trn:aionixfn:default:function/process-order

Example YAML:

kind: trigger/cron
metadata:
  name: daily-report
  description: "Daily sales report"
  labels:
    team: analytics
spec:
  schedule: "0 9 * * *"
  timezone: "America/New_York"
  action:
    type: workflow
    target: "trn:stepflow:default:workflow/sales-report:start"

Runtime entities

{entity_type}/{parent_name_path}/{entity_id}

Provide context for debugging and execution graphs:

EntityPath PatternExample
Workflow executionexecution/{workflow}/{exec_id}execution/order-pipeline/exec_2025
Step statestep/{workflow}/{exec_id}/{step}step/order-pipeline/exec_2025/init
Trigger executionexecution/{trigger}/{exec_id}execution/daily-report/exec_abc
Function invocationinvocation/{function}/{inv_id}invocation/process-order/inv_xyz

Metadata resources

Singletons or system descriptors:

{type}  or  {type}/{id}

Examples:

trn:stepflow:default:engine
trn:openact:default:connector/http
trn:builtin:system:http