workflows / workflows-xml-5Markdown ↓

Getting started

Open your workflow in the CoCoCo app. In the Flow tab, choose Create XML draft to begin editing XML. Use suggestions as you type, or press Ctrl+Space. Hover over a name for help and use the outline to navigate.

A workflow contains nodes (steps) and edges (connections). This workflow copies an input message through two steps. With message set to Hello, the final result is Hello.

<workflow format="1">
  <input-schema>
    <schema type="object" xmlns="urn:cococo:json-schema:1">
      <property name="message" type="string"/>
      <required name="message"/>
    </schema>
  </input-schema>
  <nodes>
    <transform id="first">
      <value name="message" expression="input.message"/>
    </transform>
    <transform id="last">
      <value name="result" expression="nodes.first.output.message"/>
    </transform>
  </nodes>
  <edges>
    <edge from="first" to="last"/>
  </edges>
</workflow>

Save a version when the source is ready. Saving and activating are separate actions: review the version before making it active.

Published platform manual · revision b7e633aeece7