Empty Lane Workflow
edge-cases
This workflow models a lane with no nodes.
Full FlowZap Code
laneA { # Lanea
n1: circle label:"Start Empty Lane"
n4: rectangle label:"Empty Lane step 4"
n7: rectangle label:"Empty Lane step 7"
n10: circle label:"End Empty Lane"
n1.handle(bottom) -> laneB.n2.handle(top) [label="Success"]
n4.handle(bottom) -> laneB.n5.handle(top) [label="Valid"]
n7.handle(bottom) -> laneB.n8.handle(top) [label="Next"]
}
laneB { # Laneb
n2: rectangle label:"Empty Lane step 2"
n5: rectangle label:"Empty Lane step 5"
n8: rectangle label:"Empty Lane step 8"
n2.handle(bottom) -> laneC.n3.handle(top)
n5.handle(bottom) -> laneC.n6.handle(top)
n8.handle(bottom) -> laneC.n9.handle(top)
}
laneC { # Lanec
n3: diamond label:"Empty Lane step 3"
n6: rectangle label:"Empty Lane step 6"
n9: rectangle label:"Empty Lane step 9"
n3.handle(bottom) -> laneA.n4.handle(top)
n3.handle(right) -> laneB.n2.handle(right) [label="Retry/Rejected"]
n6.handle(bottom) -> laneA.n7.handle(top)
n9.handle(bottom) -> laneA.n10.handle(top)
}Related templates
Bidirectional Loop Workflow
edge-cases
This workflow models circular references between nodes in both directions.
Deep Nesting Workflow
edge-cases
This workflow models lanes that are conceptually nested within each other.
Duplicate Node Ids Workflow
edge-cases
This workflow models the same node IDs reused in different lanes.