Well, there is nothing magic, but something convoluted 🙂
In the "Scelta uffici" ("Offices choice") task the user can decide which of the next 3 phases he wants to activate (at least 1). The process does that setting 3 variables, tested by the calculateTheRightPaths methods. If the right variable is setted and the task is not already activated, it adds the corrisponding path to the PvmTransition List. If the user chooses less than 3 paths, and the process is still going, calculateTheRightPaths method adds the path to "Scelta uffici" task too, so that the user has the chance to activtate the remaining paths while the other are already activated.
If it's all done, the method sends to the final step.
Sorry, it's a bit obscure…
Thanks.
Bye
Franco