Download uncategorized/patterns/error-retry-loop-workflow/workflow.fz from Jules-OC/flowzap-sequence-workflows: direct link, hf CLI and curl.
- Browser
- Download file 602 Bytes
-
https://huggingface.co/Jules-OC/flowzap-sequence-workflows/resolve/main/uncategorized/patterns/error-retry-loop-workflow/workflow.fz
- Command line
-
hf download hf://Jules-OC/flowzap-sequence-workflows/uncategorized/patterns/error-retry-loop-workflow/workflow.fz
-
curl -L -o workflow.fz https://huggingface.co/Jules-OC/flowzap-sequence-workflows/resolve/main/uncategorized/patterns/error-retry-loop-workflow/workflow.fz
602 Bytes
| Client { # Client | |
| n1: circle label:"Start Transaction" | |
| n2: rectangle label:"Attempt Payment" | |
| n5: circle label:"Payment Success" | |
| n1.handle(right) -> n2.handle(left) | |
| n2.handle(bottom) -> Server.n3.handle(top) [label="Submit"] | |
| n2.handle(right) -> n5.handle(left) [label="Authorized"] | |
| } | |
| Server { # Server | |
| n3: rectangle label:"Process Payment" | |
| n4: diamond label:"Authorized?" | |
| n3.handle(right) -> n4.handle(left) | |
| n4.handle(right) -> Client.n5.handle(bottom) [label="Approved"] | |
| n4.handle(top) -> Client.n2.handle(bottom) [label="Decline/Retry"] | |
| loop [Retry until approved] n2 n3 n4 | |
| } | |