Gå til innhold

ADR-007: Batch processing⚓︎


type: ADR status: PROPOSED Deciders: Ståle, BK, Per Jarle, Nils Date: 2026-03-26


Context⚓︎

The analyzer takes a few minutes to produce a report. Today, the case handler manually starts each analyzer run. This can be simplified by triggering analysis automatically when relevant changes occur in a case.

Key Drivers:

- Case handling: We want case handlers to have reports available immediately, so they do not have to wait for processing.⚓︎

Boundary Conditions:⚓︎


Decision⚓︎

Mimir is synchronized with ERS once per day. We will run a background job to synchronize with Mimir, fetch new cases, and store them in Blob Storage.

Text Only
Her er en liste over alle journalposter i sak 25/1718:

- ID: 25/143635, Tittel: Avslutningbrev, Dato: 17.07.2025, Type: Utgående brev
- ID: 25/143634, Tittel: Sluttskjema, Dato: 17.07.2025, Type: Internt notat uten oppfølging
- ID: 25/132091, Tittel: Informasjon til søker om godkjent rapport: ISSR27304, Dato: 30.06.2025, Type: Utgående brev
- ID: 25/131965, Tittel: Rapporterings- og utbetalingsanmodning Sluttrapport ISSR27304, Dato: 30.06.2025, Type: Inngående brev
- ID: 25/40002, Tittel: Informasjon ved oppstart av prosjektet, Dato: 25.02.2025, Type: Utgående brev
- ID: 25/39720, Tittel: Signert tilskuddsbrev i retur, Dato: 24.02.2025, Type: Inngående brev
- ID: 25/39476, Tittel: Innvilget støtte og signering av tilskuddsbrev, Dato: 24.02.2025, Type: Utgående brev
- ID: 25/39451, Tittel: Tilskuddsbrev, Dato: 24.02.2025, Type: Utgående brev
- ID: 25/39435, Tittel: Signert vedtak om tilskudd av Fullmaktshaver 24.02.2025, Dato: 24.02.2025, Type: Internt notat uten oppfølging
- ID: 25/39429, Tittel: Felles innstilling, Dato: 24.02.2025, Type: Internt notat uten oppfølging
- ID: 25/12030, Tittel: Tunge nullutslippskjøretøy, Dato: 21.01.2025, Type: Inngående brev
  1. Check for new cases in Mimir
    1. If found, synchronize Blob Storage [[ADR-001-blob-storage]]
    2. Queue analysis
  2. Iterate over the blobstore and check for new activity in websak
    1. If found, synchronize with Blob Storage
    2. Queue analysis
  3. Check the status of each case. We do not need to track closed cases.
    1. Move to archive

What We Chose:


Consequences⚓︎

✅ Positive Impact⚓︎

⚠️ Trade-offs Accepted⚓︎


Notes⚓︎