← All native models

Native model

journey_output

Declare a named journey_output value and reference it as journey_output.your_name. Models have no separate platform identity or lifecycle.

Topics: Surfaces

Fields

A value the journey hands back when it finishes, read from $.state.<key>. A journey task sends these to complete the task

object
keyRequired

State key whose value when the journey finishes is the output, read as $.state.<key>.

string
kindRequired

text, number, boolean, resource for a reference to a record, or json for any value.

string
Allowed values
["text","number","boolean","resource","json"]
labelRequired

Label describing the output.

string
requiredOptional

Set to true when every finished run must produce this output. A stage must write its key.

boolean
resourceTypeOptional

The kind of record. Required when kind is resource.

string
Allowed values
["customer","order","job","workcenter"]

Only the fields listed here are accepted.