{% extends "base.html" %} {% block title %}Executions | nlght Admin{% endblock %} {% block content %}

Executions

{# One row is one *run*. A fanned-out corpus is one run with hundreds of children; listing every execution would bury the runs that matter. #}

Runs handed to the durable queue, newest first. Status is the run's, not the execution's: a flow that fans work out succeeds as soon as it has handed it over, so a corpus still being processed reads in progress until its children settle. The filter matches the execution's own status, which is what the queue stores.

{% if status or workflow_id %}Clear{% endif %}
{% if runs %} {% for run in runs %} {% set r = run.record %} {# Both columns describe the *run*. For a fan-out that means its last child, not its own execution, which ended the moment it had handed the work out. #} {% endfor %}
Started Workflow Status Attempts Children Finished Duration
{{ r.created_at.strftime('%Y-%m-%d %H:%M:%S') }} {{ run.workflow_name }}
{{ r.trigger.context.correlation_id }}
{# The run's state, not the execution's. A distribution flow succeeds as soon as it has handed the work out; saying so here would report a corpus as finished while most of it is still queued. #} {{ run.state.label }} {% if run.state.detail %}
{{ run.state.detail }}{% endif %}
{{ r.attempt_count }} / {{ r.max_attempts }} {% if r.attempt_count > 1 %}
retried{% endif %}
{% if run.fan_out %} {{ run.fan_out.succeeded }}/{{ run.fan_out.total }} done {% if run.fan_out.failed %}
{{ run.fan_out.failed }} failed{% endif %} {% if run.fan_out.pending %}
{{ run.fan_out.pending }} in flight{% endif %} {% else %} N/A {% endif %}
{% if run.timing.running %}still running {% else %}{{ run.timing.finished_at | at }}{% endif %} {{ run.timing.elapsed | span }} {% if run.timing.child_time is not none %}
{{ run.timing.child_time | span }} of child time {% endif %}
Open
{% if total > limit %} {% endif %} {% else %}

No runs match. Executions appear here when a workflow enters the durable queue. Inline gateway requests do not create execution records.

{% endif %} {% endblock %}