Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

publish_xml

Like publish_json, but serializes to an XML string.

Synopsis

{
  "name": "publish_xml",
  "input": {
    "source": "order",
    "target": "order_xml",
    "root_element": "Order"
  }
}

Description

publish_xml is an engine built-in from dataflow-rs. Orion declares no input schema for it, so a mistake in input surfaces when the task runs rather than when the workflow is saved.

Retry safety: pure. An engine built-in reads and writes the message and nothing else.

Fields

FieldTypeRequiredDefaultDescription
sourcestringyesField under data to serialize
targetstringyesField under data to receive the XML string
root_elementstringno"root"Name of the XML root element

Examples

{ "name": "publish_xml", "input": { "source": "order", "target": "order_xml", "root_element": "Order" } }

Last verified 14 September 2026