diff --git a/functionaltests/resources/v2/wb_with_tags_v2.yaml b/functionaltests/resources/v2/wb_with_tags_v2.yaml index 8f301e48..8cc66a08 100644 --- a/functionaltests/resources/v2/wb_with_tags_v2.yaml +++ b/functionaltests/resources/v2/wb_with_tags_v2.yaml @@ -3,11 +3,13 @@ version: '2.0' name: wb tags: [tag] + workflows: wf1: type: direct + tasks: hello: action: std.echo output="Hello" publish: - result: <% $.hello %> + result: <% $.hello %> diff --git a/functionaltests/resources/v2/wf_delay_v2.yaml b/functionaltests/resources/v2/wf_delay_v2.yaml index 0949a64a..7eb23c0d 100644 --- a/functionaltests/resources/v2/wf_delay_v2.yaml +++ b/functionaltests/resources/v2/wf_delay_v2.yaml @@ -10,8 +10,7 @@ wf: action: std.echo output="Hello" publish: result: <% $.hello %> - policies: - wait-after: 1 + wait-after: 1 on-success: - task2 diff --git a/functionaltests/resources/v2/wf_v2.yaml b/functionaltests/resources/v2/wf_v2.yaml index 91caa632..95d7f3d4 100644 --- a/functionaltests/resources/v2/wf_v2.yaml +++ b/functionaltests/resources/v2/wf_v2.yaml @@ -3,11 +3,11 @@ version: '2.0' wf: type: direct + tasks: hello: action: std.echo output="Hello" - policies: - wait-before: 5 + wait-before: 5 publish: result: <% $.hello %> @@ -16,11 +16,13 @@ wf1: tags: [tag] input: - farewell + tasks: addressee: action: std.echo output="John" publish: name: <% $.addressee %> + goodbye: action: std.echo output="<% $.farewell %>, <% $.name %>" requires: [addressee]