CN116703143A - Workflow configuration method, device, equipment and medium - Google Patents

Workflow configuration method, device, equipment and medium Download PDF

Info

Publication number
CN116703143A
CN116703143A CN202310769092.9A CN202310769092A CN116703143A CN 116703143 A CN116703143 A CN 116703143A CN 202310769092 A CN202310769092 A CN 202310769092A CN 116703143 A CN116703143 A CN 116703143A
Authority
CN
China
Prior art keywords
flow
configuration information
workflow
configuration
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310769092.9A
Other languages
Chinese (zh)
Inventor
邓丽丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
CCB Finetech Co Ltd
Original Assignee
China Construction Bank Corp
CCB Finetech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202310769092.9A priority Critical patent/CN116703143A/en
Publication of CN116703143A publication Critical patent/CN116703143A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Educational Administration (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The disclosure provides a workflow configuration method, a workflow configuration device, workflow configuration equipment and a workflow configuration medium, which can be applied to the technical field of computers. The method comprises the following steps: configuring workflow parameters associated with the target business scenario, wherein the workflow parameters include a first parameter associated with an operation object of the flow node and a second parameter associated with the flow branch; configuring a flow branch based on the second parameter and a preset operator to obtain first configuration information; configuring the flow node operation object based on the first parameter and a preset operator to obtain second configuration information; and generating a flow configuration file based on the first configuration information and the second configuration information so as to deploy the workflow based on the flow configuration file.

Description

Workflow configuration method, device, equipment and medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a workflow configuration method, apparatus, device, and medium.
Background
The workflow management system is widely applied to various working scenes of collaborative offices, such as: personnel management, financial management, business management, administration management, project management and the like can help enterprises to promote efficiency and manage in a standard manner by effectively implementing workflow management, so that the purposes of shortening the operation period of the enterprises, improving the internal and external processes of the enterprises, optimizing and reasonably utilizing resources, reducing task errors, avoiding delaying the enterprise workflow management are achieved, the daily operation of the enterprises is promoted, and the continuous growth of the enterprise efficiency and income is ensured.
In the implementation process of the present disclosure, it is found that, process management is embedded in a service system, the service system does not support an online drawing deployment process, and the process cannot be flexibly modified according to service requirements. The operation object is configured, and the operation object is specifically developed according to specific service requirements during system development, so that the requirement change under various complex scenes can not be flexibly met.
Disclosure of Invention
In view of the foregoing, the present disclosure provides a workflow configuration method, apparatus, device, medium, and program product.
According to a first aspect of the present disclosure, there is provided a workflow configuration method, comprising:
configuring workflow parameters associated with the target business scenario, wherein the workflow parameters include a first parameter associated with an operation object of the flow node and a second parameter associated with the flow branch;
configuring a flow branch based on the second parameter and a preset operator to obtain first configuration information;
configuring an operation object of the flow node based on the first parameter and a preset operator to obtain second configuration information; and
a flow configuration file is generated based on the first configuration information and the second configuration information to deploy the workflow based on the flow configuration file.
According to an embodiment of the present disclosure, the first parameter includes an attribute parameter of the operation object;
the method comprises the steps of configuring an operation object of a flow node based on a first parameter and a preset operator to obtain second configuration information, wherein the second configuration information comprises the following steps:
configuring attribute parameters of the operation object to obtain attribute information of the target operation object;
combining the attribute information of the target operation object with a preset operator to obtain a first rule expression;
and obtaining second configuration information based on the first rule expression.
According to an embodiment of the present disclosure, wherein generating the flow configuration file based on the first configuration information and the second configuration information to deploy the workflow process based on the flow configuration file is determined, further comprising:
configuring the operation type of the operation executed by the operation object to obtain third configuration information;
and generating a flow configuration file based on the first configuration information, the second configuration information and the third configuration information so as to deploy the workflow based on the flow configuration file.
According to an embodiment of the disclosure, configuring a flow branch based on a second parameter and a preset operator to obtain first configuration information includes:
combining the second parameter with a preset operator to obtain a second rule expression;
And obtaining the first configuration information based on the second rule expression.
According to an embodiment of the present disclosure, in the case where it is determined that the type of the first parameter or the second parameter is numerical, the preset operator includes at least one of: greater than, equal to, not equal to, less than, greater than or equal to, less than or equal to.
According to an embodiment of the present disclosure, in case that the type of the first parameter or the second parameter is determined to be the target type, the preset operator includes at least one of: equal to, not equal to;
wherein the target type includes a string type or dictionary item.
According to an embodiment of the present disclosure, generating a flow configuration file based on first configuration information and second configuration information includes:
drawing a workflow flow chart according to the first configuration information and the second configuration information;
and generating a flow configuration file according to the workflow flow chart.
According to an embodiment of the present disclosure, the workflow configuration method further includes:
based on the flow configuration file, a target workflow and a target operator corresponding to the flow configuration file are determined.
A second aspect of the present disclosure provides a workflow configuration apparatus, comprising:
a first configuration module for configuring workflow parameters associated with a target business scenario, wherein the workflow parameters include a first parameter associated with an operation object of a flow node and a second parameter associated with a flow branch;
The second configuration module is used for configuring the flow branch based on the second parameter and a preset operator to obtain first configuration information;
the third configuration module is used for configuring the flow node operation object based on the first parameter and a preset operator to obtain second configuration information; and
the first generating module is used for generating a flow configuration file based on the first configuration information and the second configuration information so as to deploy workflow based on the flow configuration file.
A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the workflow configuration method described above.
A fourth aspect of the present disclosure also provides a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the above-described workflow configuration method.
A fifth aspect of the present disclosure also provides a computer program product comprising a computer program which, when executed by a processor, implements the workflow configuration method described above.
According to an embodiment of the present disclosure, workflow parameters associated with a target business scenario are configured; based on workflow parameters and preset operators, configuration of the workflow branches and the flow nodes can be realized, the workflow parameters can be customized according to service requirements, the flow branches and the flow node operation objects can be customized, the flexibility of flow configuration is greatly expanded, the method is suitable for more complex and flexible service scenes, and the method can flexibly modify the flow and flexibly select the flow node operation objects according to the service requirements under various complex service scenes.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be more apparent from the following description of embodiments of the disclosure with reference to the accompanying drawings, in which:
FIG. 1 schematically illustrates an application scenario diagram of workflow configuration methods, apparatuses, devices, media and program products according to embodiments of the present disclosure;
FIG. 2 schematically illustrates a flow chart of a workflow configuration method according to an embodiment of the disclosure;
FIG. 3 schematically illustrates a flow chart of a method for configuring an operation object of a flow node based on a first parameter and a preset operator to obtain second configuration information according to an embodiment of the disclosure;
FIG. 4 schematically illustrates a flow chart of a workflow configuration method according to another embodiment of the disclosure;
FIG. 5 schematically illustrates a block diagram of a workflow configuration apparatus according to an embodiment of the disclosure; and
fig. 6 schematically illustrates a block diagram of an electronic device adapted to implement a workflow configuration method according to an embodiment of the disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is only exemplary and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and/or the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It should be noted that the terms used herein should be construed to have meanings consistent with the context of the present specification and should not be construed in an idealized or overly formal manner.
Where expressions like at least one of "A, B and C, etc. are used, the expressions should generally be interpreted in accordance with the meaning as commonly understood by those skilled in the art (e.g.," a system having at least one of A, B and C "shall include, but not be limited to, a system having a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
In the technical scheme of the disclosure, the related data (such as including but not limited to personal information of a user) are collected, stored, used, processed, transmitted, provided, disclosed, applied and the like, all conform to the regulations of related laws and regulations, necessary security measures are adopted, and the public welcome is not violated.
In the technical scheme of the embodiment of the disclosure, the authorization or consent of the user is obtained before the personal information of the user is obtained or acquired.
In the implementation process of the present disclosure, it is found that, based on the approval system of the workflow engine, the flow logic parameter and the business flow modeling symbol parameter are parsed by the parser to perform flow design, and then a flow instance is obtained, and the task is processed by the flow instance. Aiming at the overall integrated system framework, after a task is issued to a designated person, the designated person fills out a report and submits the report, the task is in an unobscured state, an approver receives the report and approves the report, the approval passes, the report filling state is that the report passes, the approval of the approver fails, the flow returns to the submitter to re-fill the report, the flow design is simple, the method is suitable for workflow approval of a single-line flow, and the auditor cannot flexibly select.
The embodiment of the disclosure provides a workflow configuration method, which comprises the following steps: configuring workflow parameters associated with the target business scenario, wherein the workflow parameters include a first parameter associated with an operation object of the flow node and a second parameter associated with the flow branch; configuring a flow branch based on the second parameter and a preset operator to obtain first configuration information; configuring the flow node operation object based on the first parameter and a preset operator to obtain second configuration information; and generating a flow configuration file based on the first configuration information and the second configuration information so as to deploy the workflow based on the flow configuration file.
Fig. 1 schematically illustrates an application scenario diagram of a workflow configuration method, apparatus, device, medium and program product according to an embodiment of the present disclosure.
As shown in fig. 1, the application scenario 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 is a medium used to provide a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 through the network 104 using at least one of the first terminal device 101, the second terminal device 102, the third terminal device 103, to receive or send messages, etc. Various communication client applications, such as a shopping class application, a web browser application, a search class application, an instant messaging tool, a mailbox client, social platform software, etc. (by way of example only) may be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103.
The first terminal device 101, the second terminal device 102, the third terminal device 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (by way of example only) providing support for websites browsed by the user using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and process the received data such as the user request, and feed back the processing result (e.g., the web page, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that, the workflow configuration method provided by the embodiments of the present disclosure may be generally performed by the server 105. Accordingly, the workflow configuration apparatus provided by the embodiments of the present disclosure may be generally provided in the server 105. The workflow configuration method provided by the embodiments of the present disclosure may also be performed by a server or a server cluster that is different from the server 105 and is capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and/or the server 105. Accordingly, the workflow configuration apparatus provided by the embodiments of the present disclosure may also be provided in a server or a server cluster that is different from the server 105 and is capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103 and/or the server 105.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
The workflow configuration method of the disclosed embodiment will be described in detail below by way of fig. 2 to 4 based on the scenario described in fig. 1.
Fig. 2 schematically illustrates a flow chart of a workflow configuration method according to an embodiment of the disclosure.
As shown in fig. 2, the workflow configuration method 200 of this embodiment includes operations S210 to S240.
In operation S210, workflow parameters associated with the target business scenario are configured, wherein the workflow parameters include a first parameter associated with an operation object of the flow node and a second parameter associated with the flow branch.
According to an embodiment of the disclosure, the workflow parameters associated with the target service scenario may be configured according to the target service requirement, to define a parameter variable, i.e., a second parameter, according to which the flow branch is selected, and to define a parameter variable, i.e., a first parameter, according to which the flow node operation object is selected. The types can be three types of numerical values, character strings and dictionary items. When the type is a dictionary item, a specific dictionary item is also defined, which is not specifically limited herein. The parameter variables may be represented by parameter variable names and types. Configuring workflow parameters associated with a target business scenario may enhance the scalability of target business requirements and the flexibility of flow configuration.
In operation S220, the flow branch is configured based on the second parameter and the preset operator, so as to obtain the first configuration information.
According to embodiments of the present disclosure, the preset operators may be determined according to the type of workflow parameters. For example, the ratio may be equal to or greater than, equal to or less than, not equal to, less than, equal to or less than, or equal to or less than.
According to embodiments of the present disclosure, the second parameter may be combined with a preset operator to form a second rule expression. And configuring the flow branches according to the second rule expression to obtain first configuration information. Wherein the flow branches are used to characterize jumps from one flow node to the next. The first configuration information may be used to characterize conditions for selecting a jump from one flow node to the next.
In operation S230, the operation object of the flow node is configured based on the first parameter and the preset operator, so as to obtain second configuration information.
According to the embodiment of the disclosure, the first parameter and the preset operator may be combined to form the first rule expression. And configuring the operation object of the flow node according to the first rule expression to obtain second configuration information. The second configuration information may be used to characterize conditions for selecting an operational object of the flow node.
In operation S240, a flow configuration file is generated based on the first configuration information and the second configuration information, so that the workflow process is deployed based on the flow configuration file.
According to embodiments of the present disclosure, a workflow flow diagram may be drawn from the first configuration information and the second configuration information. And analyzing the workflow flow chart through the rule engine to obtain a flow configuration file. And reading the flow configuration file through the flow engine framework to obtain the workflow flow.
According to the embodiment of the disclosure, workflow parameters associated with a target business scene are configured; based on workflow parameters and preset operators, configuration of the workflow branches and the flow nodes can be realized, the workflow parameters can be customized according to service requirements, the flow branches and the flow node operation objects can be customized, the flexibility of flow configuration is greatly expanded, the method is suitable for more complex and flexible service scenes, and the method can flexibly modify the flow and flexibly select the flow node operation objects according to the service requirements under various complex service scenes.
Fig. 3 schematically illustrates a flowchart of a method for configuring an operation object of a flow node to obtain second configuration information based on a first parameter and a preset operator according to an embodiment of the present disclosure.
As shown in fig. 3, the method 330 of configuring the operation object of the flow node to obtain the second configuration information according to the first parameter and the preset operator in this embodiment includes operations S331 to S333.
In operation S331, the attribute parameters of the operation object are configured to obtain the attribute information of the target operation object.
According to an embodiment of the present disclosure, the first parameter may include an attribute parameter of the operation object. The attribute parameters of the operation object may include a department parameter to which the operation object belongs, a job position parameter to which the operation object belongs, a job number parameter of the operation object, and the like. The target operation object attribute information may include department information to which the target operation object belongs, position information to which the target operation object belongs, and employee number information. The department, the position and the employee number to which the operation object of each flow node belongs can be configured, so that the attribute information of the target operation object corresponding to each flow node is obtained.
In operation S332, the target operation object attribute information is combined with a preset operator to obtain a first rule expression.
According to the embodiment of the disclosure, the department information, the position information and the employee number information of the target operation object can be combined with a preset operator to obtain the first rule expression. Wherein, the preset operators may include: greater than, equal to, not equal to, less than, greater than or equal to, less than or equal to.
Wherein, in case that the type of the second parameter is determined to be a numerical value, the preset operator may include at least one of: greater than, equal to, not equal to, less than, greater than or equal to, less than or equal to. In the case where the type of the second parameter is determined to be a string type or a dictionary item, the preset operator may include at least one of: equal, unequal.
In operation S333, second configuration information is obtained based on the first rule expression.
According to the embodiment of the disclosure, the Spel rule engine may be used to parse the first rule expression to obtain the second configuration information.
According to the embodiment of the disclosure, based on considering that one important component of the workflow in the business system is the choice of the approver, the choice of the approver is mainly the choice of departments, positions and employee numbers of the approver, the workflow parameters can be determined according to business requirements, and then the operation object of the flow node is determined.
According to another embodiment of the present disclosure, the first rule expression may include a plurality. The target operation object attribute information may be combined with a preset operator to obtain a first rule expression, and then the first rule expression may be assembled by an operator of or, not, and the like to form a first composite expression.
For example, the first rule expression may include a first rule expression 1 and a first rule expression 2. The first rule expression 1 can be expressed as: { prearm: "amt", symbol: "<", postParm:200, nextlgc: "heat }, the first rule expression 2 may be expressed as: { prepam: "type", symbol: "=", postParm: "01", nextLgc: null }, the first composite expression may represent: (amt < 200) & (type= "01").
Fig. 4 schematically illustrates a flow chart of a workflow configuration method according to another embodiment of the disclosure.
As shown in fig. 4, the workflow configuration method 400 of this embodiment may include operations S410 to S420 in addition to operations S210 to S230.
In operation S410, the operation type of the operation performed by the operation object is configured, and third configuration information is obtained.
According to embodiments of the present disclosure, operation types may include withdraw, agree, disagree, withdraw to the sponsor, withdraw to the last node, and so forth. The operation types of withdrawing, agreeing, disagreeing, returning to the initiator, returning to the previous node and the like can be selected by user definition based on the specific service scene to perform configuration, so that third configuration information is obtained. The third configuration information is used for representing conditions selected when the operation object of the flow node executes the operation.
In operation S420, a flow configuration file is generated based on the first configuration information, the second configuration information, and the third configuration information, so as to deploy the workflow based on the flow configuration file.
According to embodiments of the present disclosure, a workflow flow may be drawn from the first configuration information, the second configuration information, and the third configuration information. And analyzing the workflow flow chart through the rule engine to obtain a flow configuration file. And reading the flow configuration file through the flow engine framework to obtain the workflow flow.
According to the embodiment of the disclosure, the operation type of the operation performed by the operation object can be configured, the operation type of the operation performed by the operation object of the flow node can be flexibly selected, and the workflow is jointly configured by combining the configuration of the operation object of the flow node and the configuration of the flow Cheng Fenzhi, so that the flexibility of the configuration of the flow is expanded.
According to an embodiment of the present disclosure, configuring a flow branch based on a second parameter and a preset operator to obtain first configuration information may include:
combining the second parameter with a preset operator to obtain a second rule expression; and obtaining the first configuration information based on the second rule expression.
According to an embodiment of the present disclosure, the second parameter may be a parameter variable according to which a flow branch selection is defined according to a target service requirement. The preset operators may include at least one of: greater than, equal to, not equal to, less than, greater than or equal to, less than or equal to.
Wherein, in the case that the type of the first parameter is determined to be a numerical value, the preset operator may include at least one of: greater than, equal to, not equal to, less than, greater than or equal to, less than or equal to. In the case where the type of the first parameter is determined to be a string type or a dictionary item, the preset operator may include at least one of: equal, unequal.
According to an embodiment of the present disclosure, the second rule expression may include a plurality of, for example, a second rule expression a, a second rule expression B, a second rule expression C, and the like. The second composite expression may be formed by combining the and, or, not, and etc operators between the respective second rule expressions. And resolving the second composite expression by adopting a Spel rule engine to obtain the first configuration information.
According to the embodiment of the disclosure, based on consideration of a general service scene, such as approval flow, instead of a straight line, different routes are provided according to different conditions, the flow branches can be configured based on the second parameters and preset operators, the self-defined flow branches are realized, the flexibility of flow configuration is expanded, the method is suitable for more complex and flexible service scenes, and the method can flexibly modify the flow branches according to service requirements under various complex service scene conditions.
According to an embodiment of the present disclosure, in a case where it is determined that the type of the first parameter or the second parameter is a numerical value, the preset operator may include at least one of: greater than, equal to, not equal to, less than, greater than or equal to, less than or equal to.
According to an embodiment of the present disclosure, in case that the type of the first parameter or the second parameter is determined to be the target type, the preset operator includes at least one of: equal to, not equal to;
wherein the target type includes a string type or dictionary item.
According to an embodiment of the present disclosure, generating a flow configuration file based on first configuration information and second configuration information includes:
drawing a workflow flow chart according to the first configuration information and the second configuration information;
and generating a flow configuration file according to the workflow flow chart.
According to the embodiment of the disclosure, the next flow node to which each flow node flows can be determined through the first configuration information, and the flow symbol is drawn between the flow node and the execution block diagram corresponding to the next flow node. The flow symbol may be a flow line with an arrow, and may be used to represent a traveling direction between each flow node. And determining the operation object of each flow node according to the second configuration information. The flow node is movable during the rendering process and the rendering operation can be undone and reset. The flow configuration file may be generated according to a workflow flow diagram. The workflow process may be generated by reading the process configuration file through the process engine framework.
For example, the flow configuration file may be a business flow modeling notation (BPMN) configuration file, and the BPMN configuration file may be read by a flow engine (flow) framework to generate a workflow.
According to the embodiment of the disclosure, the unique number can be configured to be bound with the service system through the flow configuration file, and the unique number can be embedded into various complex service systems with less development.
According to an embodiment of the present disclosure, the workflow configuration method may further include:
based on the flow configuration file, a target workflow and a target operator corresponding to the flow configuration file are determined.
According to the embodiment of the disclosure, the configuration information corresponding to all flow branches can be obtained according to the flow configuration file, and then the corresponding configuration information is calculated through the Spel engine to obtain the flow branch with a true calculation result, so that the target workflow is determined. And determining a target operator according to the configuration information of the operation object corresponding to the flow node in the target workflow. For example, in the process approval of the business system, the staff table can be queried according to the configuration information of the operation object to obtain the corresponding target candidate approver, namely the target operator.
According to the embodiment of the disclosure, based on the flow configuration file, determining the target workflow and the target operator corresponding to the flow configuration file, the flow can be deployed according to the target workflow and processed according to the target operator.
Based on the workflow configuration method, the disclosure further provides a workflow configuration device. The device will be described in detail below in connection with fig. 5.
Fig. 5 schematically shows a block diagram of a workflow configuration apparatus according to an embodiment of the disclosure.
As shown in fig. 5, the workflow configuration apparatus 500 of this embodiment includes a first configuration module 510, a second configuration module 520, a third configuration module 530, and a first generation module 540.
The first configuration module 510 is configured to configure workflow parameters associated with a target business scenario, wherein the workflow parameters include a first parameter associated with an operation object of a flow node and a second parameter associated with a flow branch. In an embodiment, the first configuration module 510 may be used to perform the operation S210 described above, which is not described herein.
The second configuration module 520 is configured to configure the flow branch based on the second parameter and a preset operator, so as to obtain the first configuration information. In an embodiment, the second configuration module 520 may be used to perform the operation S220 described above, which is not described herein.
The third configuration module 530 is configured to configure the operation object of the process node based on the first parameter and a preset operator, so as to obtain second configuration information. In an embodiment, the third configuration module 530 may be used to perform the operation S230 described above, which is not described herein.
The first generating module 540 is configured to generate a flow configuration file based on the first configuration information and the second configuration information, so as to deploy a workflow based on the flow configuration file. In an embodiment, the first generating module 540 may be used to perform the operation S240 described above, which is not described herein.
According to an embodiment of the present disclosure, the third configuration module 530 may include a configuration subunit, a first combining unit, and a first determination subunit.
The configuration subunit is used for configuring the attribute parameters of the operation object to obtain the attribute information of the target operation object.
The first combination unit is used for combining the attribute information of the target operation object with a preset operator to obtain a first rule expression.
The first determining subunit is configured to obtain the second configuration information based on the first rule expression.
According to an embodiment of the present disclosure, the second configuration module 520 includes a second combining unit and a second determining subunit.
The second combination unit is used for combining the second parameter with a preset operator to obtain a second rule expression.
The second determining subunit is configured to obtain the first configuration information based on the second rule expression.
As shown in fig. 5, the workflow configuration apparatus 500 of this embodiment may further include a fourth configuration module and a second generation module in addition to the first configuration module 510, the second configuration module 520, and the third configuration module 530.
The fourth configuration module is used for configuring the operation type of the operation executed by the operation object to obtain third configuration information. In an embodiment, the fourth configuration module may be used to perform the operation S410 described above, which is not described herein.
The second generating module is used for generating a flow configuration file based on the first configuration information, the second configuration information and the third configuration information so as to deploy the workflow based on the flow configuration file. In an embodiment, the fourth configuration module may be used to perform the operation S420 described above, which is not described herein.
According to an embodiment of the present disclosure, any of the first configuration module 510, the second configuration module 520, the third configuration module 530, and the first generation module 540 may be combined in one module to be implemented, or any of the modules may be split into a plurality of modules. Alternatively, at least some of the functionality of one or more of the modules may be combined with at least some of the functionality of other modules and implemented in one module. According to embodiments of the present disclosure, at least one of the first configuration module 510, the second configuration module 520, the third configuration module 530, and the first generation module 540 may be implemented at least in part as hardware circuitry, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system-on-chip, a system-on-substrate, a system-on-package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware in any other reasonable manner of integrating or packaging the circuitry, or in any one of or a suitable combination of any of the three implementations of software, hardware, and firmware. Alternatively, at least one of the first configuration module 510, the second configuration module 520, the third configuration module 530, and the first generation module 540 may be at least partially implemented as computer program modules that, when executed, perform the corresponding functions.
According to the embodiment of the disclosure, the flexible workflow configuration device can be provided based on the Flowable workflow engine and the Spel rule engine, and the configuration is simple and flexible and has strong expandability.
According to the embodiment of the disclosure, through the workflow configuration device provided by the disclosure, each business module can be independently embedded to carry out flexible flow configuration, so that the flexibility and configurability of business system workflow management are enhanced.
Fig. 6 schematically illustrates a block diagram of an electronic device adapted to implement a workflow configuration method according to an embodiment of the disclosure.
As shown in fig. 6, an electronic device 600 according to an embodiment of the present disclosure includes a processor 601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. The processor 601 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or an associated chipset and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. Processor 601 may also include on-board memory for caching purposes. The processor 601 may comprise a single processing unit or a plurality of processing units for performing different actions of the method flows according to embodiments of the disclosure.
In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are stored. The processor 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. The processor 601 performs various operations of the method flow according to the embodiments of the present disclosure by executing programs in the ROM 602 and/or the RAM 603. Note that the program may be stored in one or more memories other than the ROM 602 and the RAM 603. The processor 601 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in one or more memories.
According to an embodiment of the present disclosure, the electronic device 600 may also include an input/output (I/O) interface 605, the input/output (I/O) interface 605 also being connected to the bus 604. The electronic device 600 may also include one or more of the following components connected to the I/O interface 605: an input portion 606 including a keyboard, mouse, etc.; an output portion 607 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The drive 610 is also connected to the I/O interface 605 as needed. Removable media 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed as needed on drive 610 so that a computer program read therefrom is installed as needed into storage section 608.
The present disclosure also provides a computer-readable storage medium that may be embodied in the apparatus/device/system described in the above embodiments; or may exist alone without being assembled into the apparatus/device/system. The computer-readable storage medium carries one or more programs which, when executed, implement methods in accordance with embodiments of the present disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example, but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, according to embodiments of the present disclosure, the computer-readable storage medium may include ROM 602 and/or RAM 603 and/or one or more memories other than ROM 602 and RAM 603 described above.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowcharts. The program code, when executed in a computer system, causes the computer system to perform the methods provided by embodiments of the present disclosure.
The above-described functions defined in the system/apparatus of the embodiments of the present disclosure are performed when the computer program is executed by the processor 601. The systems, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
In one embodiment, the computer program may be based on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted, distributed in the form of signals over a network medium, and downloaded and installed via the communication section 609, and/or installed from the removable medium 611. The computer program may include program code that may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program may be downloaded and installed from a network through the communication portion 609, and/or installed from the removable medium 611. The above-described functions defined in the system of the embodiments of the present disclosure are performed when the computer program is executed by the processor 601. The systems, devices, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
According to embodiments of the present disclosure, program code for performing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, such computer programs may be implemented in high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. Programming languages include, but are not limited to, such as Java, c++, python, "C" or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that the features recited in the various embodiments of the disclosure and/or in the claims may be provided in a variety of combinations and/or combinations, even if such combinations or combinations are not explicitly recited in the disclosure. In particular, the features recited in the various embodiments of the present disclosure and/or the claims may be variously combined and/or combined without departing from the spirit and teachings of the present disclosure. All such combinations and/or combinations fall within the scope of the present disclosure.
The embodiments of the present disclosure are described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the embodiments cannot be used advantageously in combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be made by those skilled in the art without departing from the scope of the disclosure, and such alternatives and modifications are intended to fall within the scope of the disclosure.

Claims (12)

1. A workflow configuration method, comprising:
configuring workflow parameters associated with a target business scenario, wherein the workflow parameters comprise a first parameter associated with an operation object of a flow node and a second parameter associated with a flow branch;
configuring the flow branch based on the second parameter and a preset operator to obtain first configuration information;
configuring an operation object of the flow node based on the first parameter and the preset operator to obtain second configuration information; and
and generating a flow configuration file based on the first configuration information and the second configuration information so as to deploy workflow based on the flow configuration file.
2. The method of claim 1, wherein the first parameter comprises an attribute parameter of an operation object;
the configuring the operation object of the flow node based on the first parameter and the preset operator to obtain second configuration information includes:
configuring attribute parameters of the operation object to obtain attribute information of the target operation object;
combining the attribute information of the target operation object with the preset operator to obtain a first rule expression;
and obtaining the second configuration information based on the first rule expression.
3. The method of claim 1, wherein the determining to generate a flow profile based on the first configuration information and the second configuration information to deploy a workflow process based on the flow profile further comprises:
configuring the operation type of the operation executed by the operation object to obtain third configuration information;
and generating the process configuration file based on the first configuration information, the second configuration information and the third configuration information so as to deploy the workflow process based on the process configuration file.
4. The method of claim 1, wherein the configuring the flow branch based on the second parameter and a preset operator to obtain the first configuration information includes:
combining the second parameter with the preset operator to obtain a second rule expression;
and obtaining the first configuration information based on the second rule expression.
5. The method of claim 1, wherein, in the event that the type of the first parameter or the second parameter is determined to be numerical, the preset operator includes at least one of: greater than, equal to, not equal to, less than, greater than or equal to, less than or equal to.
6. The method of claim 1, wherein, in the event that the type of the first parameter or the second parameter is determined to be a target type, the preset operator comprises at least one of: equal to, not equal to;
wherein the target type includes a string type or dictionary item.
7. The method of claim 1, wherein the generating a flow profile based on the first configuration information and the second configuration information comprises:
drawing a workflow flow chart according to the first configuration information and the second configuration information;
And generating the flow configuration file according to the workflow flow chart.
8. The method of claim 1, the method further comprising:
and determining a target workflow and a target operator corresponding to the flow configuration file based on the flow configuration file.
9. A workflow configuration apparatus comprising:
a first configuration module for configuring workflow parameters associated with a target business scenario, wherein the workflow parameters include a first parameter associated with an operation object of a flow node and a second parameter associated with a flow branch;
the second configuration module is used for configuring the flow branch based on the second parameter and a preset operator to obtain first configuration information;
the third configuration module is used for configuring the operation object of the flow node based on the first parameter and the preset operator to obtain second configuration information; and
and the first generation module is used for generating a flow configuration file based on the first configuration information and the second configuration information so as to deploy a workflow based on the flow configuration file.
10. An electronic device, comprising:
one or more processors;
Storage means for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-8.
11. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method according to any of claims 1-8.
12. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 8.
CN202310769092.9A 2023-06-27 2023-06-27 Workflow configuration method, device, equipment and medium Pending CN116703143A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310769092.9A CN116703143A (en) 2023-06-27 2023-06-27 Workflow configuration method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310769092.9A CN116703143A (en) 2023-06-27 2023-06-27 Workflow configuration method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN116703143A true CN116703143A (en) 2023-09-05

Family

ID=87839033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310769092.9A Pending CN116703143A (en) 2023-06-27 2023-06-27 Workflow configuration method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN116703143A (en)

Similar Documents

Publication Publication Date Title
US9466041B2 (en) User selected flow graph modification
US20160196564A1 (en) Systems and methods for analyzing consumer sentiment with social perspective insight
CN113032244B (en) Interface test method, device, computer system and computer readable storage medium
CN111596956B (en) Information processing method and device based on block chain, electronic equipment and medium
CN113419740B (en) Program data stream analysis method and device, electronic equipment and readable storage medium
JP2021519960A (en) Systems, devices, and methods for processing and managing web traffic data
US20130096967A1 (en) Optimizer
US20170193409A1 (en) Business resource modeling
US8051110B2 (en) Identifying screen flows to support multiple entities and their diverse rules with a single application instance
US20130093771A1 (en) Modified flow graph depiction
US10936998B2 (en) Metadata-based chat wizard
CN110991923B (en) Architecture construction method and device, electronic equipment and medium
US20070153706A1 (en) Design time support for service adaptation
CN115526587A (en) Method and device for generating customs message
US10509659B1 (en) Input processing logic to produce outputs for downstream systems using configurations
CN116703143A (en) Workflow configuration method, device, equipment and medium
CN115422202A (en) Service model generation method, service data query method, device and equipment
CN114140091A (en) Operation record display method, device, equipment and medium
CN114817379A (en) Qunee-based configuration item relation visualization method, system, equipment and medium
Huang et al. Automatic composition of heterogeneous models based on semantic Web services
US20170161359A1 (en) Pattern-driven data generator
CN113011858A (en) Audit project configuration and execution method and device
US9582782B2 (en) Discovering a reporting model from an existing reporting environment
CN113253991A (en) Task visualization processing method and device, electronic equipment and storage medium
US20140089207A1 (en) System and method for providing high level view tracking of changes in sca artifacts

Legal Events

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