diff --git a/design/workflow/classificazioneIncassi/01.ricevute-ingestion.mmd b/design/workflow/classificazioneIncassi/01.ricevute-ingestion.mmd new file mode 100644 index 0000000..c27eeda --- /dev/null +++ b/design/workflow/classificazioneIncassi/01.ricevute-ingestion.mmd @@ -0,0 +1,30 @@ +--- +title: WF caricamento file Ricevute +--- +flowchart TD + DESCRIPTION@{ shape: braces, label: "Input: ingestionFlowId" } + START@{shape: start} --> + UPDATE_STATUS_INELAB:::activity@{label: "Aggiorna stato ingestionFlow in 'IMPORT_IN_ELAB'"} --> + INGESTION:::activity@{label: "Leggi file e persisti righe"} --> + UPDATE_STATUS_COMPLETE:::activity@{label: "Finalizza stato entità ingestionFlowId"} --> + SEND_EMAIL:::activity@{label: "Notifica stato import tramite email"} --> + + LOOP + + subgraph LOOP["Per ogni coppia di IUV e IUD restituiti dall'activity di ingestion"] + + %% dummy block added to have an empty line + DUMMY:::disable-->SIGNAL + linkStyle 5 display:none; + + SIGNAL:::send-signal@{shape: delay, label: "Invia evento 'Ricevuta' al workflow 'Classificazione IUD'"} + NOTE@{ shape: braces, label: "signalWithStart con workflowID=IUD" } + end + + LOOP --> END@{shape: stop} + class LOOP loop + + classDef disable display:none; + classDef activity fill:#FFFFE0, stroke:#ffc300, stroke-width:2px; + classDef loop fill:#CCFFCC, stroke:#7FBF7F, stroke-width:2px, padding-bottom: 5px; + classDef send-signal fill:#ade8f4, stroke:#48cae4, stroke-width:2px \ No newline at end of file diff --git a/design/workflow/classificazioneIncassi/01.ricevute-ingestion.svg b/design/workflow/classificazioneIncassi/01.ricevute-ingestion.svg new file mode 100644 index 0000000..306f5ac --- /dev/null +++ b/design/workflow/classificazioneIncassi/01.ricevute-ingestion.svg @@ -0,0 +1,3 @@ + + +

Per ogni coppia di IUV e IUD restituiti dall'activity di ingestion

DUMMY

Invia evento 'Ricevuta' al workflow 'Classificazione IUD'

signalWithStart con workflowID=IUD

Input: ingestionFlowId

Aggiorna stato ingestionFlow in 'IMPORT_IN_ELAB'

Leggi file e persisti righe

Finalizza stato entità ingestionFlowId

Notifica stato import tramite email

WF caricamento file Ricevute
\ No newline at end of file