Created
January 23, 2018 10:16
-
-
Save alokmishra/1ba07f8b3ce7ed4d68dec9aaa1a62ce0 to your computer and use it in GitHub Desktop.
Mermaid flowchart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
graph LR | |
A(Appointment) --> B(Charge card) | |
B --> C{Success} | |
C -->|Yes| D[Gen invoice no] | |
C -->|No| E[Log failed payment] | |
D--> F(Create record in table, status=paid) | |
M(Chat) --> N(Chat complete) | |
N--> O(Charge Card) | |
O --> P{Success} | |
P-->|Yes| Q(Gen inv number) | |
P-->|No| S(Create record in table, status=pending) | |
Q-->R(Create record in table, status=paid) | |
S-->T(Retry charge 7 times) | |
T-->U{Success} | |
U-->|Yes| V(Update status=paid) | |
U-->|No| X(Update status=bad_debt) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment