{% extends "projects/base.html" %} {% import "site_shell/_macros.html" as ui %} {% block title %}RPA Job {{ job.job_id[:8] }} - {{ project.name }} - Pychestrate{% endblock %} {% block content %} {# Re-rendered in place every 10 s while the job is active (live-region.js). #}
Status
{{ ui.status_badge(job.status) }}
{% if job.run_state %}
run state {{ job.run_state }}
{% endif %} {% if is_active %}{{ ui.job_progress(job_progress | default(none)) }}
Updating every 10s while the job runs
{% endif %}
Specification
{% if job.spec_id %} {{ job.spec_name }} {% else %} {{ job.spec_name | display }} {% endif %} r{{ job.spec_revision }}
Job Type
{{ job.type_id }} {{ job.resolved_version }}
{{ job.execution_mode | enum_value }}
Duration
{% if job.duration_seconds is not none %}{{ job.duration_seconds }}s{% else %}—{% endif %}
{% if job.exit_code is not none %}
exit code {{ job.exit_code }}
{% endif %}

Job Details

{% if job.final_state_reason %} {% endif %} {% if job.result_root_key %} {% endif %}
Job ID {{ job.job_id }}
Trigger {{ job.trigger_cause.get('kind', 'manual') if job.trigger_cause else 'manual' }}
Triggered By {% if job_names.triggered_by %}{{ job_names.triggered_by }}{% else %}{{ job.triggered_by_id | display }}{% endif %}
Pod / Client {% if job_names.pod %}{{ job_names.pod }}{% else %}{{ job.pod_id | display }}{% endif %} / {% if job_names.client %}{{ job_names.client }}{% else %}{{ job.client_id | display }}{% endif %}
Packet digest {{ job.packet_digest[:16] if job.packet_digest else '' }}{% if job.packet_digest %}…{% endif %}
Created {{ job.created_at | format_datetime('%Y-%m-%d %H:%M:%S') }}
Started {{ job.started_at | format_datetime('%Y-%m-%d %H:%M:%S', 'Not started') }}
Completed {{ job.completed_at | format_datetime('%Y-%m-%d %H:%M:%S', 'Not completed') }}
Reason {{ job.final_state_reason }}
Result tree {{ job.result_root_key }}

Work Packet

Fields the job type marks as secret are shown redacted.

{{ work_packet_json }}
{% endblock %}