Skip to content

Commit

Permalink
P4ADEV-1358 review 'wf classificazione incassi'
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioT90 committed Nov 22, 2024
1 parent 1c157f1 commit 7e5d01b
Show file tree
Hide file tree
Showing 16 changed files with 65 additions and 3 deletions.
Binary file not shown.
30 changes: 30 additions & 0 deletions design/workflow/classificazioneIncassi/02.pagamentiNotificati.mmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
title: WF caricamento file Pagamenti Notificati
---
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 IUD restituito 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 'Pagamento Notificato' 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: Flusso Pagamenti Notificati
---
sequenceDiagram
actor SIL
participant PU-BE as PiattaformaUnitaria-BE
participant FS as File Share
participant WF as Workflow Service

SIL ->> PU-BE: Carica file<BR />Pagamenti Notificati

activate PU-BE
PU-BE ->> FS: Salva file
PU-BE ->> WF: Avvia Pagamenti Notificati

activate WF
WF ->>WF: Avvia async<BR />"WF caricamento file<BR />Pagamenti Notificati"
WF -->> PU-BE: #
deactivate WF
deactivate PU-BE
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,25 @@ title: Flusso Riconciliazione
---
sequenceDiagram
participant WF_RT as WF classifica<BR />rata pagata
participant API_RT_N as API pagamenti<BR />notificati
participant WF_RN as WF caricamento<BR />pagamenti notificati
participant WF_R as WF caricamento<BR />file Rendicontazione
participant WF_T as WF caricamento<BR />file Tesoreria
participant WF_CLS_IUD as WF classificazione<BR />IUD
participant WF_CLS_IUF as WF classificazione<BR />IUF
participant WF_CLS_IUV as WF classificazione<BR />IUV

WF_RT ->>+ WF_CLS_IUD: Classifica IUD
API_RT_N ->> WF_CLS_IUD: Classifica IUD
WF_RN ->> WF_CLS_IUD: Classifica IUD
WF_CLS_IUD ->> WF_CLS_IUD: Match IUD
WF_CLS_IUD ->>- WF_CLS_IUV: Classifica IUV
activate WF_CLS_IUV

WF_R ->>+ WF_CLS_IUF: Rendicontazione
WF_T ->> WF_CLS_IUF: Tesoreria IUF
WF_CLS_IUF ->> WF_CLS_IUF: Match IUF
WF_CLS_IUF ->>- WF_CLS_IUV: Classifica IUV

WF_T ->> WF_CLS_IUV: Classifica IUV
WF_CLS_IUV ->>- WF_CLS_IUV: Classifica IUV

note over WF_RT,WF_CLS_IUV: Ogni evento verso 'WF classificazione XXX' comporterà<BR />la rischedulazione del WF qualora non già attivo.<BR/><BR/>L'uso di uno stesso identificativo come workflowID garantisce<BR />la sequenzialità dei processamenti
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 7e5d01b

Please sign in to comment.