Design business process platform based on WF _ permission ing outside the Process Template
In the previous articles, I introduced a design method that combines permissions with process templates. Today, I will introduce a method of permission ing outside the process template.
The main implementation idea is as follows:
- When designing a Process Template, only business processes are drawn, regardless of node limits.
- After a process template is published to the system, the system automatically creates a node tree for the Process Template.
- Permission management personnel map the nodes in the Process Template node tree to the user permission tree of the current system
As follows:
The following describes the features of [permission ing in the Process Template] and [combining permissions with the Process Template ].
Combining permissions with process templates
Advantages:
- Complete and independent process templates reflect the business model
- Complex Dynamic Permissions
- The process designer can create a business model once in the designer.
Disadvantages:
- If the organizational structure is adjusted, modify the Process Template
- The versatility is not strong. For example, if two companies share the same business but have different organizational structures, they cannot share the same process template.
- Cannot be easily integrated with the permission module of the current platform
Permission ing outside the Process Template
Advantages:
- After the organizational structure is adjusted, you do not need to modify the Process Template.
- Process templates only describe the business flow, do not describe permissions, high Universality
- It can be easily integrated with the permission module of the current platform
Disadvantages:
- The Process Template cannot completely and independently reflect the business model
- Unable to implement complex dynamic Permissions
- After creating the business model, the process designer must perform permission ing again.
The above is a summary of [External ing of permissions in the Process Template] and [combining permissions with the Process Template]. These two methods have their own advantages and disadvantages. the specific use of these methods depends on the actual business needs.
I will introduce the idea of combining the advantages of the above two methods later.