CN115310945A - Method and system for multi-dimensional process grouping examination and approval - Google Patents

Method and system for multi-dimensional process grouping examination and approval Download PDF

Info

Publication number
CN115310945A
CN115310945A CN202211025488.4A CN202211025488A CN115310945A CN 115310945 A CN115310945 A CN 115310945A CN 202211025488 A CN202211025488 A CN 202211025488A CN 115310945 A CN115310945 A CN 115310945A
Authority
CN
China
Prior art keywords
approval
node
mode
grouping
task
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211025488.4A
Other languages
Chinese (zh)
Inventor
叶智慧
唐定伟
陈成斌
苏胜林
马军亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongruixin Digital Technology Co ltd
Original Assignee
Zhongruixin Digital Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhongruixin Digital Technology Co ltd filed Critical Zhongruixin Digital Technology Co ltd
Priority to CN202211025488.4A priority Critical patent/CN115310945A/en
Publication of CN115310945A publication Critical patent/CN115310945A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method and a system for multi-dimensional process grouping approval.A process node appoints a handler through preset configuration, and a process node handler is obtained; the process node is configured to designate an approval mode through a preset configuration, wherein the approval mode comprises the following steps: or a sign option and a countersign option; and the process node handler carries out process grouping approval according to the specified approval mode until the process reaches the end node. The grouping approval function based on multiple dimensions such as organization, roles, regions and user groups is provided, the node handler is appointed according to the multiple dimensions, accurate assignment of the handler is guaranteed, flexible configuration of complex processes is achieved, static setting and dynamic setting of parameters of the process node handler are combined, complex business scene requirements are met, process node default processing rule setting is supported, and normal flow of the processes is guaranteed when the handler cannot be found.

Description

Method and system for multi-dimensional process grouping examination and approval
Technical Field
The invention relates to the technical field of process approval scheduling, in particular to a method and a system for multi-dimensional process grouping approval.
Background
The current process approval methods include the following methods:
designated persons are candidates, wherein any person processes the flow task, i.e. is considered to complete the task; designated personnel participate in the flow task together, and all the personnel are regarded as completing the task after completing the task; designated personnel participate in the flow task together, a threshold value for completing the flow task is preset according to a fixed number of people or percentage, and the task is considered to be completed after the number of people who complete the flow task exceeds the threshold value. However, these several process approval methods cannot be implemented in the following scenarios.
Example (c): the existing task of a certain flow needs event handlers of two departments A and B to process, wherein the department A has two event handlers of A1 and A2, and the department B has two event handlers of B1 and B2, and the two departments A and B are required to process the task together, but the event handlers in the departments only need any one person to process the task. At this time, the three personnel configuration modes of [ or signature ], [ countersignature + threshold ] cannot meet the requirement. Aiming at the requirements of similar scenes, the proposal provides a method for carrying out compound grouping on process approval personnel based on the dimensions of organization, roles, user groups, regions and the like.
Disclosure of Invention
The invention provides a method and a system for multi-dimensional process grouping approval, which aim to solve the problems that the prior art has the following process approval modes: designated persons are candidates, wherein any person processes the flow task, i.e. is considered to complete the task; designated personnel participate in the flow task together, and all the personnel are regarded as completing the task after completing the task; designated personnel participate in the flow task together, a threshold value for completing the flow task is preset according to a fixed number of people or percentage, and the task is considered to be completed after the number of people who complete the flow task exceeds the threshold value. However, these several process approval methods cannot be implemented in the following scenarios. Example (c): the task of a certain current process needs event handlers of two departments A and B to process, wherein the department A has two event handlers of A1 and A2, the department B has two event handlers of B1 and B2, the two departments A and B are required to process the task together, but the event handlers in the departments only need any one person to process the task. At this time, the three personnel configuration modes of [ or signature ], [ countersignature + threshold ] cannot achieve the above-mentioned problem of the requirement.
In order to achieve the purpose, the invention provides the following technical scheme:
a method for multi-dimensional process grouping approval comprises the following steps:
s101: appointing a handler through a corresponding configuration to obtain a process node handler;
s102: the process node is configured correspondingly to designate an approval mode, and the approval mode supports options of [ or sign ] and [ cross sign ];
s103: and the process node handler carries out process grouping approval according to the specified approval mode until the process reaches the end node.
Wherein the step S101 includes:
s1011: the corresponding configuration comprises the following steps: [ parameters ], [ parameter types ], [ relationships ], [ control values ], wherein the relationships of [ and ] and [ or ] are supported among a plurality of configurations for compounding;
s1012: based on corresponding configuration, a process node processing person is designated according to a composite selection mode of staff, departments, areas, roles and user group dimensions, wherein [ parameter ] supports selection of one of [ department ], [ role ], [ area ] and [ user group ], [ relationship ] supports [ belong to ], [ not belong to ], [ parameter type ] supports fixed parameters and variable types, and [ comparison value ] supports direct designation during process configuration.
Wherein the step S102 includes:
s1021: when the approval mode is [ or ] and the approval mode is [ or ] the selected process node processing persons follow the [ or ] relationship;
s1022: when the approval mode is [ countersigning ], the selected process node handler needs to select whether to open a [ grouping approval ] mode;
s1023: when the operation of grouping approval is not started, the selected process node processors follow the relation of (and);
s1024: when the approval mode is [ countersigning ] and [ grouping approval ] is opened, the selected process node handlers determine the grouping mode of the approval personnel according to the grouping basis.
Wherein, the step S103 includes:
s1031: setting a default processing rule for the process node, and when the process node processing person cannot be found, the process node passes normal approval;
s1032: the processing rules support three modes of [ transfer to manager processing ], [ processing by designated personnel ] and [ automatic approval pass ], wherein [ transfer to manager processing ] the task is transferred to a system manager for processing, and [ processing by designated personnel ] the task is handed to designated personnel for processing;
s1033: and if a certain group cannot find the user, ignoring the group when creating a group instance, and if all groups cannot find the user, processing according to a configured default processing rule.
Wherein, the step S103 further includes: when the process reaches the corresponding node, the program receives the input parameters, the rule analysis program analyzes the JSON configuration of the process, the JSON configuration is converted into a user query SQL statement filtering condition, and the user list information meeting the condition is queried;
and after the program queries the user list information, analyzing the process approval mode.
Wherein, the process of analyzing the process approval mode comprises the following steps:
when the approval mode is [ or sign ], the program creates an example task object for the node, creates a task candidate list for the node, and stores all the inquired user data into the approver list;
when the approval mode is [ countersigning ], creating example task objects and candidate lists thereof in corresponding numbers according to the corresponding user list record numbers, adding the users in the user lists to the task objects one by one, and approving each task object by one user;
when the approval mode [ countersign ] is opened [ group approval ], the program parses the grouping parameters, creates a key value-to-storage container structure, takes the value of the grouping parameter as a key, and stores the user list belonging to the group as a value in the corresponding storage container.
Wherein, the process of approval mode [ countersigning ] and opening [ grouping approval ] includes:
after grouping users, a program takes the number of key values in the storage container structure as a current task node, creates instance task objects and candidate lists with corresponding quantity, and adds the grouped corresponding user lists into the candidate lists;
the program provides a service for a user to inquire a current task list to be handled, inquires a current candidate list of all process task example objects, wherein the candidate list comprises an example task object list with a user number;
when the instance task objects are completed, the program synchronously detects whether all the instance task objects of the process nodes are completely completed, if the instance task objects are completely completed, the program marks the state of the current process node as completed, and the current process node is transferred to the next task node, and the process approval process is carried out on the next task node until the process reaches the end node.
Wherein the S1031 step includes:
and selecting a corresponding operation type when no person can be found by the process node through corresponding configuration, and supporting the corresponding operation type to include (transfer to administrator processing), (automatic approval pass) and (appointed person processing).
Wherein, the creation of different corresponding operation type process nodes comprises:
when the processing mode is 'transfer to manager processing', the program creates a flow task instance object for the current flow node, and adds a system manager as a candidate for the candidate list;
when the processing mode is [ appointed personnel processing ], the program creates a process task instance object for the current process node, and the selected user is added into a candidate list;
when the processing mode is 'automatic approval pass', the program creates a process task instance object for the current process node, the robot is set as a task handler, the state of the process task instance object is modified to be finished, and the process flow is transferred to the next task node.
The system for multi-dimensional process grouping approval comprises the following steps: the system comprises a basic information management unit, a process drawing unit, a node approval mode configuration unit and a process node default processing rule unit;
the basic information management unit is used for increasing, deleting, modifying and checking operations of users, departments, areas, roles and user groups, appointing affiliated departments and affiliated areas for the users, binding roles for the users and distributing the user groups;
the flow drawing unit is used for drawing a flow, and comprises the steps of node creation and connection drawing;
the process node processes the human rule configuration and is used for selecting the parameters, the parameter types, the relations, the comparison values and the relations between the configurations.
The node approval mode configuration unit is used for selecting modes including [ or signing ] and [ countersigning ], [ grouping approval ] options are opened in a [ countersigning ] mode, and grouping parameters are selected after the [ grouping approval ] options are opened, wherein the grouping parameters are selected from one of [ department ], [ area ], [ role ], [ user group ];
the process node defaults to a processing rule unit for selection of configuration including [ transfer manager process ], [ process by appointed person ], and [ automatic approval pass ], and selection of specific person when [ process by appointed person ] is selected.
Compared with the prior art, the invention has the following advantages:
a method for multi-dimensional process grouping approval comprises the following steps: appointing a handler through a corresponding configuration to obtain a process node handler; the process node is configured correspondingly to designate an approval mode, and the approval mode supports options of [ or sign ] and [ countersign ]; and the process node handler carries out process grouping approval according to the specified approval mode until the process reaches the end node. The grouping approval function based on multiple dimensions such as organization, roles, regions and user groups is provided, the node handler is appointed according to the multiple dimensions, accurate assignment of the handler is guaranteed, flexible configuration of complex processes is achieved, static setting and dynamic setting of parameters of the process node handler are combined, complex business scene requirements are met, process node default processing rule setting is supported, and normal flow of the processes is guaranteed when the handler cannot be found.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a flowchart of a method for multi-dimensional process grouping approval according to an embodiment of the present invention;
FIG. 2 is a flowchart of a designated handler in a method for multi-dimensional process group approval according to an embodiment of the present disclosure;
fig. 3 is a flowchart of performing process grouping approval in a method for performing multidimensional process grouping approval according to an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
The embodiment of the invention provides a method and a system for multi-dimensional process grouping approval, and with reference to fig. 1 to 3, the method for multi-dimensional process grouping approval comprises the following steps:
s101: appointing a handler for a process node through corresponding configuration, and acquiring a process node handler;
s102: the process node is configured correspondingly to designate an approval mode, and the approval mode supports options of [ or sign ] and [ cross sign ];
s103: and the process node processor performs process grouping approval according to the specified approval mode until the process reaches the end node.
The working principle of the technical scheme is as follows: appointing a handler for a process node through corresponding configuration, and acquiring a process node handler; the process node is configured correspondingly to designate an approval mode, and the approval mode supports options of [ or sign ] and [ countersign ]; and the process node processor performs process grouping approval according to the specified approval mode until the process reaches the end node. The grouping approval function based on multiple dimensions such as organization, roles, areas and user groups is provided, the node handler is designated according to the multiple dimensions, accurate assignment of the handler is ensured, flexible configuration of complex processes is realized, static setting and dynamic setting of parameters of the process node handler are combined, requirements of complex service scenes are met, process node default processing rule setting is supported, and normal flow of the process is ensured when the handler cannot be found.
The beneficial effects of the above technical scheme are: appointing a handler through a corresponding configuration to obtain a process node handler; the process node is configured correspondingly to designate an approval mode, and the approval mode supports options of [ or sign ] and [ countersign ]; and the process node handler carries out process grouping approval according to the specified approval mode until the process reaches the end node. The grouping approval function based on multiple dimensions such as organization, roles, regions and user groups is provided, the node handler is appointed according to the multiple dimensions, accurate assignment of the handler is guaranteed, flexible configuration of complex processes is achieved, static setting and dynamic setting of parameters of the process node handler are combined, complex business scene requirements are met, process node default processing rule setting is supported, and normal flow of the processes is guaranteed when the handler cannot be found.
In another embodiment, the S101 step includes:
s1011: the corresponding configuration includes: [ parameters ], [ parameter types ], [ relationships ], [ control values ], wherein the relationships of [ and ] and [ or ] are supported among a plurality of configurations for compounding;
s1012: based on corresponding configuration, a process node processing person is designated according to a composite selection mode of staff, departments, areas, roles and user group dimensions, wherein [ parameter ] supports selection of one of [ department ], [ role ], [ area ] and [ user group ], [ relationship ] supports [ belong to ], [ not belong to ], [ parameter type ] supports fixed parameters and variable types, and [ comparison value ] supports direct designation during process configuration.
The working principle of the technical scheme is as follows: the corresponding configuration comprises the following steps: parameters, parameter types, relations, control values, wherein relations of and or are supported between a plurality of configurations are compounded, for example: users (departments belong to the research and development department), [ and ] (roles belong to the product manager); based on corresponding configuration, a process node processing person is designated according to a composite selection mode of staff, departments, areas, roles and user group dimensions, wherein [ parameter ] supports selection of one of [ department ], [ role ], [ area ] and [ user group ], [ relationship ] supports [ belong to ], [ not belong to ], [ parameter type ] supports fixed parameters and variable types, and [ comparison value ] supports direct designation during process configuration. If directly specified as "research and development department", it can also be set as a variable, provided in the form of parameter passing when actually calling the flow scheduling interface, such as deparatmentids = [1,2,3]. In particular, see the following table:
Figure BDA0003815458720000071
the beneficial effects of the above technical scheme are: the corresponding configuration comprises the following steps: [ parameters ], [ parameter types ], [ relationships ], [ control values ], wherein the relationships of [ and ] and [ or ] are supported among a plurality of configurations for compounding; based on corresponding configuration, a process node processing person is designated according to a composite selection mode of staff, departments, areas, roles and user group dimensions, wherein [ parameter ] supports selection of one of [ department ], [ role ], [ area ] and [ user group ], [ relationship ] supports [ belong to ], [ not belong to ], [ parameter type ] supports fixed parameters and variable types, and [ comparison value ] supports direct designation during process configuration. The method and the system realize the function of carrying out grouping examination and approval on the flow node processors according to the dimensions such as [ department ], [ area ], [ role ], [ user group ], support the specification of the node processors according to multiple dimensions, and ensure the accurate assignment of the processors.
In another embodiment, the S102 step includes:
s1021: when the approval mode is [ or ] and the approval mode is [ or ] the selected process node processing persons follow the [ or ] relationship;
s1022: when the approval mode is [ countersigning ], the selected process node handler needs to select whether to open a [ grouping approval ] mode;
s1023: when the operation of grouping approval is not started, the selected process node processors follow the relation of (and);
s1024: when the approval mode is [ countersigning ] and [ grouping approval ] is opened, the selected process node handler determines the grouping mode of the approval personnel according to the grouping basis.
The working principle of the technical scheme is as follows: when the approval mode is [ or ] and the approval mode is [ or ] the selected process node processing persons follow the [ or ] relationship; when the approval mode is [ countersigning ], the selected process node handler needs to select whether to open a [ grouping approval ] mode; when the operation of grouping approval is not started, the relation of the selected process node processors follows, namely all the selected processors need to complete the node approval operation, and the node approval can be regarded as being completed; when the approval mode is [ countersigning ] and [ grouping approval ] is opened, the selected process node handler determines the grouping mode of the approval personnel according to the grouping basis, namely, the personnel are grouped according to [ department ], [ role ], [ area ], [ user group ] to which the user belongs.
The beneficial effects of the above technical scheme are: when the approval mode is [ or ] the selected process nodes process the relationship of [ or ] followed among the persons; when the approval mode is [ countersigning ], the selected process node handler needs to select whether to open a [ grouping approval ] mode; when the operation of grouping approval is not started, the selected process node processors follow the relation of (and); when the approval mode is [ countersigning ] and [ grouping approval ] is opened, the selected process node handler determines the grouping mode of the approval personnel according to the grouping basis. The multi-level grouping approval function that the rule (or countersign) is used in the process grouping and the rule (countersign) is followed between the groups is realized, and the combination of static setting and dynamic setting of the process node processing person parameters is supported, so that the complex business scene requirements are met.
Provided are a method and a system for setting a flow default processing rule.
In another embodiment, the step S103 includes:
s1031: setting a default processing rule for the process node, and when the process node processing person cannot be found, the process node passes normal approval;
s1032: the processing rules support three modes of [ transfer to manager processing ], [ processing by appointed personnel ] and [ automatic approval pass ], wherein [ transfer to manager processing ] the task is transferred to a system manager for processing, and [ processing by appointed personnel ] the task is transferred to the appointed personnel for processing;
s1033: and if a certain group cannot find the user, ignoring the group when creating a group instance, and if all groups cannot find the user, processing according to a configured default processing rule.
The working principle of the technical scheme is as follows: setting a default processing rule for the process node, and when the process node processing person cannot be found, the process node passes normal approval; the processing rules support three modes of [ transfer to manager processing ], [ processing by designated personnel ] and [ automatic approval pass ], wherein [ transfer to manager processing ] the task is transferred to a system manager for processing, and [ processing by designated personnel ] the task is handed to designated personnel for processing; and if a certain group can not find the user, ignoring the group when creating a group instance, and if all groups can not find the user, processing according to a configured default processing rule. A user may belong to multiple [ roles ] or [ user groups ] at the same time, and at this time, if the user completes the process node task processing, the process task instances of the multiple [ roles ] or [ user groups ] corresponding to the user are all considered to be completed. The static setting and the dynamic setting of the processing person parameters of the flow node are supported to be combined so as to meet the requirement of a complex service scene, the default setting of the processing rule of the flow node is supported, and the flow can be ensured to flow normally when the processing person cannot be found.
The beneficial effects of the above technical scheme are: setting a default processing rule for the process node, and when the process node processing person cannot be found, the process node passes normal approval; the processing rules support three modes of [ transfer to manager processing ], [ processing by appointed personnel ] and [ automatic approval pass ], wherein [ transfer to manager processing ] the task is transferred to a system manager for processing, and [ processing by appointed personnel ] the task is transferred to the appointed personnel for processing; and if a certain group can not find the user, ignoring the group when creating a group instance, and if all groups can not find the user, processing according to a configured default processing rule. The static setting and the dynamic setting of the processing person parameters of the flow node are supported to be combined so as to meet the requirement of a complex service scene, the default setting of the processing rule of the flow node is supported, and the flow can be normally circulated when the processing person cannot be found.
In another embodiment, the step S103 further includes: when the process reaches the corresponding node, the program receives the input parameters, the rule analysis program analyzes the JSON configuration of the process, the JSON configuration is converted into a filtering condition of a user query SQL statement, and the information of a user list meeting the condition is queried;
and after the program queries the user list information, analyzing the process approval mode.
The working principle of the technical scheme is as follows: when the process reaches the corresponding node, the program receives the input parameters, the rule analysis program analyzes the JSON configuration of the process, the JSON configuration is converted into a filtering condition of a user query SQL statement, and the information of a user list meeting the condition is queried; and after the program queries the user list information, analyzing the process approval mode.
Wherein, the rule analysis program analyzes the JSON configuration of the process and converts the JSON configuration into the user query SQL statement filtering condition statement, where
Department _ id in ("1, 2, 3") and user role _ id in ("1") [ when the user's department number is in (1, 2, 3) and the user's role number is in (1) ].
The program sentences need to be converted into Chinese, and all English needed in the patent needs to have Chinese definition.
The beneficial effects of the above technical scheme are: when the process reaches the corresponding node, the program receives the input parameters, the rule analysis program analyzes the JSON configuration of the process, the JSON configuration is converted into a user query SQL statement filtering condition, and the user list information meeting the condition is queried; and after the program queries the user list information, analyzing the process approval mode.
In another embodiment, the parsing the process approval manner includes:
when the approval mode is [ or label ], the program creates an example task object for the node, creates a task candidate list for the node, and stores all the inquired user data into the approver list;
when the approval mode is [ countersigning ], creating example task objects and candidate lists thereof in corresponding numbers according to the corresponding user list record numbers, adding the users in the user lists to the task objects one by one, and approving each task object by one user;
when the approval mode [ countersign ] is opened [ group approval ], the program analyzes the grouping parameters, creates a key value-pair storage container structure, takes the value of the grouping parameter as a key, and stores the user list belonging to the group as a value in a corresponding storage container.
The working principle of the technical scheme is as follows: when the approval mode is [ or sign ], the program creates an example task object for the node, creates a task candidate list for the node, and stores all the inquired user data into the approver list; when the approval mode is [ countersigning ], creating example task objects and candidate lists thereof corresponding to the number of the user lists according to the number of records of the corresponding user lists, and adding the users in the user lists to the task objects one by one, wherein each task object is approved by one user; when the approval mode [ countersign ] is opened and [ grouping approval ] is opened, the program analyzes the grouping parameters, creates a key value pair storage container [ map < key, value ] structure, takes the value of the grouping parameters as a key [ key ], and takes the user list belonging to the grouping as a value [ value ] to be stored in the corresponding map storage container. Because the key in the structure of map < key, value > is not repeatable, and the hash table adopted at the bottom layer can conveniently obtain the value corresponding to the key value from the key value, the method is very suitable for grouping and storing the user list according to the grouping parameters. Dividing a user list inquired by a program into a plurality of groups according to grouping parameters and putting the groups into the Map structure, wherein the examples are as follows:
[ department of research & development ]: zhang San, li Siang and Wang Wu
[ PRODUCT ] of: zhao one, qian two and sun three
map < key, value > also needs to highlight its advantages and define this result in chinese.
The beneficial effects of the above technical scheme are: when the approval mode is [ or label ], the program creates an example task object for the node, creates a task candidate list for the node, and stores all the inquired user data into the approver list; when the approval mode is [ countersigning ], creating example task objects and candidate lists thereof corresponding to the number of the user lists according to the number of records of the corresponding user lists, and adding the users in the user lists to the task objects one by one, wherein each task object is approved by one user; when the approval mode [ countersign ] is opened [ group approval ], the program analyzes the grouping parameters, creates a key value-pair storage container structure, takes the value of the grouping parameter as a key, and stores the user list belonging to the group as a value in a corresponding storage container. Therefore, the multistage grouping approval function that the rule (or a label) is used in the process grouping and the principle (a counterlabel) is followed between the groups is realized.
In another embodiment, the process of approval [ countersigning ] and opening [ group approval ] comprises:
after grouping users, a program takes the number of key values in the storage container structure as a current task node, creates instance task objects and candidate lists with corresponding quantity, and adds the grouped corresponding user lists into the candidate lists;
the program provides a service for a user to inquire a current task list to be handled, inquires a candidate list of sample objects of all current process tasks, wherein the candidate list comprises an example task object list of user numbers, when the user finishes the examination and approval operation of a specific example task object, the program marks the state of the example task object as finished, and removes other users in the candidate list of task objects;
when the instance task objects are completed, the program synchronously detects whether all the instance task objects of the process nodes are completely completed, if the instance task objects are completely completed, the program marks the state of the current process node as completed, and the current process node is transferred to the next task node, and the process approval process is carried out on the next task node until the process reaches the end node.
The working principle of the technical scheme is as follows: after grouping users, a program takes the number of key values in a Map structure as a current task node, creates instance task objects and a candidate list with corresponding quantity, and adds the grouped corresponding user list to the candidate list; the program provides a service for a user to inquire a current task list to be handled, inquires a current candidate list of all process task example objects, wherein the candidate list comprises an example task object list with a user number; when the instance task objects are completed, the program synchronously detects whether all the instance task objects of the process nodes are completed, if the instance task objects are completed, the program marks the state of the current process node as completed, and the current process node is transferred to the next task node, and the process approval process is carried out on the next task node until the process reaches the end node. Therefore, the functions of starting the process grouping and configuring the parameters of the process grouping are realized, and the function that the process node creates multiple instances according to the grouping parameters is also realized.
The beneficial effects of the above technical scheme are: after grouping users, a program takes the number of key values in the storage container structure as a current task node, creates instance task objects and candidate lists with corresponding quantity, and adds the grouped corresponding user lists into the candidate lists; the program provides a service for a user to inquire a current task list to be handled, inquires a current candidate list of all process task example objects, wherein the candidate list comprises an example task object list with a user number; when the instance task objects are completed, the program synchronously detects whether all the instance task objects of the process nodes are completely completed, if the instance task objects are completely completed, the program marks the state of the current process node as completed, and the current process node is transferred to the next task node, and the process approval process is carried out on the next task node until the process reaches the end node. Therefore, the functions of starting the process grouping and configuring the parameters of the process grouping are realized, and the function that the process node creates multiple instances according to the grouping parameters is also realized.
In another embodiment, the S1031 step includes:
the corresponding configuration is adopted, the process nodes are appointed to find out the corresponding operation types when no processing person can be found, and the corresponding operation types are supported to include (transfer to administrator processing), (automatic approval pass) and (appointed person processing).
The working principle of the technical scheme is as follows: and selecting a corresponding operation type when no person can be found by the process node through corresponding configuration, and supporting the corresponding operation type to include (transfer to administrator processing), (automatic approval pass) and (appointed person processing).
The beneficial effects of the above technical scheme are: and selecting a corresponding operation type when no person can be found by the process node through corresponding configuration, and supporting the corresponding operation type to include (transfer to administrator processing), (automatic approval pass) and (appointed person processing). And the default processing rule setting of the flow node is supported, so that the flow can be normally circulated when no person can be found to be processed.
In another embodiment, the different corresponding operation type flow node creation includes:
when the processing mode is 'transfer to manager processing', the program creates a flow task instance object for the current flow node, and adds a system manager as a candidate for the candidate list;
when the processing mode is [ appointed personnel processing ], the program creates a flow task instance object for the current flow node, and the selected user is added into a candidate list of the user;
when the processing mode is 'automatic approval pass', the program creates a process task instance object for the current process node, the robot is set as a task handler, the state of the process task instance object is modified to be finished, and the process flow is transferred to the next task node.
The working principle of the technical scheme is as follows: when the processing mode is [ change manager processing ], the program creates a process task instance object for the current process node, and adds a system manager [ admin ] to the candidate list as a candidate; when the processing mode is [ appointed personnel processing ], the program creates a flow task instance object for the current flow node, and the selected user is added into a candidate list of the user; when the processing mode is ' automatic approval ', the program creates a process task instance object for the current process node, the robot ' is set as a task handler, the state of the process task instance object is modified to be completed, and the process flow is transferred to the next task node.
The beneficial effects of the above technical scheme are: when the processing mode is 'transfer to manager processing', the program creates a flow task instance object for the current flow node, and adds a system manager as a candidate for the candidate list; when the processing mode is [ appointed personnel processing ], the program creates a flow task instance object for the current flow node, and the selected user is added into a candidate list of the user; when the processing mode is 'automatic approval pass', the program creates a process task instance object for the current process node, the robot is set as a task handler, the state of the process task instance object is modified to be finished, and the process flow is transferred to the next task node. The default processing rule setting of the flow nodes is supported, and the flow can be normally circulated when no person can be found to be processed.
In another embodiment, the method comprises the following steps: the system comprises a basic information management unit, a process drawing unit, a node approval mode configuration unit and a process node default processing rule unit;
the basic information management unit is used for increasing, deleting, modifying and checking the user, the department, the region, the role and the user group, appointing the affiliated department and the affiliated region for the user, binding the role for the user and distributing the user group;
the flow drawing unit is used for drawing a flow, and comprises the steps of node creation and connection drawing;
the process node processes the human rule configuration and is used for selecting the parameters, the parameter types, the relations, the comparison values and the relations between the configurations.
The node approval mode configuration unit is used for selecting modes including [ or signing ] and [ countersigning ], [ grouping approval ] options are opened in a [ countersigning ] mode, and grouping parameters are selected after the [ grouping approval ] options are opened, wherein the grouping parameters are selected from one of [ department ], [ area ], [ role ], [ user group ];
and the flow node default processing rule unit is used for selecting configuration including [ transfer manager processing ], [ processing by appointed personnel ] and [ automatic approval pass ], and selecting specific personnel when [ processing by appointed personnel ] is selected.
The working principle of the technical scheme is as follows: the basic information management unit is used for increasing, deleting, modifying and checking the user, the department, the region, the role and the user group, appointing the affiliated department and the affiliated region for the user, binding the role for the user and distributing the user group; the flow drawing unit is used for drawing a flow, and comprises the steps of node creation and connection drawing; the flow node processing person rule configuration is used for selecting parameters, parameter types, relations, comparison values and relations between a plurality of configurations; the node approval mode configuration unit is used for selecting modes of [ or sign ] and [ countersign ], judging whether an [ grouping approval ] option is opened in a [ countersign ] mode, and selecting grouping parameters after the [ grouping approval ] option is opened, wherein the grouping parameters are selected from one of [ department ], [ area ], [ role ] and [ user group ]; and the flow node default processing rule unit is used for selecting configuration including [ transfer manager processing ], [ processing by appointed personnel ] and [ automatic approval pass ], and selecting specific personnel when [ processing by appointed personnel ] is selected.
The beneficial effects of the above technical scheme are: the basic information management unit is used for increasing, deleting, modifying and checking the user, the department, the region, the role and the user group, appointing the affiliated department and the affiliated region for the user, binding the role for the user and distributing the user group; the flow drawing unit is used for drawing a flow, and comprises the steps of node creation and connection drawing; the process node processes rule configuration and is used for selecting parameters, parameter types, relations and comparison values and selecting relations between the parameters and the relations; the node approval mode configuration unit is used for selecting modes including [ or signing ] and [ countersigning ], [ grouping approval ] options are opened in a [ countersigning ] mode, and grouping parameters are selected after the [ grouping approval ] options are opened, wherein the grouping parameters are selected from one of [ department ], [ area ], [ role ], [ user group ]; and the flow node default processing rule unit is used for selecting configuration including [ transfer manager processing ], [ processing by appointed personnel ] and [ automatic approval pass ], and selecting specific personnel when [ processing by appointed personnel ] is selected. The grouping approval function based on multiple dimensions such as organization, roles, regions and user groups is provided, the node handler is appointed according to the multiple dimensions, accurate assignment of the handler is guaranteed, flexible configuration of complex processes is achieved, static setting and dynamic setting of parameters of the process node handler are combined, complex business scene requirements are met, process node default processing rule setting is supported, and normal flow of the processes is guaranteed when the handler cannot be found.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method for multi-dimensional process grouping approval is characterized by comprising the following steps:
s101: appointing a handler through a preset configuration as a process node, and acquiring a process node handler;
s102: the process node is assigned with an approval mode through preset configuration, wherein the approval mode comprises the following steps: or a sign option and a countersign option;
s103: and the process node handler carries out process grouping approval according to the specified approval mode until the process reaches the end node.
2. The method for multi-dimensional process grouping approval according to claim 1, wherein the step S101 comprises:
s1011: the configuration comprises: parameters, parameter types, relationships, and contrast values, wherein different configurations are combined using a set relationship, the set relationship including: the relation of the configuration is equal and the relation of the configuration is equal;
s1012: based on the configuration, a process node handler is designated according to a dimension composite selection mode of personnel, departments, regions, roles and user groups, wherein the parameter configuration comprises the following steps: department, role, area, user group, the said relation disposes including belonging to, not belonging to, the said parameter type disposes including: fixed parameters and variable types, the control value configuration comprising: directly specified at flow configuration.
3. The method for multi-dimensional process grouping approval according to claim 1, wherein the step S102 comprises:
s1021: when the examination and approval mode is the or option, the relationship followed between the selected process node handlers is the or relationship;
s1022: when the examination and approval mode is the option to be signed, the selected process node handler selects whether to start a corresponding mode, wherein the corresponding mode is a grouping examination and approval mode;
s1023: when the grouping examination and approval mode is not started, the relationship followed between the selected process node handlers is a positive relationship;
s1024: and when the approval mode is the option to be signed and the grouping approval mode is started, the selected process node handler determines the grouping mode of the approval personnel through a grouping basis mode.
4. The system for multi-dimensional process grouping approval of claim 1, wherein the step S103 comprises:
s1031: setting a default processing rule mode for the process node, and when the process node processing person cannot be found, the process node passes normal approval;
s1032: the processing rule mode comprises administrator processing, processing by appointed personnel and automatic approval, wherein the administrator processing rule mode transfers the task to a system administrator for processing, and the appointed personnel processing rule mode transfers the task to the appointed personnel for processing;
s1033: and if a certain group can not find the user, ignoring the group when creating a group instance, and if all groups can not find the user, processing according to a configured default processing rule mode.
5. The system for multi-dimensional process grouping approval of claim 1, wherein the step S103 further comprises: when the process reaches the corresponding node, the program receives the input parameters, the rule analysis program analyzes the JSON configuration of the process, the JSON configuration is converted into a filtering condition of a user query SQL statement, and the information of a user list meeting the condition is queried;
and after the program queries the user list information, analyzing the process approval mode.
6. The method of claim 5, wherein the parsing the process approval method comprises:
when the approval mode is the option or the option is signed, establishing an example task object for the node through a program, establishing a task candidate list for the node, and storing all the inquired user data into the approver list;
when the approval mode is the option of countersigning, creating example task objects and candidate lists with corresponding numbers according to the number of records of the corresponding user lists, and adding users in the user lists to the task objects one by one, wherein each task object is approved by one user;
when the examination and approval mode is the option to be signed and the grouping examination and approval mode is started, analyzing grouping parameters through a program, creating a key value pair storage container structure, taking the value of the grouping parameters as a key, and taking a user list belonging to the grouping as a value to be stored in a storage container.
7. The method for multi-dimensional process grouping approval as claimed in claim 6, wherein the approval mode is a countersign option and the opening of the grouping approval mode comprises:
after grouping users, a program takes the number of key values in the key value pair storage container structure as a current task node, creates instance task objects and candidate lists with corresponding quantity, and adds the grouped corresponding user lists into the candidate lists;
providing a service for inquiring a current task list to be handled for a user through a program, inquiring a current candidate list of all process task example objects, wherein the candidate list comprises an example task object list of a user number, and when the user finishes a specific example task object approval operation, the program marks the state of the example task object as finished and removes other users in the task object candidate list;
when the instance task objects are completed, the program synchronously detects whether all the instance task objects of the process nodes are completed, if the instance task objects are completed, the program marks the state of the current process node as completed, and the current process node is transferred to the next task node, and the process approval process is carried out on the next task node until the process reaches the end node.
8. The method for packet approval of a multidimensional procedure according to claim 4, wherein the step S1031 comprises:
the corresponding operation type is selected when the process person can not be found by the process node designation through the configuration, and the corresponding operation type comprises administrator processing, automatic approval passing and designated person processing.
9. The method of claim 8, wherein the creating of the corresponding operation type process node comprises:
when the processing mode is the operation type of the change of the administrator, the program creates a flow task instance object for the current flow node, and adds a system administrator as a candidate for the candidate list;
when the processing mode is the operation type processed by the designated personnel, the program creates a flow task instance object for the current flow node, and the selected user is added into the candidate list;
when the processing mode is the operation type passing automatic approval, the program creates a process task instance object for the current process node, the robot is set as a task handler, the state of the process task instance object is modified to be finished, and the process flow is transferred to the next task node.
10. A system for multi-dimensional process grouping approval, comprising: the system comprises a basic information management unit, a process drawing unit, a node approval mode configuration unit and a process node default processing rule unit;
the basic information management unit is used for performing increasing, deleting, modifying and checking operations on users, departments, regions, roles and user groups, designating operations of affiliated departments and affiliated regions for the users, and binding roles and allocating user group operations for the users;
the flow drawing unit is used for drawing a flow, and comprises the steps of node creation and connection drawing;
the process node processing person rule configuration is used for selecting set configuration, wherein the configuration comprises parameters, parameter types, relationships and comparison values, and selecting set relationships among a plurality of configurations, and the set relationships comprise relationships or relationships;
the node approval mode configuration unit is used for selecting an approval mode, wherein the approval mode comprises an option or a countersign option, an option of whether to start grouping approval in an option mode, and selection of grouping parameters after the option of grouping approval is started, and the selection of the grouping parameters comprises departments, areas, roles and user groups;
and the flow node default processing rule unit is used for selecting the configuration of the operation type, wherein the corresponding operation type comprises administrator processing, processing by appointed personnel and automatic approval passing, and the appointed personnel selects when the operation type processed by the appointed personnel is selected.
CN202211025488.4A 2022-08-25 2022-08-25 Method and system for multi-dimensional process grouping examination and approval Pending CN115310945A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211025488.4A CN115310945A (en) 2022-08-25 2022-08-25 Method and system for multi-dimensional process grouping examination and approval

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211025488.4A CN115310945A (en) 2022-08-25 2022-08-25 Method and system for multi-dimensional process grouping examination and approval

Publications (1)

Publication Number Publication Date
CN115310945A true CN115310945A (en) 2022-11-08

Family

ID=83864060

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211025488.4A Pending CN115310945A (en) 2022-08-25 2022-08-25 Method and system for multi-dimensional process grouping examination and approval

Country Status (1)

Country Link
CN (1) CN115310945A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116205602A (en) * 2023-03-02 2023-06-02 北京东方金信科技股份有限公司 Cross-tenant workflow approval system, method and readable medium
CN116501718A (en) * 2023-06-21 2023-07-28 山东远桥信息科技有限公司 Processor configuration method, custom workflow configuration method and workflow system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116205602A (en) * 2023-03-02 2023-06-02 北京东方金信科技股份有限公司 Cross-tenant workflow approval system, method and readable medium
CN116501718A (en) * 2023-06-21 2023-07-28 山东远桥信息科技有限公司 Processor configuration method, custom workflow configuration method and workflow system

Similar Documents

Publication Publication Date Title
CN115310945A (en) Method and system for multi-dimensional process grouping examination and approval
CN107704527B (en) Data storage method, device and storage medium
CN109902901A (en) Method for allocating tasks, device, storage medium and computer equipment
CN105719104B (en) Intelligent approval method and device
CA2912529A1 (en) Implicitly linking access policies using group names
CN111464659A (en) Node scheduling method, node pre-selection processing method, device, equipment and medium
US7814165B2 (en) Message classification system and method
CN106130899A (en) A kind of method and apparatus generating service path
CN107562546B (en) Task allocation method and device and instant messaging tool
CN107943423A (en) The management method and computer-readable recording medium of storage resource in cloud system
CN108063685A (en) Log analysis method and device
US11023497B2 (en) Data classification
CN108574718B (en) Cloud host creation method and device
CN109218385A (en) The method and apparatus for handling data
CN1964324A (en) A method for carrying out automatic selection of packet classification algorithm
US7739300B2 (en) System and method for processing a prioritizing protocol
CN110362577A (en) A kind of data insertion method, device, equipment and storage medium
CN110728452A (en) System and method for realizing selection control of multidimensional organization integration personnel in distributed flow system
US20150200903A1 (en) Automatic email address input process
US9852164B2 (en) Task handling in a multisystem environment
JP2010072876A (en) Rule creation program, rule creation method, and rule creation device
JP4864412B2 (en) HR management system
CN113742369A (en) Data authority management method, system and storage medium
CN109992630B (en) Data model matching method and device
CN108574719A (en) A kind of cloud host creation method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination