我正在构建一个基本工作流程,将支持大约 25 位客户 所有与他们匹配的客户都与一个基本工作流程相匹配,每个客户都有不同的要求,比如说一个客户想要发送电子邮件,而另一个客户不想发送电子邮件我想做什么
1- make one workflow and in the different requirement I will make switch to check who is
the user then switch each user to his requirements
(Advantages)this way powerful in maintenance and if there is any common requirements
easy to add
(Disadvantages) if The customer number increase and be like 100 and each is different
and we expect to have 100 user using the workflow but with the Different
little requirements
2- make Differnt workflow for each customer which meaning I will have a 100 workflow
in the future and in declaration instantiate the object from the specific workflow
which related to the Current user
(Advantages) each workflow is separate
(Disadvantages) - hard to add simple feature this meaning write the same thing 100
time so this is not Professional
所以我需要什么?我想知道这些只是我在这种情况下必须使用的方法还是我错过了另一种技术