Problem: there is no problem in the program after the project is launched recently, but it still needs to be updated or rolled back urgently. The reason is that a check is added in a module, this module can be operated only when the previous module is checked. Because the data of this module depends on the data of the previous module, it is reasonable to say that such a check is understandable, we must ensure data accuracy. We have already confirmed this scheme with the user before going online. After going online, we found that 80% of users follow this process, however, 20% of users do not follow this process. In addition, the 20% user process does not need to check that the previous module must be completed before this module can be implemented, it can only work on the previous module after this module is completed. As a result, the factory system cannot be used in a large area (although it is 20%, there are many users ).
Extension:
1. Why can't I find the 20% user requirements and processes?
2. there is a problem with the program's health. Remember that the business rules are the fastest changing place, especially the business check, which needs to be extracted separately. Otherwise, when the business check changes, you need to re-release the program. For example, if there is a check, only people over 18 years old can register employee information. If the code is hard-coded for 18, it will take some time, if you are 16 years old, you can enter the factory. If you are not a child laborer, you need to change this check to 16. At this time, you can only re-build the program and re-release it, the simplest way is to place these business rules in the configuration file or database. In this way, you only need to update the database or configuration file when modifying the business rules. However, you need to add more business checks, in this way, the program cannot be changed. The business rule engine can solve these problems, and the business rule engine can be added at will to reduce and combine different business rules, it is a pity that the rule engine has never been seen before and does not know how it is implemented.
3. Can I use workflows to solve problems related to business processes? Like the above problem, I think it can be solved through WF, but it is a pity that WF is not deeply involved and does not know much about it.