apmec/samples/mistral/workflows/create_mead.yaml
2018-05-07 13:25:56 +02:00

23 lines
382 B
YAML

---
version: '2.0'
std.create_mead:
type: direct
description: |
Create a MEAD.
input:
- body
output:
mead_id: <% $.mead_id %>
tasks:
create_mead:
description: Request to create a MEAD.
action: apmec.create_mead body=<% $.body %>
input:
body: <% $.body %>
publish:
mead_id: <% task(create_mead).result.mead.id %>