Workflow processing method, electronic equipment and computer readable storage medium
By receiving task processing requests, determining target configurations, and obtaining workflow information and historical processing information, the workflow is processed automatically, solving the problem of low efficiency in existing technologies and achieving efficient workflow processing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-29
- Publication Date
- 2026-04-10
AI Technical Summary
The existing workflow processing efficiency is low, especially when the service scale increases, manual processing becomes inefficient.
By receiving task processing requests, determining target configurations, obtaining workflow information and historical processing information, and based on this information, determining processing methods, the workflow is processed automatically, reducing manual intervention.
It improves the efficiency of workflow processing, reduces the workload of manual processing, and achieves efficient automated processing.
Smart Images

Figure CN121836622A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of workflow, in particular to a workflow processing method, an electronic device and a computer readable storage medium. BACKGROUND
[0002] In an information management system, in order to standardize the workflow, the creation and distribution of tasks and processing are often implemented through a workflow. Workflow processing involves processing of multiple links and a large number of processes.
[0003] In the existing workflow processing, a fixed processing personnel processes at different task nodes, which means that the processing personnel needs to manually process at different task nodes. However, as the service scale becomes larger and the workflow becomes more complex, the manual processing method has the defect of low processing efficiency.
[0004] At present, no effective solution has been proposed for the above problems. SUMMARY
[0005] Embodiments of the present application provide a workflow processing method, an electronic device and a computer readable storage medium, to at least solve the technical problem of low efficiency of workflow processing in the related art.
[0006] According to an aspect of an embodiment of the present application, a workflow processing method is provided, including: in the case of receiving a task processing request, determining a target configuration of a to-be-processed workflow based on the task processing request, wherein the task processing request is used to request processing of a task in the to-be-processed workflow, and the target configuration is used to represent whether to automatically process the task; in the case that the target configuration is to automatically process the task, obtaining workflow information and historical processing information of the to-be-processed workflow, wherein the historical processing information is used to represent information of processing the to-be-processed workflow in a historical time period; obtaining a processing mode of the to-be-processed workflow based on the workflow information and the historical processing information; and processing the to-be-processed workflow based on the processing mode.
[0007] Optionally, obtaining the processing mode of the to-be-processed workflow based on the workflow information and the historical processing information includes: extracting operation information of a processing object from the historical processing information, wherein the processing object is an object having processing authority for the task; and determining the processing mode based on the operation information and the workflow information.
[0008] Optionally, determining the processing mode based on the operation information and the workflow information includes: determining a processing success probability of the to-be-processed workflow based on the operation information, wherein the processing success probability is used to represent a probability of successfully processing the to-be-processed workflow; and determining the processing mode based on the processing success probability and the workflow information.
[0009] Optionally, the processing mode is determined based on the processing success probability and the workflow information, including: in a case that the processing success probability is greater than a preset threshold, determining the processing mode based on the workflow information and a preset rule base; and in a case that the processing success probability is not greater than the preset threshold, determining the processing mode based on the workflow information and the task processing request.
[0010] Optionally, the processing mode is determined based on the workflow information and the preset rule base, including: obtaining a target processing rule matched with the workflow information from the preset rule base based on the workflow information; and determining the processing mode based on the target processing rule.
[0011] Optionally, the processing mode is determined based on the workflow information and the task processing request, including: determining a processing object based on the task processing request; generating a processing message based on the workflow information; sending the processing message to the processing object and receiving a processing mode returned by the processing object; and adjusting the processing mode based on a feedback result returned by the processing object, to obtain a new processing mode.
[0012] Optionally, after the processing mode is determined based on the workflow information and the preset rule base, the method further includes: generating a prompt message based on the workflow information and the processing mode; sending the prompt message to the processing object and receiving a feedback result returned by the processing object, wherein the processing object is determined based on the task processing request; adjusting the processing mode based on the feedback result, to obtain a new processing mode; and processing the to-be-processed workflow based on the new processing mode.
[0013] According to another aspect of the embodiments of the present application, an electronic device is provided, including: a memory storing an executable program; and a processor configured to execute the program, wherein the program, when executed, performs the method in the embodiments of the present application.
[0014] According to another aspect of the embodiments of the present application, a computer readable storage medium is provided, including a stored executable program, wherein the executable program, when executed, controls a device where the computer readable storage medium is located to perform the method in the embodiments of the present application.
[0015] According to another aspect of the embodiments of the present application, a computer program product is provided, including a computer program, wherein the computer program, when executed by a processor, implements the method in the embodiments of the present application.
[0016] According to another aspect of the embodiments of the present application, a computer program product is provided, including a non-volatile computer readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the method in the embodiments of the present application.
[0017] According to another aspect of the embodiments of the present application, there is also provided a computer program which, when executed by a processor, implements the method in any of the embodiments of the present application.
[0018] In the embodiments of the present application, in the case that a task processing request is received, the target configuration of the to-be-processed workflow is determined based on the task processing request, and in the case that the target configuration is automatic processing of the task, the workflow information and the historical processing information of the to-be-processed workflow are obtained, and then the processing mode of the to-be-processed workflow is obtained based on the workflow information and the historical processing information, so that the to-be-processed workflow is processed based on the processing mode. After the task processing request is received, since the task processing request is used to request processing of the task in the to-be-processed workflow, it is timely determined whether the task is automatically processed, and in the case that the task is automatically processed, the workflow information and the historical processing information of the to-be-processed workflow are obtained, so as to comprehensively determine the processing mode by combining the workflow information and the historical processing information of the to-be-processed workflow in the historical processing period, thereby efficiently processing the to-be-processed workflow, reducing the workload of manual processing, achieving the purpose of improving the processing efficiency, thereby realizing the technical effect of improving the workflow processing efficiency, and further solving the technical problem of low efficiency of workflow processing in the related art. BRIEF DESCRIPTION OF DRAWINGS
[0019] The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application. In the drawings:
[0020] Figure 1 is a flowchart of a workflow processing method according to an embodiment of the present application;
[0021] Figure 2 is a schematic diagram of a workflow processing device according to an embodiment of the present application. DETAILED DESCRIPTION
[0022] In order for those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the accompanying drawings of the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor should fall within the scope of protection of the present application.
[0023] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not necessarily limit to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0024] In the technical solution of the present application, the collection, storage, use, processing, transmission, provision and disclosure of financial data or user data and other information comply with relevant laws and regulations and do not violate public order and good customs.
[0025] It should be noted that in the embodiments of the present application, some software, components, models and other existing solutions in the industry may be mentioned, which should be considered as exemplary, and the purpose is only to illustrate the feasibility of the implementation of the technical solution of the present application, but does not mean that the applicant has or will necessarily use the solution.
[0026] According to the embodiments of the present application, a method embodiment of a workflow processing method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described herein can be executed in an order different from that shown herein.
[0027] Figure 1 is a flowchart of a workflow processing method according to an embodiment of the present application, as shown in Figure 1 The method comprises the following steps:
[0028] Step S102, in the case of receiving a task processing request, determining the target configuration of the to-be-processed workflow based on the task processing request.
[0029] The task processing request is used to request processing of the task in the to-be-processed workflow, and the target configuration is used to represent whether to automatically process the task.
[0030] The aforementioned task processing requests can refer to requests initiated by application operators or automatically generated by the system. The purpose of a task processing request is to initiate a workflow requiring an approval process. Task processing requests may include, but are not limited to, workflow type, applicant information, and the specific content of the application. The task processing request triggers the approval process, thereby determining the next action—the processing method for the approval node—based on predefined rules or intelligent algorithms, ensuring that service operations proceed according to rules and procedures.
[0031] The aforementioned pending workflows refer to workflows in the information system awaiting approval or further processing. Pending workflows represent the real-time status of the approval process, facilitating understanding of workflow progress and historical approval information, thereby enabling more accurate and rapid decision-making. Simultaneously, pending workflows provide the context for executing automated approvals or manual reviews, serving as the vehicle for achieving intelligent approval.
[0032] The aforementioned target configuration refers to a set of instructions or rules determined based on specific task processing requests during workflow processing, guiding the system on how to handle related tasks. Target configuration encompasses multiple aspects, including the degree of automation, processing paths, and conditional judgments, and is a core component of automated workflow processing. Target configuration allows for different configurations to be determined based on different scenarios and requests, improving processing efficiency while ensuring accuracy and rationality. Target configuration may include, but is not limited to, automated configurations for automatic or manual processing, and configuration conditions. Configuration conditions set conditional branches based on different attributes of the workflow to be processed (such as service type, applicant, urgency), guiding the workflow to the correct processing path. Determining target configuration can improve the level of automation and efficiency while reducing the burden of manual processing. By setting appropriate target configurations, it can be ensured that workflows to be processed receive a rapid response, while complex or sensitive workflows are guided to appropriate manual processing procedures.
[0033] In one optional embodiment, the task processing request can be parsed to determine the identifier of the workflow to be processed. This identifier can be a unique identifier of the workflow to be processed, a service type code, or a combination of workflow states, etc. Using this identifier, the configuration content related to the workflow to be processed can be accurately located, thereby determining the target configuration of the workflow to be processed from a preset configuration based on this identifier.
[0034] In another alternative embodiment, a machine learning model can be trained using historical approval data. When a task processing request is received, the machine learning model can predict the target configuration based on the request. The machine learning model can be a random forest, support vector machine, or neural network, etc. Once the model is trained, upon receiving a task processing request, the machine learning model can quickly extract key features of the request, such as the applicant, application type, and application parameters, and input them into the model for real-time prediction. The model will output one or more prediction results, including the probability of approval, the likelihood of referral to a specific approver, and suggestions for manual review. These prediction results form the basis for predicting the target configuration. Based on the prediction results, a specific target configuration is generated and applied to the workflow to be processed, such as executing automated processing or issuing a request for manual review.
[0035] Step S104: If the target is configured to automatically process tasks, obtain the workflow information and historical processing information of the workflow to be processed.
[0036] Among them, historical processing information is used to represent the information on the processing of the workflow to be processed within a historical time period.
[0037] The workflow information mentioned above can describe the workflow to be processed. Workflow information includes, but is not limited to, workflow type, initiator information, content details, current status, and identifiers of pending and processed nodes. Workflow information is a crucial basis for approval decisions and the foundation for matching and judgment by automated approval modules. Workflow information provides data for subsequent approvals, ensuring that approvers or the system have a comprehensive understanding of the workflow's background, status, and requirements, making it a key data source for achieving efficient and accurate approvals.
[0038] The aforementioned historical processing information refers to the approval information accumulated by the workflow in its historical approval process. Historical processing information may include, but is not limited to, processing results (approved, rejected, etc.), processing time, and approval comments. This information can be used to analyze approval behavior patterns, predict future approval decisions, or for the learning of automated approval modules. Historical processing information can not only improve approval decisions but also serve as training data for automated approval algorithms to better understand approval rules and patterns, thereby improving the accuracy and efficiency of decision-making.
[0039] In one optional embodiment, when automatic processing of the task is confirmed, blockchain technology is used to record and retrieve workflow information and historical processing information. The distributed nature of blockchain ensures that the processing information of the workflow to be processed is securely stored on multiple nodes in the network, each node capable of verifying the authenticity of the information. This not only ensures the transparency and immutability of the approval process but also allows approvers and applicants to easily view the approval status and historical records at any time.
[0040] In another alternative embodiment, the target configuration can be treated as an event. When an event listener detects that the target configuration is set to automatically process a task, an information retrieval process is automatically triggered, such as retrieving workflow information and historical processing information from a database. This ensures real-time response to task processing requests. The instant response characteristic of the event-driven architecture improves the real-time nature and reliability of the approval process. By reducing approval delays, services can be processed more quickly, improving user satisfaction and internal work efficiency.
[0041] Step S106: Based on workflow information and historical processing information, obtain the processing method for the workflow to be processed.
[0042] The aforementioned processing methods refer to the types of decisions made for pending workflows. These methods can be automated (e.g., rule-based automatic approval or rejection) or manual (e.g., transferring to another person for processing). The processing method determines the next step in the pending workflow. By appropriately setting processing methods, approval processes can be simplified and service efficiency improved.
[0043] In one optional embodiment, the rule engine can handle complex logic by parsing workflow information, such as workflow type, applicant information, and application details, as well as historical processing information, such as past approval results, approval timelines, and the preferences of specific approvers, to automatically infer the processing method. The rule engine relies on a rule set for inference. The rule set can be dynamically adjusted to adapt to changes in internal enterprise rules and the external environment. By matching preset rules, the rule engine automatically makes judgments, such as automatically approving, automatically rejecting, or forwarding to specific approvers, thereby improving approval efficiency and accuracy and reducing human resource consumption.
[0044] In another alternative embodiment, machine learning techniques can analyze large amounts of historical processing information to identify patterns and trends in approval decisions, thereby providing predictive recommendations for the approval of workflows to be processed. By training a classifier based on feature vectors of workflow information (such as applicant's historical behavior, workflow type, approval cycle, etc.) and labels of historical processing information (approval methods such as approval, rejection, and transfer), the machine learning model can learn the correlation between approval decisions and these features, predicting the processing method. Intelligent classification can not only accelerate the approval process but also provide personalized recommendations based on the approver's past decision-making habits, improving the consistency of approval decisions.
[0045] Step S108: Process the workflow to be processed based on the processing method.
[0046] In one optional embodiment, the workflow to be processed can be handled differently depending on the processing method. If the processing method is approval, the workflow to be processed will automatically move to the next stage. If the processing method is rejection or needs to be transferred to someone else, the corresponding operation will be performed according to the processing method. This process greatly simplifies the approval process, reduces the burden of manual processing, and speeds up the workflow.
[0047] In another alternative embodiment, corresponding processing instructions can be determined based on the processing method to process the workflow to be processed. The processing instructions can automatically process the workflow to drive it. These instructions are applicable when handling a large number of standardized task processing requests, ensuring that similar workflows receive consistent processing and reducing processing discrepancies caused by human factors. Furthermore, processing methods can be recorded, increasing the transparency of the processing flow.
[0048] In this embodiment of the invention, upon receiving a task processing request, the target configuration of the workflow to be processed is determined based on the task processing request. If the target configuration is to automatically process tasks, the workflow information and historical processing information of the workflow to be processed are obtained. Based on the workflow information and historical processing information, the processing method of the workflow to be processed is obtained, and thus, the workflow to be processed is processed according to the processing method. Upon receiving a task processing request, since the task processing request is used to request processing of tasks in the workflow to be processed, it is promptly determined whether to automatically process the task. If the task is to be automatically processed, the workflow information and historical processing information of the workflow to be processed are obtained. By combining the workflow information and the historical processing information of the workflow to be processed within a historical time period, a comprehensive determination of the processing method is made, thereby efficiently processing the workflow to be processed, reducing the workload of manual processing, and achieving the goal of improving processing efficiency. This achieves the technical effect of improving workflow processing efficiency and solves the technical problem of low workflow processing efficiency in related technologies.
[0049] Optionally, based on workflow information and historical processing information, the processing method of the workflow to be processed is obtained, including: extracting the operation information of the processing object from the historical processing information, wherein the processing object is an object with processing authority over the task; and determining the processing method based on the operation information and workflow information.
[0050] The aforementioned processing objects can refer to entities with approval or processing authority over specific tasks or workflows. In enterprise service processes, processing objects can be approvers, department heads, project managers, etc. Processing objects can be defined based on service type, workflow attributes, and other factors.
[0051] The aforementioned operational information refers to the specific actions recorded by the processing entity during the approval or operation of a task. Operational information may include, but is not limited to, operation results such as approval, rejection, and transfer, as well as the time, reason, and additional explanations of the operation. By analyzing operational information, it is possible to identify which approval decisions are predictable, thereby improving processes and reducing redundant approval steps. The accumulation of operational information helps build models of approval behavior, providing data support for automated approval.
[0052] In one optional embodiment, approval behavior data can be accumulated to provide data support for subsequent intelligent decision-making. Analysis of historical processing information helps to analyze the approval efficiency and patterns of the workflow to be processed, such as predicting approval methods, such as automatic approval, manual approval, or transfer to specific processing objects for approval. Then, based on operation information and workflow information, the characteristics of the workflow to be processed can be analyzed, and the approval method for the workflow to be processed can be intelligently determined, reducing the burden of manual approval and improving approval efficiency.
[0053] Optionally, the processing method is determined based on operation information and workflow information, including: determining the success probability of processing the workflow to be processed based on operation information, wherein the success probability is used to characterize the probability of successfully processing the workflow to be processed; and determining the processing method based on the success probability and workflow information.
[0054] The aforementioned success probability refers to the probability, based on operational information, that the workflow to be processed has been successfully processed (e.g., approved) in the historical processing history within an automated approval process. Quantitatively assessing the likelihood of the workflow being processed correctly provides a basis for automated approval decisions.
[0055] In one alternative embodiment, operational information can be statistically analyzed to quantify decision-making criteria, providing a quantitative basis for automated decision-making. Utilizing historical experience to predict the possible approval outcomes of current pending workflows helps determine in advance whether they can be processed directly through automation without human intervention. By analyzing the success rate, high-risk or uncertain workflows can be identified, thereby determining whether human review is necessary and avoiding potential errors that might result from automated processing.
[0056] Then, by combining workflow information (such as applicant, service type, etc.) and the probability of successful processing, the processing method can be determined, achieving both efficient and accurate approval. This allows reviewers to focus on high-risk or uncertain workflows, while automating routine and low-risk workflows, effectively allocating human resources and improving overall approval efficiency. Considering the specific characteristics of different workflows, personalized processing methods can be implemented based on specific circumstances such as workflow information.
[0057] Optionally, the processing method is determined based on the success probability and workflow information, including: when the success probability is greater than a preset threshold, the processing method is determined based on workflow information and a preset rule base; when the success probability is not greater than the preset threshold, the processing method is determined based on workflow information and task processing request.
[0058] In one optional embodiment, when the probability of successfully processing a pending workflow, obtained by analyzing historical processing information, exceeds a pre-set threshold (e.g., 80%), this indicates high reliability of automated approval, reducing manual intervention and saving approvers' time and effort. In this case, pending workflows can be automatically processed based on workflow information (such as applicant information, application type, application parameters, etc.) and a preset rule base. The preset rule base may include various approval conditions and rules for automated approval, enabling automatic judgment and processing of workflows based on the rules base without manual approval. The preset rule base can be manually specified or generated through statistical identification of workflows.
[0059] If the success rate is lower than or equal to a preset threshold, it indicates that the reliability of automatic approval is not high, and there may be uncertainties or special circumstances, requiring manual approval to ensure accuracy. In this case, manual processing may be necessary, with the decision made based on workflow information and task processing requests to approve, reject, or transfer the task to another person.
[0060] Optionally, based on workflow information and a preset rule base, the processing method is determined, including: based on workflow information, obtaining target processing rules that match the workflow information from the preset rule base; and determining the processing method based on the target processing rules.
[0061] In one optional embodiment, during automated processing, rules matching the workflow information can be searched in a preset rule base. This matching mechanism reduces the workload of manual approval and speeds up the approval process. The preset rule base is set in advance by the administrator or reviewer and includes the processing methods to be adopted in different scenarios. For example, for leave applications within a specific scope, automatic approval can be directly set without manual intervention. After finding a rule that matches the workflow information, the workflow can be processed according to the target processing rule, i.e., determining the specific approval result or the next step in the process. This ensures the accuracy and consistency of processing and avoids unfairness or inefficiency that may arise from differences in human judgment. For example, if the target processing rule is set to "Applicant B applies for annual leave of 3 days or less, automatic approval", then this rule will be executed automatically, approving eligible applications without manual review, thereby saving time and improving efficiency.
[0062] Optionally, based on workflow information and task processing requests, the processing method is determined, including: determining the processing object based on the task processing request; generating a processing message based on workflow information; sending the processing message to the processing object; and receiving the processing method returned by the processing object.
[0063] The aforementioned processing messages refer to information sent to specific processing objects during the automated workflow approval process, based on custom rules and data analysis results, to inform them of the status of the pending workflow. Processing messages may include, but are not limited to, information about the pending workflow and task details, such as the applicant, application content, application time, and approval history. Processing messages improve transparency, ensuring that reviewers can promptly understand the processing status of all approval requests, including the decision-making basis and results of automated approvals.
[0064] In one alternative embodiment, identifying the personnel who need to process specific workflow tasks ensures that subsequent approval or processing operations are accurately sent to the entity responsible for the task. Specifically, by analyzing task processing requests, it is possible to intelligently determine which reviewer is currently responsible for processing the task. This avoids incorrect task allocation, ensures the correct processor handles the task, thereby accelerating processing speed and improving approval efficiency.
[0065] Then, based on the workflow information, a processing message containing the necessary approval information is constructed so that the recipient can clearly understand the details and background of the task and make the correct approval decision. Generating a processing message ensures that information related to the workflow to be processed is accurately conveyed to the recipient, avoiding approval delays or errors caused by missing or misunderstandings of information.
[0066] After the generated processing message is passed to the designated processing object, the processing object performs the approval operation and waits for feedback on the processing method. This automates the transmission and feedback of task approval, allowing the processing object to make its own approval decision upon receiving the processing message.
[0067] Optionally, after determining the processing method based on workflow information and a preset rule base, the above method further includes: generating a prompt message based on workflow information and processing method; sending the prompt message to the processing object and receiving feedback results returned by the processing object, wherein the processing object is determined based on the task processing request; adjusting the processing method based on the feedback results to obtain a new processing method; and processing the workflow to be processed based on the new processing method.
[0068] The aforementioned notification messages can be used to inform the user of the approval results or matters requiring further processing. These messages may include, but are not limited to, the processing method (approved, rejected, or transferred to another party), the pending workflow (such as applicant, application type, application parameters, etc.), and feedback options or guidance for further action provided to the user. Notification messages enhance transparency and interactivity, ensuring the user has a clear understanding of the automated approval results, while providing a feedback mechanism to allow the user to confirm, correct, or supplement the results. This helps maintain the accuracy and fairness of the approval process, avoids potential errors or improper approvals, and allows for real-time adjustments to the processing method based on user feedback, improving approval efficiency and user experience.
[0069] In one alternative embodiment, after automatically approving pending workflows, a notification message can be generated to ensure that the processing object is promptly informed of the preliminary approval result. In this way, the processing object can quickly grasp the current status of pending workflows without manually checking each workflow, saving time and effort.
[0070] Then, a notification message is sent to the processing recipient, providing a mechanism for them to confirm or correct the automated approval, ensuring the accuracy and impartiality of the final approval. By introducing human review by the processing recipient, errors that may arise from automated processing can be checked and corrected, while also allowing the processing recipient to adjust the processing method according to specific circumstances, such as transferring the workflow to a more suitable approver.
[0071] After receiving feedback from the users being processed, the automated processing results can be adjusted based on this feedback, improving the accuracy and efficiency of future processing. This feedback loop mechanism helps learn the correct processing methods. By continuously adjusting these methods, the system can more accurately match actual approval needs, reduce the frequency of manual intervention, and improve the level of automated approval. Therefore, processing the workflow based on the new methods ensures continuous improvement of the approval process.
[0072] The technical solution proposed in this application will be described below with reference to an optional embodiment. This application proposes a processing system that includes an automatic workflow approval module. Before the workflow is passed to the reviewer, it first enters the reviewer's custom automatic workflow approval module, where it automatically processes the data according to the reviewer's preset rules, reducing the reviewer's workload. Of course, after the automatic approval module completes its processing, a notification message can be sent to the reviewer informing them of the result. If the reviewer has any objections, they can recall the workflow or modify the rules of the automatic approval module at any time.
[0073] The automated approval module for this process can perform the following functions:
[0074] Processing rules can be customized based on the application identifier, workflow service type, and specific content within the workflow. Specific rule elements can also include the organization's attributes, the organization's location, the workflow type, and specific parameter attributes within the workflow. For example, processing rules could be set to automatically approve applicant B's application for up to 3 days of annual leave, or automatically forward applicant C's application for up to 6 days of business trip to reviewer D for processing.
[0075] After accumulating historical data over a long period, the probability of an auditor approving a request under each scenario can be calculated. Alternatively, an auditor can set a probability threshold: if the historical probability is greater than 80%, the request is automatically approved; otherwise, it is returned to the auditor for manual processing. For example, statistics on the processing of applicant D's business trip application (within 5 days) show an 87% approval rate, a 10% rejection rate, and a 3% probability of choosing someone else to handle the request.
[0076] According to an embodiment of the present invention, a device embodiment of a workflow processing apparatus is provided. It should be noted that the apparatus can be used to execute the above-described workflow processing method. The specific implementation scheme and application scenario of this embodiment are the same as those of the above embodiments, and will not be repeated here.
[0077] Figure 2 This is a schematic diagram of a workflow processing method apparatus according to an embodiment of this application, as shown below. Figure 2 As shown, the device includes the following:
[0078] The determination module 20 is used to determine the target configuration of the workflow to be processed based on the task processing request when a task processing request is received; wherein, the task processing request is used to request the processing of tasks in the workflow to be processed, and the target configuration is used to characterize whether the task is processed automatically.
[0079] The acquisition module 22 is used to acquire the workflow information and historical processing information of the workflow to be processed when the target is configured as an automatic processing task. The historical processing information is used to represent the information of the workflow to be processed within a historical time period.
[0080] Analysis module 24 is used to determine the processing method of the workflow to be processed based on workflow information and historical processing information.
[0081] Processing module 26 is used to process the workflow to be processed based on the processing method.
[0082] Optionally, the analysis module is also used to extract operation information of the processing object from historical processing information, wherein the processing object is an object that has processing authority over the task; and to determine the processing method based on the operation information and workflow information.
[0083] Optionally, the analysis module is also used to determine the success probability of processing the workflow to be processed based on the operation information, wherein the success probability is used to characterize the probability of successfully processing the workflow to be processed; and to determine the processing method based on the success probability and the workflow information.
[0084] Optionally, the analysis module is also used to determine the processing method based on workflow information and a preset rule base when the success probability is greater than a preset threshold; and to determine the processing method based on workflow information and task processing requests when the success probability is not greater than a preset threshold.
[0085] Optionally, the analysis module is also used to obtain target processing rules that match the workflow information from a preset rule base based on the workflow information; and to determine the processing method based on the target processing rules.
[0086] Optionally, the analysis module is also used to determine the processing object based on the task processing request; generate a processing message based on the workflow information; send the processing message to the processing object; and receive the processing method returned by the processing object.
[0087] Optionally, the above apparatus further includes: a feedback module, used to generate a prompt message based on workflow information and processing method; send the prompt message to the processing object and receive the feedback result returned by the processing object, wherein the processing object is determined based on the task processing request; adjust the processing method based on the feedback result to obtain a new processing method; and process the workflow to be processed based on the new processing method.
[0088] Embodiments of this application also provide an electronic device, including: a memory storing an executable program; and a processor for running the program, wherein the program executes the methods in various embodiments of the present invention during runtime.
[0089] Embodiments of this application also provide a computer-readable storage medium including a stored executable program, wherein, when the executable program is running, it controls the device where the computer-readable storage medium is located to perform the methods of various embodiments of the present invention.
[0090] Embodiments of this application also provide a computer program product, including a computer program that, when executed by a processor, implements the methods of various embodiments of the present invention.
[0091] Embodiments of this application also provide a computer program product, including a non-volatile computer-readable storage medium for storing a computer program that, when executed by a processor, implements the methods in various embodiments of the present invention.
[0092] Embodiments of this application also provide a computer program that, when executed by a processor, implements the methods described in the various embodiments of the present invention.
[0093] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0094] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.
[0095] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0096] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0097] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0098] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A workflow processing method, characterized in that, include: Upon receiving a task processing request, a target configuration for the workflow to be processed is determined based on the task processing request, wherein the task processing request is used to request processing of the tasks in the workflow to be processed, and the target configuration is used to characterize whether the tasks are processed automatically. When the target is configured to automatically process the task, the workflow information and historical processing information of the workflow to be processed are obtained, wherein the historical processing information is used to represent the information of the workflow to be processed within a historical time period. Based on the workflow information and the historical processing information, the processing method for the workflow to be processed is obtained; The workflow to be processed is processed based on the aforementioned processing method.
2. The method according to claim 1, characterized in that, Based on the workflow information and the historical processing information, the processing method for the workflow to be processed is obtained, including: Extract operation information of the processing object from the historical processing information, wherein the processing object is an object that has processing authority over the task; The processing method is determined based on the operation information and the workflow information.
3. The method according to claim 2, characterized in that, Based on the operation information and the workflow information, the processing method is determined, including: Based on the operation information, the success probability of processing the workflow to be processed is determined, wherein the success probability is used to characterize the probability of successfully processing the workflow to be processed. The processing method is determined based on the processing success probability and the workflow information.
4. The method according to claim 3, characterized in that, Determining the processing method based on the processing success probability and the workflow information includes: If the success rate of processing is greater than a preset threshold, the processing method is determined based on the workflow information and the preset rule base. If the success probability of processing is not greater than the preset threshold, the processing method is determined based on the workflow information and the task processing request.
5. The method according to claim 4, characterized in that, Based on the workflow information and the preset rule base, the processing method is determined, including: Based on the workflow information, target processing rules that match the workflow information are obtained from the preset rule base; The processing method is determined based on the target processing rules.
6. The method according to claim 4, characterized in that, Based on the workflow information and the task processing request, the processing method is determined, including: The processing object is determined based on the task processing request; Generate processing messages based on the workflow information; The processing message is sent to the processing object, and the processing method returned by the processing object is received.
7. The method according to claim 4, characterized in that, After determining the processing method based on the workflow information and the preset rule base, the method further includes: A prompt message is generated based on the workflow information and the processing method; The prompt message is sent to the processing object, and the feedback result returned by the processing object is received, wherein the processing object is determined based on the task processing request; Based on the feedback results, the processing method is adjusted to obtain a new processing method; The workflow to be processed is processed based on the new processing method.
8. An electronic device, characterized in that, include: Memory, which stores executable programs; A processor for running the program, wherein the program, when running, performs the method according to any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored executable program, wherein, when the executable program is executed, it controls the device on which the storage medium is located to perform the method according to any one of claims 1 to 7.
10. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method according to any one of claims 1 to 7.