Hi,
I have a process where the last steps are running in parallel. How can arrange an email to be sent when all previous steps (including parallel running ones) have completed?
Regards
Binh
Hi,
I have a process where the last steps are running in parallel. How can arrange an email to be sent when all previous steps (including parallel running ones) have completed?
Regards
Binh
Hi Binh,
You can add a Send email
step as the last step in your deployment process, set the Run condition
to Always run
and the Start trigger
to Wait for the previous step to complete, then start
.
This will ensure that the email step runs whether any of the other preceding steps succeed or fail.
I hope that helps!
Thank you and best regards,
Henrik
Hi,
I did place a send email step with the configuration as mentioned but what I find is that the email occurs when previous parallel steps still running.
e.g
Setup:
Step1 run in parallel
Step2 run in parallel
Step3 run in parallel
Send email when previous step finish.
Result:
Step1 is still running.
Step2 is still running.
Step3 finish
Send email
What I want is:
Step 1 finish
Step 2 finish
Step3 finish
Send email
Regards
Binh
Hi Binh,
What version of Octopus are you running? I’ve just tested your scenario (where step 3 finishes before steps 1 & 2) with the latest version and I can’t replicate the issue you are seeing.
Thank you and best regards,
Henrik
Hmm, it’s not happening now. Maybe I didn’t set it up correctly (as I’m still developing the process) or I misread what was happening.
Thanks for the response.