Welcome to FlowZap, the App to diagram with Speed, Clarity and Control.

Label Escaping Workflow

This workflow models labels containing quotes and special characters.

Full FlowZap Code

Copy and paste the following FlowZap code into a project in your FlowZap account to see this template diagram.

laneA { # Lanea
  n1: circle label:"Start Label Escaping"
  n5: rectangle label:"Label Escaping step 5"
  n9: rectangle label:"Label Escaping step 9"
  n13: rectangle label:"Label Escaping step 13"

  n1.handle(bottom) -> laneB.n2.handle(top)
  n5.handle(bottom) -> laneB.n6.handle(top) [label="Done"]
  n9.handle(bottom) -> laneB.n10.handle(top)
  n13.handle(bottom) -> laneB.n14.handle(top)
}
laneB { # Laneb
  n2: rectangle label:"Label Escaping step 2"
  n6: rectangle label:"Label Escaping step 6"
  n10: rectangle label:"Label Escaping step 10"
  n14: rectangle label:"Label Escaping step 14"

  n2.handle(bottom) -> laneC.n3.handle(top) [label="Next"]
  n6.handle(bottom) -> laneC.n7.handle(top)
  n10.handle(bottom) -> laneC.n11.handle(top)
  n14.handle(bottom) -> laneC.n15.handle(top) [label="Valid"]
}
laneC { # Lanec
  n3: rectangle label:"Label Escaping step 3"
  n7: rectangle label:"Label Escaping step 7"
  n11: rectangle label:"Label Escaping step 11"
  n15: rectangle label:"Label Escaping step 15"

  n3.handle(bottom) -> laneD.n4.handle(top)
  n7.handle(bottom) -> laneD.n8.handle(top)
  n11.handle(bottom) -> laneD.n12.handle(top) [label="Success"]
  n15.handle(bottom) -> laneD.n16.handle(top)
}
laneD { # Laned
  n4: diamond label:"Label Escaping step 4"
  n8: rectangle label:"Label Escaping step 8"
  n12: diamond label:"Label Escaping step 12"
  n16: circle label:"End Label Escaping"

  n4.handle(bottom) -> laneA.n5.handle(top)
  n4.handle(right) -> laneC.n3.handle(right) [label="Retry/Rejected"]
  n8.handle(bottom) -> laneA.n9.handle(top) [label="Processed"]
  n12.handle(bottom) -> laneA.n13.handle(top)
  n12.handle(right) -> laneC.n11.handle(right) [label="Retry/Rejected"]
}

Related templates

Back to all templates