{% extends "layout.html" %} {% from "_macros.html" import state_badge %} {% block title %}Execution #{{ execution.execution_id }} - MailCadence Admin{% endblock %} {% block content %}
All executions

Execution #{{ execution.execution_id }} {{ state_badge(execution.state) }}

Task {{ execution.task_id }}{% if execution.task_deleted_at %} (deleted){% endif %} · version {{ execution.task_version }} · generation {{ execution.dispatch_generation }} · {{ execution.window_key }} {% if execution.legacy %}· converted from the old last_run/last_status{% endif %}

Message-ID: {{ execution.message_id or "not rendered" }}{% if execution.message_id and not execution.has_message %} (content removed after the retention period){% endif %} {% if execution.owner %}· owner {{ execution.owner }} until {{ execution.lease_expires_at | utc_time }}{% endif %}

{% if message %}
{{ message }}
{% endif %}
{% for r in execution.recipients %} {% endfor %}
Recipient Type State Attempts Last reply Decision
{{ r.display_address }} {{ r.recipient_type }} {{ state_badge(r.state) }} {{ r.attempt_count }} / {{ r.max_attempts }} {% if r.last_code %}{{ r.last_code }} {% endif %}{{ r.last_error or "" }} {% if r.state == 'UNKNOWN' and r.last_attempt_id %}
{% endif %}

Attempts

{% for a in execution.attempts %} {% else %} {% endfor %}
#StateRecipientsStartedFinished
{{ a.attempt_no }} (id {{ a.attempt_id }}, token {{ a.fencing_token }}) {{ state_badge(a.state) }} {{ a.recipients | join(', ') }} {{ a.started_at | utc_time }} {{ a.finished_at | utc_time }}
No attempts.

Events

{% for ev in execution.events %} {% endfor %}
WhenEventByDetails
{{ ev.occurred_at | utc_time }} {{ ev.kind }} {{ ev.actor or "" }} {{ ev.reason or "" }} {{ ev.details_json or "" }}
{% endblock %}