Skip to content

[P2] create_record outputVariable may not be referenceable in later flow nodes (needs confirm) #1873

Description

@xuyushun441-sys

Problem (needs reproduction confirmation)

Referencing a record created earlier in the same flow via its outputVariable may not resolve in a later node's interpolation.

Observation

content signal_to_topic_promotion: create_record (topic, outputVariable: 'topic') succeeds and the topic is created, but the following update_record setting promoted_topic: '{topic.id}' on the signal leaves promoted_topic null. Needs confirming against the working analogue (procurement pr_to_po_convert sets converted_po: '{po.id}') to isolate whether created-record output is referenceable downstream.

Expected

A create_record node's outputVariable (incl. .id) is referenceable in subsequent nodes of the same run.

Affected

@objectstack/automation.


Found while runtime-testing objectstack-ai/templates (all 9 templates via objectstack dev all) on @objectstack 9.5.1. Build + typecheck pass; these only surface at runtime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions