{% extends "generic/object_list.html" %} {% load helpers %} {% load static %} {% load workflow_extras %} {% block title %}Workflow Run History{% endblock title %} {% block extra_styles %} {% endblock extra_styles %} {% block header %}
{% endblock header %} {% block content %}| Actions | Workflow | Status | Started By | Started | {% if show_scheduled_for_column %}Scheduled For | {% endif %}Execution Duration | Form Duration |
|---|---|---|---|---|---|---|---|
| View |
{{ run.workflow.name }}
{% if run.workflow.category %}
{{ run.workflow.category }} {% endif %} |
{% if run.status == "success" %} Success {% elif run.status == "failed" %} Failed {% elif run.status == "running" %} Running {% elif run.status == "pending" %} Pending {% elif run.status == "pending_approval" %} Pending Approval {% elif run.status == "scheduled" %} Scheduled {% elif run.status == "canceled" %} Canceled {% elif run.status == "partial" %} Partial {% else %} {{ run.status|title }} {% endif %} | {{ run.requested_by.username }} | {{ run.started|date:"M d, Y H:i" }} | {% if show_scheduled_for_column %}{% if run.scheduled_for %} {{ run.scheduled_for|date:"M d, Y H:i" }} UTC {% else %} {% endif %} | {% endif %}{% if run.finished %} {% calculate_duration run.started run.finished as duration %} {{ duration }} {% elif run.status == "running" %} Running... {% else %} - {% endif %} | {% if run.form_duration_seconds is not None %} {{ run.form_duration_seconds }}s {% else %} 60s {% endif %} |