{% extends "generic/object_list.html" %} {% load helpers %} {% load static %} {% block title %}Workflows{% endblock title %} {% block extra_styles %} {{ block.super }} {% endblock extra_styles %} {% block header %}{% endblock header %} {% block content %}
{% if unsynced %}
Not synced: the latest published version couldn't be pushed to Git
It's published in Nautobot and people are running it. Git is behind until a push works; it retries automatically. Drafts aren't affected, because they never go to Git. {% if unsynced.0.git_error %}
{{ unsynced.0.git_error }}
{% endif %}
{% if can_publish_workflows %} {% endif %}
{% endif %}

Workflows

Self-service forms that run Nautobot scripts and AWX jobs.
{% if git_indicator %} {% if git_indicator == "Synced" %} {% endif %}{{ git_indicator }} {% endif %} {% if can_add_workflows %} New workflow {% endif %}
Workflows
{{ status_counts.all }} {{ status_counts.live }} published
Runs, last 30 days
{{ catalog_stats.runs_30d }}
Time saved, last 30 days
{{ catalog_stats.time_saved_hours }} h from manual effort
Success rate
{% if catalog_stats.success_rate != None %}{{ catalog_stats.success_rate }}%{% else %}—{% endif %}
{% if categories %}
{% if selected_status != "all" %}{% endif %}
{% endif %}
{% for wf in catalog %} {% empty %} {% endfor %}
Workflow Category Status Runs (30d) Last run Enabled
{{ wf.name }} {% if wf.needs_approval %}{% endif %} {% if wf.uses_snow %}{% endif %} {% if wf.description %}
{{ wf.description }}
{% endif %}
{% if wf.category %}{{ wf.category }}{% else %}—{% endif %} {{ wf.status_label }} {% if wf.status_kind == "new" %}
Only editors can see it
{% elif wf.status_kind == "draft" %}
{{ wf.draft_editor }} · {{ wf.draft_when }}
{% endif %}
{% if wf.runs_30d %}{{ wf.runs_30d }}{% else %}—{% endif %} {% if wf.last_run_started %} {{ wf.last_run_started|date:"M j, g:i A" }} {% if wf.last_run_requested_by %}
{{ wf.last_run_requested_by }}
{% endif %} {% else %} Never {% endif %}
{% if wf.published_revision_id and wf.enabled %} Run{% else %}{% endif %} {% if can_change_workflows %} Edit {% endif %}
No workflows match.
{% if can_change_workflows %}
You see drafts because you can edit workflows. People who only run workflows see published ones, at their published version.
{% endif %}
{% endblock content %} {% block drawer %}{% endblock drawer %} {% block javascript %} {% endblock javascript %}