forked from seanchatmangpt/dspygen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bpmn_engine.mm
26 lines (24 loc) · 1.05 KB
/
bpmn_engine.mm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
graph LR
subgraph ActorSystem
AS(Actor System)
BPMNEngine[BPMN Workflow Engine]
ProcessManager[Process Manager]
TaskExecutor[Task Executor]
DecisionGateway[Decision Gateway]
ExternalService[External Service Handler]
EventListener[Event Listener]
UserTaskHandler[User Task Handler]
end
AS -->|Deploys Model| BPMNEngine
BPMNEngine -->|Starts Process| ProcessManager
ProcessManager -->|Execute Task| TaskExecutor
ProcessManager -->|Evaluate Decision| DecisionGateway
TaskExecutor -->|Call External Service| ExternalService
ProcessManager -->|User Task| UserTaskHandler
UserTaskHandler -->|Complete Task| ProcessManager
ExternalService -->|Callback Event| EventListener
EventListener -->|Notify Completion| ProcessManager
DecisionGateway -->|Decision Made| ProcessManager
ProcessManager -->|Process Completed| BPMNEngine
classDef actor fill:#f9f,stroke:#333,stroke-width:2px;
class BPMNEngine,ProcessManager,TaskExecutor,DecisionGateway,ExternalService,EventListener,UserTaskHandler actor;