st2 icon indicating copy to clipboard operation
st2 copied to clipboard

Ability to define a task which is always called after an action chain workflow finishes (either fails or succeeds)

Open Kami opened this issue 10 years ago • 1 comments

It would be useful if user could define a step which is always called when a workflow finishes and / or fails. You can think of it as "finally" in Python and other programming languages.

Similar end result can be achieved by adding "on-failure" to every step, but defining this function once is nicer.

Here is an example from a workflow I'm currently working on:

test

Kami avatar Mar 08 '15 19:03 Kami

this feature is needed, the join in workflow not work very well when some task no need to execute.

zhenglisai avatar Apr 24 '24 03:04 zhenglisai