{% 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 %}
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).
| 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 %}
|
| 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 %}
{% else %}
—
{% endif %}
|
|---|---|
| Source invocations: |
{% if run.source_invocation_ids %}
{% for sid in run.source_invocation_ids %} {% set s
= source_inv_summaries.get(sid, {}) %}
{% else %}—{% endif %}
{{ sid }}
{% if s.get("func_name") %}
{{ s.func_name }}
{% endif %}
{% endfor %}
|
| 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 %}
|
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.
| Trigger condition | Valid condition context | {% if run.show_participant_event_column %}Event | {% endif %} {% if run.show_participant_source_column %}Source invocation | {% endif %}
|---|---|---|---|
| {{ render_condition_entity(p.condition_view) }} | {{ render_valid_condition_id(p.valid_condition_view) }} {{ render_condition_entity(p.context_view) }} | {% if run.show_participant_event_column %}
{% if p.event_id %}
{{ p.event_id }}
{% else %}—{% endif %}
|
{% endif %} {% if run.show_participant_source_column %}
{% 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 %}
{% else %}—{% endif %}
|
{% endif %}
| 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 %} |