Say I what to describe a login process, which involves some steps. Although each step may be an asynchronous interaction, e.g. a http request & response, the overall steps happen in a sequential order.
It seems that both flowchart and sequence diagram can do the job. Which one is more appropriate for what situation? I am not referring to UML diagram but flowchart and sequence diagram in general sense.
Now I only have a simple rule that if I several branching logics, flowchart seems more appropriate because it is more straightforward then. But for login process the branching logics are simple, e.g., a. if account doesn't exist, jump to the register process; b. if account/password don't match, allow users to reset password then login again; c. after log in, based on the account preference presenting the user with different page.
So if the branching logic is simple, is it just a preference or there are other rules to apply?