Business process flow transfer method, device and equipment and computer storage medium
By acquiring the workflow records of process instances, determining the list of approval roles, and submitting process nodes, the problems of high process complexity and development difficulty in existing technologies are solved, and efficient management between process nodes is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA CONSTRUCTION BANK
- Filing Date
- 2022-07-18
- Publication Date
- 2026-06-09
AI Technical Summary
In existing technologies, business process flow is complex, with many process branches, deep node levels, high development difficulty, and requires complex business judgment logic.
By obtaining the process flow record of the target process instance, the current process node and submission type are determined, the list of approval roles is determined based on the submission type, and the process node is submitted to the target approval role.
It enables seamless transitions between process nodes, reduces development difficulty, and improves the efficiency and flexibility of business process management.
Smart Images

Figure CN115222361B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of information processing technology, and in particular relates to a business process flow method, apparatus, equipment and computer storage medium. Background Technology
[0002] In the current process flow, there are many problems such as process complexity, many process branches, and deep process node hierarchy. At present, business process flow usually adopts well-known process engines on the market, such as jbpm, activiti, flowable and osworkflow. Most processes embed business logic into the workflow for execution through listeners or events. This is difficult to develop and requires the development of complex business judgment logic to realize the creation and flow of the process. Summary of the Invention
[0003] This application provides a business process flow method, apparatus, device, and computer storage medium, which can effectively manage business processes while reducing development difficulty.
[0004] In a first aspect, embodiments of this application provide a business process flow method, which includes:
[0005] Obtain the process flow record of the target process instance. The process flow record includes the current process node of the target process instance and the target submission type corresponding to the current process node.
[0006] Based on the target submission type, determine the list of approval roles;
[0007] Submit the next process node of the current process node to the target approval role in the approval role list.
[0008] In some possible implementations, a list of approval roles is determined based on the target submission type, including:
[0009] If the target submission type is the first submission type, determine the list of approval roles from the first agency, which is the agency where the current process node is located;
[0010] If the target submission type is the second submission type, determine the list of approval roles from the superior agency of the first agency;
[0011] When the target submission type is the third submission type, the list of approval roles is determined according to the preset submission rules.
[0012] In some possible implementations, the workflow log also includes historical approval comments, submitting the next workflow node of the current workflow node to the target approval role in the approval role list, including:
[0013] Based on historical approval opinions, the target approval role is determined from the list of approval roles;
[0014] Submit the next process node of the current process node to the target approval role in the approval role list.
[0015] In some possible implementations, the process flow record of the target process instance is obtained, including:
[0016] Receive the first input for the business primary key corresponding to the target process instance;
[0017] In response to the first input, retrieve the process flow record.
[0018] In some possible implementations, after determining the list of approval roles, the business process flow method also includes:
[0019] Receive user edit input at the current process node;
[0020] Configure the flow actions of the target flow instance in response to edit input;
[0021] Execution process actions.
[0022] In some possible implementations, the business process flow method may further include the following before obtaining the flow record of the target process instance:
[0023] Obtain process configuration information;
[0024] Based on the process configuration information, determine the target process template;
[0025] Create a target process instance based on the target process template and process configuration information.
[0026] In some possible implementations, the process configuration information includes the process's business attribute information and the basic information of the configuration personnel; based on the process configuration information, the target process template is determined, including:
[0027] Identify the second organization corresponding to the basic information of the personnel;
[0028] Determine a list of target process templates corresponding to the second agency, and the list of target process templates shall include at least the target process templates;
[0029] The target process template is determined from the list of target process templates, and the business attribute information of the target process template is matched with the business attribute information in the process configuration information.
[0030] In some possible implementations, after determining the second agency corresponding to the basic information of the configured personnel, the following is also included:
[0031] If it is determined that there is no applicable process template for the second organization, a list of target process templates corresponding to the second organization is determined, including:
[0032] Identify at least one superior organization corresponding to the second organization;
[0033] Based on at least one superior organization corresponding to the second organization, at least one first process template is determined, and the applicable organization for the first process template is at least one superior organization.
[0034] Based on at least one first process template, determine a list of target process templates.
[0035] Secondly, embodiments of this application provide a business process flow apparatus, which includes:
[0036] The acquisition module is used to acquire the process flow record of the target process instance. The process flow record includes the current process node of the target process instance and the target submission type corresponding to the current process node.
[0037] The determination module is used to determine the list of approval roles based on the target submission type;
[0038] The submission module is used to submit the next process node of the current process node to the target approval role in the approval role list.
[0039] Thirdly, embodiments of this application provide a business process flow device, which includes:
[0040] Processor and memory storing computer program instructions;
[0041] When the processor executes the computer program instructions, it implements the business process flow method provided in any of the embodiments of this application described above.
[0042] Fourthly, embodiments of this application provide a computer storage medium storing computer program instructions, which, when executed by a processor, implement the business process flow method provided in any of the above embodiments of this application.
[0043] Fifthly, embodiments of this application provide a computer program product, wherein when the instructions in the computer program product are executed by the processor of an electronic device, the electronic device performs the business process flow method provided in any of the embodiments of this application described above.
[0044] The business process flow method, apparatus, device, and computer storage medium of this application embodiment obtain the flow record of a target process instance, determine the current process node of the target process instance and the target submission type to the next process node, and then determine an approval role list based on the target submission type. This allows the next process node of the current process node to be submitted to the target approval role in the approval role list. The business process flow method, apparatus, device, and computer storage medium provided in this application embodiment can realize the flow between process nodes by obtaining the flow record of a process instance. It does not require complex business judgment logic and can effectively manage business processes while reducing development difficulty. Attached Figure Description
[0045] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0046] Figure 1 This is a schematic diagram of a business process flow method provided in an embodiment of this application;
[0047] Figure 2 This is a schematic diagram of a scenario embodiment of the business process flow method provided in this application;
[0048] Figure 3 This is a second schematic diagram of a scenario embodiment of the business process flow method provided in this application;
[0049] Figure 4 This is a schematic diagram of the structure of a business process flow device provided in an embodiment of this application;
[0050] Figure 5 This is a schematic diagram of the structure of a business process flow device provided in an embodiment of this application. Detailed Implementation
[0051] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.
[0052] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.
[0053] It should be understood that the acquisition, storage, use, and processing of data in the technical solution of this application all comply with the relevant provisions of national laws and regulations.
[0054] As described in the background section, current business process flow typically uses well-known process engines on the market, such as jbpm, activiti, flowable, and osworkflow. These engines embed business logic into the workflow for execution, requiring the development of complex business judgment logic to achieve process creation and flow.
[0055] To address the problems of the prior art, embodiments of this application provide a business process flow method, apparatus, device, storage medium, and computer program product. It should be noted that the embodiments provided in this application are not intended to limit the scope of this application.
[0056] The business process flow method provided in the embodiments of this application will be introduced first below.
[0057] Figure 1 This illustration shows one of the flowcharts illustrating a business process flow method according to an embodiment of this application. This business process flow method is applied to an electronic device, which may include a server or a user terminal, etc. Figure 1 As shown, this business process flow method includes the following steps:
[0058] S110, Obtain the process flow record of the target process instance. The process flow record may include the current process node of the target process instance and the target submission type corresponding to the current process node.
[0059] S120, Determine the list of approval roles based on the target submission type;
[0060] S130: Submit the next process node of the current process node to the target approval role in the approval role list.
[0061] The business process flow method in this application embodiment obtains the flow record of a target process instance, determines the current process node of the target process instance and the target submission type to the next process node, and then determines an approval role list based on the target submission type. This allows the next process node of the current process node to be submitted to the target approval role in the approval role list. The business process flow method provided in this application embodiment can realize the flow between process nodes by obtaining the flow record of a process instance. It does not require complex business judgment logic, and can effectively manage business processes while reducing development difficulty.
[0062] The specific implementation methods of steps 110 to 130 above will be described in detail below.
[0063] In S110, in specific implementation, after the target process instance is created, the target process instance will flow to multiple process nodes according to the corresponding target process template, so that relevant approvers can approve the target process instance at different nodes.
[0064] In this embodiment, after the target process instance completes the processing task at a certain process node, a corresponding process processing record can be generated under that process node. Also, for process nodes that have not performed process task processing on the target process instance, a relevant mark indicating that the process node has not been processed will be added accordingly.
[0065] Thus, when an approver finishes the approval process at the current node and needs to move the process to the next node, the process flow record of the target process instance can be obtained based on the relevant index identifier of the target process instance, such as the process instance ID. The process flow record can include the current process node of the target process instance and the target submission type corresponding to the current process node.
[0066] For example, the target process instance mentioned above needs to go through the process task processing of ten process nodes. The current process node can be the third process node. In addition, the process flow record also includes the target submission type that needs to be selected when flowing from the third process node to the fourth process node.
[0067] In some implementations, obtaining the process flow record of the target process instance mentioned above may include:
[0068] Receive the first input for the business primary key corresponding to the target process instance;
[0069] In response to the first input, retrieve the process flow record.
[0070] Therefore, when it is necessary to obtain the process flow record of the target process instance, the process flow record can also be obtained based on the above business primary key.
[0071] It should be noted that the above business primary key can reflect the uniqueness of the progress of the target process instance from a business perspective.
[0072] The aforementioned first input can be a user's click, double-click, or other operation on the business key on the display interface; this application does not impose any specific restrictions on it.
[0073] In S120, in specific implementation, the list of approval roles can be determined based on the target submission type corresponding to the current process node in the above process flow record.
[0074] Specifically, the list of approval roles determined based on the target submission type may include:
[0075] If the target submission type is the first submission type, determine the list of approval roles from the first agency. The first agency can be the agency where the current process node is located.
[0076] If the target submission type is the second submission type, determine the list of approval roles from the superior agency of the first agency;
[0077] When the target submission type is the third submission type, the list of approval roles is determined according to the preset submission rules.
[0078] In a specific implementation, as an example, the first organization mentioned above can be the head office A. When the target submission type is the first submission type, the approver 1 under the current process node can directly select the target submission type as the first submission type, thereby obtaining the list of approval roles corresponding to the target process instance in the next process node. The approval roles in this list belong to the head office A, just like the approver 1.
[0079] As another example, the first organization mentioned above can be a subordinate organization B directly under the head office A. When the target submission type is the second submission type, the approver 2 of the current process node in the subordinate organization B can directly select the second submission type as the target submission type, thereby obtaining the list of approval roles in the head office A of the subordinate organization B.
[0080] As another example, the first institution mentioned above can be an institution C. When the target submission type is the third submission type, the approver 3 of the current process node in institution C can determine the list of approval roles in the specific department of the specific institution D according to the preset submission rules (e.g., the next process node is submitted to a specific department of a specific institution D).
[0081] In S130, in specific implementation, after the approver of the current process node determines the list of approval roles, the approver can randomly select a target approval role from the list of approval roles, and then submit the next process node of the current process node to the target approval role in the list of approval roles.
[0082] In some embodiments, the above-mentioned process flow record may further include historical approval comments, and the submission of the next process node of the current process node to the target approval role in the approval role list may include:
[0083] Based on historical approval opinions, the target approval role is determined from the list of approval roles;
[0084] Submit the next process node of the current process node to the target approval role in the approval role list.
[0085] It should be noted that the aforementioned historical approval opinions may come from the various approvers under the process nodes that have completed the process processing tasks corresponding to the target process instance, or they may come directly from the creator of the target process template.
[0086] The aforementioned historical approval opinions may include, but are not limited to, instructions in the form of text, codes, numbers, etc.
[0087] Specifically, as an example, the above historical approval record could be: Please give the following to the Finance Minister 4 in Headquarters A.
[0088] Thus, when the next process node of the target process instance needs to be submitted to Head Office A, Finance Manager 4 can be selected as the target approval role from the approval roles that all belong to Head Office A in the approval role list.
[0089] Based on this, the next process node of the current process node is submitted to the target approval role in the approval role list, so that the target approval role can approve the target process instance of the next process node.
[0090] In some implementations, to ensure the flexibility of business process flow and the diversity of process attribute maintenance, this application also provides a custom extension scheme for process actions. Specifically, after determining the list of approval roles, the business process flow method may further include:
[0091] Receive user edit input at the current process node;
[0092] Configure the flow actions of the target flow instance in response to edit input;
[0093] Execution process actions.
[0094] The aforementioned process actions may include at least one of the following: countersigning, additional signing, supplementary signing, notification, expediting, withdrawal, circulation, etc.
[0095] The aforementioned editing input may include text input, voice input, or touch click input, etc., and this application does not impose specific limitations on this.
[0096] For example, the above-mentioned process action can specifically be signing. When the parameters of the current process node are displayed, the user can configure the relevant parameters of the current process node through touch input, thereby configuring the signing and approval role for the next process node of the target process instance.
[0097] Thus, after configuring the signature and approval roles, in addition to submitting the next process node of the current process node to the target approval role in the approval role list, the target process instance will also be submitted to the aforementioned signature and approval roles.
[0098] In this embodiment, by receiving the user's edit configuration of the current process node parameters, the user can customize and extend the process node, effectively ensuring the flexibility of business process flow and the diversity of process attribute maintenance.
[0099] In some implementations, to ensure the proper creation of the target process instance, the business process flow method may further include the following before obtaining the flow record of the target process instance:
[0100] Obtain process configuration information;
[0101] Based on the process configuration information, determine the target process template;
[0102] Create a target process instance based on the target process template and process configuration information.
[0103] Specifically, the aforementioned process configuration information can be filled in and uploaded by the relevant configuration personnel. In this way, the corresponding target process template can be determined based on the process configuration information uploaded by the configuration personnel, thereby realizing the creation of the target process instance.
[0104] In some implementations, the aforementioned process configuration information may include the process's business attribute information and the basic information of the configuration personnel; based on the process configuration information, the target process template is determined, which may include:
[0105] Identify the second organization corresponding to the basic information of the personnel;
[0106] Determine a list of target process templates corresponding to the second agency. The list of target process templates shall include at least the target process templates.
[0107] The target process template is determined from the list of target process templates, and the business attribute information of the target process template is matched with the business attribute information in the process configuration information.
[0108] It should be noted that the basic information of the personnel mentioned above may include, but is not limited to, at least one of the following: personnel name, affiliated organization, affiliated department and position. This application does not impose any specific restrictions on this.
[0109] The aforementioned business attribute information may include the business category corresponding to the process, such as financial reporting, goodwill assessment, etc.
[0110] Specifically, as an example, if the configured personnel are employees of sub-organization B, then the sub-organization B to which the configured personnel belong can be determined as the aforementioned second organization based on the basic information of the configured personnel.
[0111] After identifying the sub-organization B corresponding to the basic information of the personnel, a list of target process templates corresponding to sub-organization B can be further determined.
[0112] The target process template list may include at least one target process template.
[0113] In this embodiment, process templates applicable to the aforementioned sub-organization B can be selected first, and then a list of target process templates can be generated based on the process templates applicable to the aforementioned sub-organization B.
[0114] Thus, if the business attribute information in the above process configuration information is of the goodwill calculation type, then select the process template with the business attribute information of the goodwill calculation type from the target process template list and use it as the target process template.
[0115] It should be noted that in some other embodiments, the above process configuration information may only include the above business attribute information or the basic information of the configuration personnel. In this way, the corresponding target process template can be determined based on the corresponding business attribute information or the basic information of the configuration personnel, thereby realizing the creation of the target process instance.
[0116] In some implementations, considering that some sub-organizations do not have specific process templates, in order to improve the flexibility of process creation, after determining the second organization corresponding to the basic information of the configured personnel, it may also include:
[0117] If it is determined that there is no applicable process template for the second organization, a list of target process templates corresponding to the second organization shall be determined, which may include:
[0118] Identify at least one superior organization corresponding to the second organization;
[0119] Based on at least one superior organization corresponding to the second organization, at least one first process template is determined, and the applicable organization for the first process template can be at least one superior organization.
[0120] Based on at least one first process template, determine a list of target process templates.
[0121] In a specific implementation, for example, a process template library can be set up in advance. This process template library contains multiple pre-created process templates, and each process template corresponds to its applicable organization. For example, the applicable organization for process template a is sub-organization B.
[0122] Thus, by searching the process template library, it can be determined whether a process template applicable to the aforementioned second organization is included.
[0123] If the search results show that there is no process template applicable to the second organization, then at least one superior organization of the second organization can be identified, and then the process template applicable to the at least one superior organization can be identified, thereby obtaining a list of target process templates corresponding to the second organization.
[0124] It should be noted that the above are merely examples and do not substantially limit the scope of protection of this application. In other embodiments, each organization may pre-create a corresponding process template library. In this way, when determining whether a process template applicable to an organization C is included, the system can directly check whether the process template is included in the process template library belonging to organization C, thereby determining the subsequent target process template list.
[0125] To facilitate understanding of the business process flow method provided in the above embodiments, the following describes the above business process flow method using a specific scenario embodiment.
[0126] Please see below. Figure 2 and Figure 3 , Figure 2 This is one of the schematic diagrams illustrating a scenario embodiment of the business process flow method provided in this application. Figure 3 This is a schematic diagram of a scenario embodiment of the business process flow method provided in this application.
[0127] The application scenario of this example can be: staff in sub-organization B need to create a financial reimbursement process and complete the approval of the created financial reimbursement process instance.
[0128] like Figure 2 and Figure 3 As shown, this scenario embodiment may specifically include the following steps:
[0129] Step 210: Obtain process configuration information.
[0130] Specifically, the staff member can upload the process configuration information of the target process instance to be created to the relevant electronic device. The process configuration information may include the basic information of the configuration personnel and business attribute information.
[0131] Step 220: Determine the second organization corresponding to the basic information of the personnel.
[0132] For example, if the basic personnel information uploaded by the staff member includes the staff member's affiliated organization B, then the second organization corresponding to the basic personnel information can be identified as sub-organization B.
[0133] Step 230: Determine the target process template list corresponding to the second agency. The target process template list shall include at least the target process template.
[0134] Specifically, after identifying the second organization as sub-organization B, at least one applicable process template corresponding to sub-organization B can be queried, and a target process template list can be generated based on the at least one process template. For example, if the applicable process templates corresponding to sub-organization B are process template 1, process template 2, and process template 3, then the target process template list generated based on the applicable process templates corresponding to sub-organization B includes: process template 1, process template 2, and process template 3.
[0135] Step 240: Determine the target process template from the target process template list. The business attribute information of the target process template matches the business attribute information in the process configuration information.
[0136] Specifically, after determining the target process template list, from at least one process template included in the target process template list, select the process template whose business attribute information matches the business attribute information in the above process configuration information, and use it as the target process template to realize the creation of the target process instance.
[0137] For example, if the target process template list includes Process Template 1, Process Template 2, and Process Template 3, where Process Template 1 corresponds to the goodwill calculation category, Process Template 2 corresponds to the expense reimbursement category, and Process Template 3 corresponds to the employee leave category, and the business attribute information in the obtained process configuration information is also for expense reimbursement, then Process Template 2 can be selected from the target process template list as the target process template based on the same business attribute, thus creating a target process instance.
[0138] Step 310: Obtain the process flow record of the target process instance. The process flow record includes the current process node of the target process instance and the target submission type corresponding to the current process node.
[0139] Specifically, after creating a target process instance, it is necessary to transfer workflows between the various process nodes corresponding to that target process instance. In practical applications, after the approver at the current process node completes the workflow approval task at that node, the workflow needs to be transferred to the next process node corresponding to the target process instance.
[0140] At this point, the process flow record of the target process instance can be obtained through the business primary key. Through the obtained process flow record, it can be known which node of the target process instance the current process node corresponds to, for example, the second process node, as well as the submission type to be selected when the current process node flows to the next process node, for example, the first submission type.
[0141] Steps 321, 322, or 323 (whichever can be selected based on the workflow configuration in the target workflow template above) can be executed. Specifically, step 321: if the target submission type is the first submission type, determine the list of approval roles from the first organization, where the first organization is the organization where the current workflow node is located; step 322: if the target submission type is the second submission type, determine the list of approval roles from the superior organization of the first organization; step 323: if the target submission type is the third submission type, determine the list of approval roles according to the preset submission rules.
[0142] For example, taking the above-determined submission type as the first submission type, step 321 is performed below.
[0143] In practice, if the current process node is the second process node and the organization where the second process node is located is the head office A, then if the target submission type is the first submission type, the corresponding approval role list can be determined from the personnel in the head office A.
[0144] It should be understood that for the specific implementation of steps 322 and 323, please refer to the corresponding content mentioned above, and this application will not repeat it here.
[0145] Step 330: Submit the next process node of the current process node to the target approval role in the approval role list.
[0146] For example, the above-mentioned list of approval roles may include candidate approver 1, candidate approver 2 and candidate approver 3 in the head office A. After obtaining the list of approval roles, the approver under the current process node can select at least one approver as the target approval role. For example, candidate approver 3 can be randomly selected as the target approval role. In this way, the next process node of the current process node is submitted to the above-mentioned candidate approver 3 so that approver 3 can perform the process approval task of the next process node.
[0147] In this scenario embodiment, when creating a target process instance, the target process template is determined through process configuration information. This allows the creation of the target process instance based on the template. After the target process instance is generated, the flow records of the process instance can be obtained to realize the flow between process nodes. This embodiment provides a business process flow method that eliminates the need for complex business judgment logic, effectively managing business processes while reducing development difficulty.
[0148] It should be noted that the above scenario embodiments are merely one implementation of a business process flow method provided by this application, and do not substantially limit the scope of protection of this application.
[0149] Based on the business process flow method provided in the above embodiments, this application also provides a business process flow device corresponding to the above business process flow method. The following describes... Figure 4 A detailed introduction to the business process flow device is provided.
[0150] Figure 4 A schematic diagram of the structure of a business process flow device provided in an embodiment of this application is shown.
[0151] Figure 4 The business process flow device 400 shown includes:
[0152] The acquisition module 410 is used to acquire the process flow record of the target process instance. The process flow record includes the current process node of the target process instance and the target submission type corresponding to the current process node.
[0153] Module 420 is used to determine the list of approval roles based on the target submission type;
[0154] Submission module 430 is used to submit the next process node of the current process node to the target approval role in the approval role list.
[0155] The business process flow device of this application embodiment, through corresponding functional modules, can obtain the flow record of a target process instance, determine the current process node of the target process instance and the target submission type to the next process node, and thus determine an approval role list based on the target submission type. This allows the next process node of the current process node to be submitted to the target approval role in the approval role list. The business process flow device provided in this application embodiment can realize the flow between process nodes by obtaining the flow record of a process instance. It does not require complex business judgment logic, and can effectively manage business processes while reducing development difficulty.
[0156] In some implementations, module 420 is defined, which may specifically include:
[0157] The first determination submodule can be used to determine the list of approval roles from the first organization when the target submission type is the first submission type. The first organization can be the organization where the current process node is located.
[0158] The second determination submodule can be used to determine the list of approval roles from the superior agency of the first agency when the target submission type is the second submission type.
[0159] The third determination submodule can be used to determine the list of approval roles based on preset submission rules when the target submission type is the third submission type.
[0160] In some implementations, the workflow record may also include historical approval comments. Submission module 430 may specifically include:
[0161] The fourth sub-module can be used to determine the target approval role from the list of approval roles based on historical approval opinions;
[0162] The Submit submodule can be used to submit the next process node of the current process node to the target approval role in the approval role list.
[0163] In some implementations, module 410 can specifically include:
[0164] The first receiving submodule can be used to receive the first input of the business primary key corresponding to the target process instance;
[0165] The first acquisition submodule can be used to acquire process flow records in response to the first input.
[0166] In some implementations, to ensure the flexibility of business process flow and the diversity of process attribute maintenance, this application also provides a custom extension scheme for process actions. Specifically, after determining the list of approval roles, the business process flow device may further include:
[0167] The second receiving submodule can be used to receive user edit input at the current process node;
[0168] The configuration submodule can be used to configure the flow actions of the target flow instance in response to edit input;
[0169] The execution submodule can be used to execute process actions.
[0170] In some implementations, to ensure the proper creation of the target process instance, the business process flow device may further include the following before obtaining the flow record of the target process instance:
[0171] The configuration information acquisition module can be used to acquire process configuration information;
[0172] The process template determination module can be used to determine the target process template based on process configuration information;
[0173] The process instance creation module can be used to create a target process instance based on the target process template and process configuration information.
[0174] In some implementations, the process configuration information may include the process's business attributes and the basic information of the personnel configuring it; the process template determination module may specifically include:
[0175] The fifth determination submodule can be used to determine the second organization corresponding to the basic information of the configured personnel;
[0176] The sixth determination submodule can be used to determine the target process template list corresponding to the second agency. The target process template list can include at least the target process template.
[0177] The seventh determination submodule can be used to determine the target process template from the target process template list. The business attribute information of the target process template is matched with the business attribute information in the process configuration information.
[0178] In some implementations, considering that some sub-organizations do not have specific process templates, after determining the second organization corresponding to the basic information of the configured personnel, it may also include:
[0179] If it is determined that there is no applicable process template for the second agency, the sixth determination sub-module may specifically include:
[0180] The first determining unit can be used to determine at least one superior unit corresponding to the second unit;
[0181] The second determining unit can be used to determine at least one first process template based on at least one superior organization corresponding to the second organization. The applicable organization for the first process template can be at least one superior organization.
[0182] The third determining unit can be used to determine a list of target process templates based on at least one first process template.
[0183] Figure 5 This is a schematic diagram of the structure of a business process flow device provided in an embodiment of this application.
[0184] The business process flow device may include a processor 501 and a memory 502 storing computer program instructions.
[0185] Specifically, the processor 501 may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.
[0186] Memory 502 may include mass storage for data or instructions. For example, and not limitingly, memory 502 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 502 may include removable or non-removable (or fixed) media. Where appropriate, memory 502 may be internal or external to the integrated gateway disaster recovery device. In a particular embodiment, memory 502 is non-volatile solid-state memory.
[0187] Memory may include read-only memory (ROM), random access memory (RAM), disk storage media devices, optical storage media devices, flash memory devices, and electrical, optical, or other physical / tangible memory storage devices. Therefore, typically, memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the methods according to one aspect of this disclosure.
[0188] The processor 501 reads and executes computer program instructions stored in the memory 502 to implement any of the business process flow methods in the above embodiments.
[0189] In one example, the data service workflow device may also include a communication interface 503 and a bus 510. For example, Figure 5 As shown, the processor 501, memory 502, and communication interface 503 are connected through bus 510 and complete communication with each other.
[0190] The communication interface 503 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this application.
[0191] Bus 510 includes hardware, software, or both, that couples components of a workflow device together. For example, and not limitingly, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 510 may include one or more buses. Although specific buses are described and illustrated in embodiments of this application, this application contemplates any suitable bus or interconnect.
[0192] The business process flow device executes the business process flow method in the embodiments of this application, thereby achieving... Figure 1 Describes the business process flow method.
[0193] Furthermore, in conjunction with the business process flow methods in the above embodiments, this application embodiment can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the business process flow methods in the above embodiments.
[0194] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.
[0195] The functional blocks shown in the above-described structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0196] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. However, this application is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0197] The aspects of this disclosure have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by special-purpose hardware performing the specified functions or actions, or can be implemented by a combination of special-purpose hardware and computer instructions.
[0198] The above description is merely a specific implementation of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.
Claims
1. A business process flow method, characterized in that, include: Obtain process configuration information; Based on the process configuration information, the target process template is determined; Based on the target process template and the process configuration information, create a target process instance; The process configuration information includes the process's business attribute information and the basic information of the configuration personnel; The step of determining the target process template based on the process configuration information includes: Determine the second organization corresponding to the basic information of the configured personnel; Determine a list of target process templates corresponding to the second organization, wherein the list of target process templates includes at least the target process templates; The target process template is determined from the target process template list, and the business attribute information of the target process template is matched with the business attribute information in the process configuration information; Obtain the process flow record of the target process instance. The process flow record includes the current process node of the target process instance, the target submission type corresponding to the current process node, and the historical approval opinions. The historical approval opinions come from each approver under the process node corresponding to the target process instance that has completed the process processing task. Based on the target submission type, a list of approval roles will be determined; Based on the historical approval opinions, the target approval role is determined from the list of approval roles; Submit the next process node of the current process node to the target approval role; The process of determining the list of approval roles based on the target submission type includes: If the target submission type is the first submission type, the list of approval roles is determined from the first organization, where the first organization is the organization where the current process node is located; If the target submission type is the second submission type, the list of approval roles is determined from the superior agency of the first agency; When the target submission type is the third submission type, the list of approval roles is determined according to the preset submission rules; After the target process instance completes the processing task of the process node, for process nodes that have not been processed for the target process instance, a relevant mark indicating that the process node has not been processed is added.
2. The method according to claim 1, characterized in that, The process flow record of the target process instance is obtained as follows: Receive the first input for the business primary key corresponding to the target process instance; In response to the first input, the process flow record is obtained.
3. The method according to any one of claims 1 or 2, characterized in that, After determining the list of approval roles, the method further includes: Receive user edit input at the current process node; In response to the edit input, configure the process action of the target process instance; Perform the described process actions.
4. The method according to claim 1, characterized in that, After determining the second organization corresponding to the basic information of the configured personnel, the method further includes: If it is determined that there is no applicable process template for the second organization, the step of determining the target process template list corresponding to the second organization includes: Identify at least one superior organization corresponding to the second organization; Based on at least one superior organization corresponding to the second organization, at least one first process template is determined, wherein the applicable organization for the first process template is the at least one superior organization. Based on the at least one first process template, the target process template list is determined.
5. A business process flow device, characterized in that, The device includes: The configuration information acquisition module is used to acquire process configuration information; The process template determination module is used to determine the target process template based on the process configuration information; the process configuration information includes the business attribute information of the process and the basic information of the configuration personnel. The process instance creation module is used to create a target process instance based on the target process template and the process configuration information; The process template determination module is specifically used for: Determine the second organization corresponding to the basic information of the configured personnel; Determine a list of target process templates corresponding to the second organization, wherein the list of target process templates includes at least the target process templates; The target process template is determined from the target process template list, and the business attribute information of the target process template is matched with the business attribute information in the process configuration information; The acquisition module is used to acquire the process flow record of the target process instance. The process flow record includes the current process node of the target process instance, the target submission type corresponding to the current process node, and the historical approval opinions. The historical approval opinions come from each approver under the process node corresponding to the target process instance that has completed the process processing task. The determination module is used to determine a list of approval roles based on the target submission type; and to determine a target approval role from the list of approval roles based on the historical approval opinions. The submission module is used to submit the next process node of the current process node to the target approval role in the approval role list; The first determining submodule is used to determine the list of approval roles from the first organization when the target submission type is the first submission type, wherein the first organization is the organization where the current process node is located; The second determining submodule is used to determine the list of approval roles from the superior agency of the first agency when the target submission type is the second submission type. The third determination submodule is used to determine the list of approval roles according to preset submission rules when the target submission type is the third submission type. The processing module is used to mark process nodes that have not been processed by the target process instance after the target process instance has completed the processing tasks of the process nodes.
6. A business process flow device, characterized in that, The device includes: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, it implements the business process flow method as described in any one of claims 1-4.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions, which, when executed by a processor, implement the business process flow method as described in any one of claims 1-4.
8. A computer program product, characterized in that, When the instructions in the computer program product are executed by the processor of the electronic device, the electronic device performs the business process flow method as described in any one of claims 1-4.