{% if from_lab and anchor == 'steps-' ~ idx %}

You are fixing this step

{% endif %} Step {{ idx + 1 }} (steps.{{ idx }})

{% if errors_by_path.get('steps.' ~ idx ~ '.id') %} {{ errors_by_path['steps.' ~ idx ~ '.id'] }} {% endif %}

{% if errors_by_path.get('steps.' ~ idx ~ '.params') %} {{ errors_by_path['steps.' ~ idx ~ '.params'] }} {% endif %}

Step on_failure {% set prefix = 'steps-' ~ idx ~ '-onfail' %} {% set error_prefix = 'steps.' ~ idx ~ '.on_failure' %} {% set branches_target_id = 'steps-' ~ idx ~ '-onfail-branches' %} {% set legend = 'Recovery policy' %} {% include "partials/on_failure_block.html" %}