Skip to main content

When having a condition in a playbook that performs either action A or action B, and later in the playbook, after the branches are merged again, I want to access the output... is there a better way then putting a "save context value" after action A and B writing to the same ContextValue - and later retrieving this contextvalue again?

Basically this is my situation:
Action A
/ \\
Condition Insight
\\ /
Action B and the insight should print whatever is the outcome of either Action A or Action B

You can use our Jinja power-up to create a unified template. (although using save context value is totally a good practice)