python-mistralclient/functionaltests/resources/v2/wf_v2.yaml
Renat Akhmerov 56570703c2 Fix task result syntax in workflows used for functional tests
Change-Id: I5ef1659f2cbf7f2234c51b57d0bf161d03acb178
2016-04-11 18:40:25 +07:00

29 lines
461 B
YAML

---
version: '2.0'
wf:
type: direct
tasks:
hello:
action: std.echo output="Hello"
wait-before: 5
publish:
result: <% task(hello).result %>
wf1:
type: reverse
tags: [tag]
input:
- farewell
tasks:
addressee:
action: std.echo output="John"
publish:
name: <% task(addressee).result %>
goodbye:
action: std.echo output="<% $.farewell %>, <% $.name %>"
requires: [addressee]