Search code examples
umlsequence-diagramvisual-paradigm

sequence diagram: design of complex business logic


how can I best show a bunch of checks that are done during item search in an e-commerce system with the result for the dealer to be able to buy or not the item?

They are executed in a couple of loops and in between occur some exceptions, which means a loop maybe will be executed, if some conditions are met and maybe the 2nd loop will be executed as well or not..

It is a bit hard to explain it in written form, I hope that you get the idea.

I would really appreciate some solid opinions/solutions.

Thank you in advance

Ioanna


Solution

  • Sequence diagram is an usual answer no ? See sequences diagrmes They contain :

    "if" which are opt combined fragment

    "if else" which are alt combined fragment

    If you are an UML fan :) see section 17.6 of UML document