From 7657458e61503dd2b2cbe85090d635ca66d35600 Mon Sep 17 00:00:00 2001 From: "Brad P. Crochet" Date: Fri, 6 Apr 2018 14:13:48 -0400 Subject: [PATCH] Fix join examples and text The 'join' example for using a number did not have a proper workflow. It looks like it was copied from the 'all' example and not completely changed. Also, disambiguate the wording of the description for that example. It used the word 'once' in a place where it looked as though it meant 'one time' instead of 'as soon as'. Change-Id: I9b89768c0f0b7d325db08ea9345965a9263a64c8 Closes-Bug: #1761827 --- doc/source/user/wf_lang_v2.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/source/user/wf_lang_v2.rst b/doc/source/user/wf_lang_v2.rst index c96c51fe6..069cee3bf 100644 --- a/doc/source/user/wf_lang_v2.rst +++ b/doc/source/user/wf_lang_v2.rst @@ -769,24 +769,24 @@ Partial Join (join: 2) register_vm_in_load_balancer:  ...  on-success: -    - wait_for_all_registrations +    - wait_for_two_registrations register_vm_in_dns:  ...  on-success: -    - wait_for_all_registrations +    - wait_for_two_registrations register_vm_in_zabbix:   ...   on-success: -     - wait_for_all_registrations +     - wait_for_two_registrations wait_for_two_registrations:   join: 2   action: send_email When a task has property "join" assigned with a numeric value then the task -will run once at least this number of upstream tasks are completed and +will run when at least this number of upstream tasks are completed and corresponding conditions have triggered. In the example above task "wait_for_two_registrations" will run if two any of "register_vm_xxx" tasks complete.