{% extends "base.html" %} {% from "trigger_runs/partials/condition_entity.html" import render_condition_entity, render_valid_condition_id %} {% from "partials/event_pill.html" import event_pill %} {% block content %}
Trigger Run Details
Back Show in Timeline {% if run.triggered_invocation_id %} View Triggered Invocation {% endif %}

A trigger run is the record produced when a trigger's set of conditions matched and registered a new invocation. It is the hub linking upstream causes (events, source invocations) to the downstream effect (the triggered invocation).

Identity
Run ID: {{ run.trigger_run_id }}
Trigger ID: {{ run.trigger_id }}
Task: {{ run.task_id_key }}
Logic: {{ run.logic_value }}
Claimed at (UTC): {% if run.claimed_at %} {{ run.claimed_at }} {% else %}{% endif %}
Executed at (UTC): {% if run.executed_at %} {{ run.executed_at }} {% else %}{% endif %}
Atomic-service runner: {% if run.atomic_service_runner_id %} {{ run.atomic_service_runner_id }} {% else %}{% endif %}
Atomic-service run: {% if run.atomic_service_run_id %} {{ run.atomic_service_run_id }} {% else %}{% endif %}
Outcome
{% if not run.participants %} {% endif %}
Triggered invocation: {% if run.triggered_invocation_id %} {% set s = source_inv_summaries.get(run.triggered_invocation_id, {}) %}
{{ run.triggered_invocation_id }}
{% if s.get("func_name") %}
{{ s.func_name }}
{% endif %}
{% if s.get("status") %} {{ s.status }} {% endif %} {% if s.get("duration_seconds") is not none %} {{ "%.2f"|format(s.duration_seconds) }}s {% endif %}
{% else %} {% endif %}
Source invocations: {% if run.source_invocation_ids %} {% else %}{% endif %}
Events ({{ (run.event_ids or [])|length }}): {% if run.event_ids %}
{% for eid in run.event_ids %} {{ event_pill(eid, source_event_summaries.get(eid)) }} {% endfor %}
{% else %}{% endif %}
Conditions ({{ (run.condition_details or [])|length }}): {% if run.condition_details %}
{% for condition in run.condition_details %} {{ render_condition_entity(condition) }} {% endfor %}
{% else %}{% endif %}
{% if run.participants %}
Participants {{ run.participants|length }}

One row per valid condition that matched. A condition ID identifies the trigger rule. A valid condition ID combines that rule with the concrete context that satisfied it.

{% if run.show_participant_event_column %} {% endif %} {% if run.show_participant_source_column %} {% endif %} {% for p in run.participants %} {% if run.show_participant_event_column %} {% endif %} {% if run.show_participant_source_column %} {% endif %} {% endfor %}
Trigger condition Valid condition contextEventSource invocation
{{ render_condition_entity(p.condition_view) }} {{ render_valid_condition_id(p.valid_condition_view) }} {{ render_condition_entity(p.context_view) }} {% if p.event_id %} {{ p.event_id }} {% else %}{% endif %} {% if p.source_invocation_id %} {% set s = source_inv_summaries.get(p.source_invocation_id, {}) %}
{{ p.source_invocation_id }}
{% if s.get("func_name") %}
{{ s.func_name }}
{% endif %}
{% if s.get("status") %} {{ s.status }} {% endif %} {% if s.get("duration_seconds") is not none %} {{ "%.2f"|format(s.duration_seconds) }}s {% endif %}
{% else %}{% endif %}
{% endif %} {% if related_events %}
Related Events {{ related_events|length }}
{% for e in related_events %} {% endfor %}
Code Event ID Timestamp (UTC) State
{{ e.event_code }} {{ e.event_id }} {{ e.timestamp }} {% if e.triggered %} triggered {% elif e.matched %} matched {% else %} recorded {% endif %}
{% endif %}
{% endblock %}