Code View v2

Code view is accessed via the Code/Canvas toggle on the designer and allows the Workflow design to be edited as YAML.

Working with YAML

The editor provides YAML syntax behavior plus Expression completion and linting inside Expression fields.

Changes update the in-memory YAML immediately. After a short idle period, Console parses, validates, and compiles the current definition. Review the resulting messages in Problems and samples in Preview.

Valid YAML that matches the Workflow schema can be synchronized into Canvas. When you switch back to Canvas, Console captures the completed Code edit as one Workflow undo entry. If the Canvas view doesn't render, check the Problems tab for syntax issues.

Preserve the canonical field names and indentation shown in Workflow YAML.

Add Step from Code view

Open Add Step to choose a Node, Method, compatible Connection, and Template. Console inserts the generated YAML as a list item at the current cursor position with appropriate indentation.

Review the insertion location. If the cursor is outside Steps or a nested Step list, move the generated item into a valid location before switching to Canvas.

Save and read-only behavior

Code changes remain unsaved until you use Save and commit the revision. With Release Management enabled, a design opened from a later Environment is read-only.

Download YAML exports the current in-memory YAML, including unsaved valid edits. Treat the file as source that can contain endpoints, samples, identifiers, and authored script content; it must not contain credentials.

See also

See Workflow YAML, Workflow Validation, and Problems Pane.