{% extends "base.html" %} {% import "macros/ui.html" as m %} {% block title %}{{ ws_name }} ยท Workflows{% endblock %} {% block nav_workspaces %}btn-active{% endblock %} {% block content %} {{ m::ws_tabs(ws_name=ws_name, active=ws_active_tab, ws_envs=ws_envs, ws_has_clusters=ws_has_clusters, ws_has_workflows=ws_has_workflows, current_env=current_env) }} {% if not has_root %}
Workspace path not resolved.
{% endif %} {% if env_workflows %} {% for ew in env_workflows %}

{{ ew.env }}

{% for wf in ew.workflows %}

{{ wf.name }}

{{ wf.count }} workflow(s) {{ wf.steps | length }} steps
{% if wf.steps %}
{% set_global step_i = 0 %} {% for step in wf.steps %} {% set_global step_i = step_i + 1 %} {% endfor %}
# Step Targets Depends On Condition On Error
{{ step_i }} {{ step.id }} {% for t in step.targets %} {{ t }} {% endfor %} {% if step.depends_on %} {% for dep in step.depends_on %} {{ dep }} {% endfor %} {% else %} โ€” {% endif %} {% if step.condition %}{{ step.condition }}{% else %}โ€”{% endif %} {% if step.on_error == "Stop" %} stop {% elif step.on_error == "Continue" %} continue {% elif step.on_error %} {{ step.on_error }} {% else %} โ€” {% endif %}
{% else %}

No steps defined.

{% endif %}
{% endfor %}
{% endfor %} {% elif has_root %}
No workflow definitions found in this workspace.
{% endif %} {% endblock %}