{{ pipeline.name }}

Pipeline ID: {{ pipeline.pipeline_id }}

Pipeline Overview

Status: {% if pipeline.status == 'completed' %} Completed {% elif pipeline.status == 'failed' %} Failed {% elif pipeline.status == 'running' %} Running {% elif pipeline.status == 'cancelled' %} Cancelled {% else %} {{ pipeline.status|title }} {% endif %}

Current Stage: {{ pipeline.stage }}

Started By: {% if pipeline.started_by %} {{ pipeline.started_by.first_name }} {{ pipeline.started_by.last_name }} {% else %} Unknown {% endif %}

Started: {{ pipeline.started_at.strftime('%Y-%m-%d %H:%M:%S') if pipeline.started_at else 'N/A' }}

Completed: {{ pipeline.completed_at.strftime('%Y-%m-%d %H:%M:%S') if pipeline.completed_at else 'N/A' }}

Duration: {% if pipeline.duration_seconds %} {{ (pipeline.duration_seconds // 60) }}m {{ (pipeline.duration_seconds % 60) }}s {% else %} N/A {% endif %}

{{ pipeline.progress_percentage }}% Complete
{% if pipeline.error_message %}
Error Message

{{ pipeline.error_message }}

{% endif %}
Statistics
Total Operations: {{ pipeline.total_operations }}
Successful: {{ pipeline.success_count }}
Failed: {{ pipeline.error_count }}
Email Sent: {% if pipeline.email_sent %} Yes {% else %} No {% endif %}
{% if pipeline.report_files or pipeline.data_files or pipeline.log_file_path %}
Download Files
{% if pipeline.log_file_path %} Log File {% endif %} {% if pipeline.report_files %} Report File {% endif %} {% if pipeline.data_files %} Data File {% endif %}
{% endif %}
Pipeline Steps
{% for step in steps %}
{{ step.step_name|title }}
Step {{ step.step_order }}
{% if step.status == 'completed' %} Completed {% elif step.status == 'failed' %} Failed {% elif step.status == 'running' %} Running {% elif step.status == 'pending' %} Pending {% else %} {{ step.status|title }} {% endif %}
{% if step.status in ['running', 'completed'] %}
{{ step.progress_percentage }}% Complete
{% endif %}
{% if step.items_processed %}
Processed: {{ step.items_processed }}
{% endif %} {% if step.items_successful %}
Successful: {{ step.items_successful }}
{% endif %}
{% if step.items_failed %}
Failed: {{ step.items_failed }}
{% endif %} {% if step.duration_seconds %}
Duration: {{ (step.duration_seconds // 60) }}m {{ (step.duration_seconds % 60) }}s
{% endif %}
{% if step.error_message %}
Error: {{ step.error_message }}
{% endif %} {% if step.step_data %}
View Step Data
{{ step.step_data | tojson(indent=2) }}
{% endif %}
{% endfor %} {% if not steps %}
No steps found

Pipeline steps will appear here once they are created

{% endif %}
{% if pipeline.config %}
Pipeline Configuration
{{ pipeline.config | tojson(indent=2) }}
{% endif %}