CN112508501A - Method, device, equipment and medium for configuring multistage process - Google Patents

Method, device, equipment and medium for configuring multistage process Download PDF

Info

Publication number
CN112508501A
CN112508501A CN202011187929.1A CN202011187929A CN112508501A CN 112508501 A CN112508501 A CN 112508501A CN 202011187929 A CN202011187929 A CN 202011187929A CN 112508501 A CN112508501 A CN 112508501A
Authority
CN
China
Prior art keywords
flow
user
task
configuration
node
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
CN202011187929.1A
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.)
Fujian Ecan Information Technology Co ltd
Original Assignee
Fujian Ecan Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Ecan Information Technology Co ltd filed Critical Fujian Ecan Information Technology Co ltd
Priority to CN202011187929.1A priority Critical patent/CN112508501A/en
Publication of CN112508501A publication Critical patent/CN112508501A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • 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/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders

Landscapes

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

Abstract

The invention provides a method, a device, equipment and a medium for configuring a multi-stage process, wherein the method comprises the following steps: defining a process model: providing a new process model interface for a user to define basic information and automatically constructing a step-by-step process flow chart; deploying a flow model: providing a deployment process model interface for a user to deploy; providing a flow form for configuration, wherein in one flow example, the flow form corresponding to each node is the same; step-by-step process configuration: providing a step-by-step process configuration interface for a user to filter out process models needing step-by-step process configuration, newly adding step-by-step processes and selecting roles corresponding to the step-by-step processes; initiating a flow: and providing a flow initiating interface for a user to initiate a corresponding flow after completing the step-by-step flow configuration, wherein when the user initiates the flow, the flow task can be automatically assigned to the user under the corresponding role. The invention adopts a simple configuration method, does not need repeated configuration, can automatically generate a flow chart, is easy to realize and has high efficiency.

Description

Method, device, equipment and medium for configuring multistage process
Technical Field
The invention relates to the technical field of computers, in particular to a multistage flow configuration method, a multistage flow configuration device, multistage flow configuration equipment and multistage flow configuration media based on an activiti flow framework.
Background
Activiti is an open-source workflow engine, which realizes BPMN2.0 specification, can issue designed flow definitions, and performs flow scheduling through api. Activiti is used as an Apache-license-compliant workflow and business process management open source platform, the core of the platform is a Java-based ultra-fast and ultra-stable BPMN2.0 process engine, the embeddability and the expandability of process services are emphasized, and meanwhile, the platform is more oriented to business personnel.
The traditional customization of the activiti process engine needs a series of tedious pre-work, firstly, a flow chart is drawn artificially, then each task node is configured, and when a scene of examination and approval of a plurality of nodes is involved, configuration items which are the same as related task nodes need to be configured repeatedly, for example, as shown in fig. 1, a purchasing task flow of a hospital needs to be configured with related task nodes such as ' department purchasing ', ' principal and subordinate examination and approval ' and institution examination and approval ', and each related task node needs to be configured with a processing person group or a sign-on person group. And the service code can be realized only after the step configuration is finished.
While configuring specific task nodes, it may also be necessary to configure form paths, task distributors, conditions for task completion, etc. for each task node, and if monitoring is involved, it is also necessary to configure specific monitoring implementation classes. This is obviously not compatible with decoupling, and therefore there is a need for a way to implement a process that is simple and satisfactory in configuration and controllable in authority.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method, an apparatus, a device and a medium for configuring a multi-stage process, which are simple in configuration, free from repeated configuration, capable of automatically generating a process diagram, easy to implement and high in efficiency.
In a first aspect, the present invention provides a multistage process configuration method, including a configuration process, where the configuration process includes the following steps:
s11, defining a flow model: providing a newly-built process model interface for a user to define key, name, type and description basic information of the process model, submitting the information as a form, and automatically constructing a step-by-step process flow chart by using the basic information of the form after the submission is successful;
s12, deploying a flow model: providing a deployment process model interface for a user to deploy the defined process model; in the process of deployment, a flow form is also provided for configuration, and in one flow example, the flow form corresponding to each node is the same;
s13, step-by-step flow configuration: providing a step-by-step process configuration interface for a user to filter out process models needing step-by-step process configuration, newly adding step-by-step processes and selecting roles corresponding to the step-by-step processes;
s14, initiating a flow: and providing a flow initiating interface for a user to initiate a corresponding flow after completing the step-by-step flow configuration, wherein when the user initiates the flow, the flow task can be automatically assigned to the user under the corresponding role.
In a second aspect, the present invention provides a multistage process configuration apparatus, including a configuration module, where the configuration module further includes:
the flow model definition module is used for providing a newly-built flow model interface for a user to define key, name, type and description basic information of the flow model, submitting the information as a form, and automatically constructing a flow chart of the step-by-step flow by using the basic information of the form after the submission is successful;
the flow model deployment module is used for providing a deployment flow model interface for a user to deploy the defined flow model; in the process of deployment, a flow form is also provided for configuration, and in one flow example, the flow form corresponding to each node is the same;
the step-by-step process configuration module is used for providing a step-by-step process configuration interface for a user to filter out process models needing step-by-step process configuration, newly add step-by-step processes and select roles corresponding to the step-by-step processes;
and the process initiating module is used for providing a process initiating interface for a user to initiate a corresponding process after completing the step-by-step process configuration, and when the user initiates the process, the process task can be automatically assigned to the user under the corresponding role.
In a third aspect, the present invention provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of the first aspect when executing the program.
In a fourth aspect, the invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the method of the first aspect.
One or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages: the operation of the flow task can be met only by establishing a flow model and filling corresponding key, name, type and description basic information of the flow model; the basic information is submitted as a form to automatically construct a flow chart of the step-by-step flow without manually drawing a complex flow chart, the flow chart is also provided for configuration in the deployment process, and in one flow example, the flow chart corresponding to each node is the same, so that repeated configuration at each flow node is not needed, and the service efficiency is improved; the step-by-step process is constructed in a configuration mode, the implementation is easy, and the purposes of process node skipping and task assignment to a specified user can be achieved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
The invention will be further described with reference to the following examples with reference to the accompanying drawings.
FIG. 1 is a diagram illustrating a conventional process diagram of activiti and node configuration;
FIG. 2 is a flow chart of the overall process of a method according to one embodiment of the present invention;
FIG. 3 is a flowchart illustrating steps of a new process model of a method according to an embodiment of the present invention;
FIG. 4 is a schematic view of a new process model interface in an example process of the present invention;
FIG. 5 is a flow chart of an automatic generation and a schematic diagram of a form containing basic information in an example process of the present invention;
FIG. 6 is a flow chart of an example process of the present invention;
FIG. 7 is a schematic diagram of a progressive flow configuration interface in an example flow of the present invention;
fig. 8 is a schematic view of a configuration interface for selecting a role corresponding to each progressive process under a process model in a process example of the present invention;
FIG. 9 is a flowchart of an initiation flow step of a method according to an embodiment of the present invention;
FIG. 10 is a flowchart of a process for submitting task flows according to a method of one embodiment of the present invention;
FIG. 11 is a flowchart illustrating rollback flow task steps of a method according to an embodiment of the present invention;
FIG. 12 is a flowchart illustrating a jump flow task step of a method according to an embodiment of the present invention;
FIG. 13 is a schematic structural diagram of an apparatus according to a second embodiment of the present invention;
fig. 14 is a schematic structural diagram of an electronic device according to a third embodiment of the invention;
fig. 15 is a schematic structural diagram of a medium according to a fourth embodiment of the present invention.
Detailed Description
The embodiment of the application provides a method, a device, equipment and a medium for configuring a multi-stage process, the configuration is simple, repeated configuration is not needed, a flow chart can be automatically generated, the implementation is easy, and the efficiency is high.
The technical scheme in the embodiment of the application has the following general idea: the method is realized by modifying and optimizing a process framework based on activiti, and the operation of a process task is met by establishing a process model and filling corresponding key, name, type and description basic information of the process model; when the process model is deployed, basic information is submitted as a form and then used for automatically constructing a step-by-step process flow chart, the complex flow chart does not need to be drawn manually, the process form is also provided for configuration in the process of deployment, in one process example, the process form corresponding to each node is the same, and therefore repeated configuration at each process node is not needed, and the service efficiency is improved; the step-by-step process is constructed in a configuration mode, the implementation is easy, and the purposes of process node skipping and task assignment to a specified user can be achieved.
Example one
As shown in fig. 2, the present embodiment provides a multi-stage process configuration method, which includes a configuration process and a process instance operation process.
The configuration process comprises the steps of:
s11, defining a flow model: providing a new process model interface, as shown in fig. 3 to 5, for a user to define key, name, type and basic information of description of a process model, submitting the key, name, type and basic information as a form, and automatically constructing a step-by-step process flow chart by using the basic information of the form after the basic information is successfully submitted;
s12, deploying a flow model: providing a deployment process model interface for a user to deploy the defined process model; in the process of deployment, a flow form is also provided for configuration, and in one flow instance, a set of complete flow instances process the same piece of business information, so that the flow forms corresponding to each node are the same, as shown in fig. 6, the name is a node purchased by a department, a node custom path of the flow form is displayed as the flow form, and the node custom paths of different nodes all point to the same flow form.
S13, step-by-step flow configuration: providing a step-by-step process configuration interface, as shown in fig. 7, for a user to filter out a process model requiring step-by-step process configuration, as shown in fig. 8, adding a step-by-step process and selecting a role corresponding to each step-by-step process; as shown in fig. 7, when operating, a user may input the mechanism information of the current user in the retrieval frame of the mechanism to which the user belongs, and the mechanism information is used as a filtering condition of the step-by-step flow configuration information, so as to retrieve the step-by-step flow of the mechanism to which the user belongs to perform configuration, that is, the user may only configure the current mechanism or only view the step-by-step flow under the current mechanism, thereby implementing authority management. After clicking the new step-by-step flow button, the configuration frame shown in fig. 8 appears, and after configuration is completed, the configuration frame is listed in the lower half of fig. 7, for example, the processing roles of the department purchasing flow of a hospital include a buyer, a chief of the department and a chief of the institution, so that the configuration of the three processing roles can be realized through the new step-by-step flow, and three nodes are formed. And completing the process example in three nodes step by step in the later process example operation process.
S14, initiating a flow: providing a flow initiating interface for the user to initiate the corresponding flow after completing the step-by-step flow configuration, as shown in fig. 9, when the user initiates the flow, the flow task will be automatically assigned to the user under the corresponding role, for example, after the configurator has configured the department purchasing flow, the flow task will be automatically assigned to the user of the purchaser (and then assigned to the user of the department and the institution).
The process example running process comprises the following aspects:
submitting a flow task: providing a step-by-step process query interface, as shown in fig. 10, for a user to query the step-by-step process configuration and submit a process task, if there is no result in the query, ending the current process instance, and if there is a result in the query, assigning the process node task to a user under the role of the next node when the user submits the process task; such as: after the buyer finishes checking the process task, the buyer clicks and submits the process task, the process task is assigned to the user of the chief deputy, and when the chief finishes checking and submitting the process task, the buyer assigns the process task to the user of the chief deputy.
And (3) returning a flow task: as shown in fig. 11, on the premise that the current flow instance is not finished, a task rollback instruction of a user is received, and a task of a flow node that rolls back is directly assigned to the user in the role of the previous node; such as: when the process task is assigned to the user of the manager, the manager finds that the process task is not standard in the approval process, and needs to return to the node of the buyer, and can click to return the process task, and then the process task is directly assigned to the user of the buyer.
And (4) skipping the flow task: as shown in fig. 12, on the premise that the current flow example is not finished, a jump task instruction of the user is received, and the flow node task is submitted to the user under the role of the target node. Such as: after the buyer examines the process task, the chief deputy can not examine and approve, according to the regulation, the urgent process can be directly examined and approved by the chief deputy, namely, the skip process task can be clicked, and the target node user of the skip is set as the chief deputy, so that the process node task can be submitted to the user of the chief deputy.
As a more preferred implementation manner of this embodiment, the serial number may be used to correspond to a step-by-step process, and a process instance variable is calculated to facilitate process control, specifically:
in S12, a process definition is generated after the process model is deployed, and the process definition is equivalent to the name of the process model and can be used to mark the process model;
in S13, when the user adds a new step-by-step flow, the system automatically brings out a sequence number of the step-by-step flow that is incremented, and the step-by-step flow of each node has a corresponding sequence number, for example, the sequence number of the step-by-step flow of the buyer node is 0, the sequence number of the step-by-step flow of the chief node is 1, and the sequence number of the step-by-step flow of the chief node is 2;
in S14, when the user initiates the process, the system defines a process instance variable to represent the serial number of the step-by-step process, and the process task is automatically assigned to the user under the corresponding role according to the serial number, which is beneficial to the back-off and skip calculation of the step-by-step process.
Then, the submitting flow task specifically includes: providing a step-by-step process query interface for a user to query step-by-step process configuration and submit a process task, wherein the step-by-step process configuration is queried by taking a value obtained after the step-by-step process instance variable is added by 1 and a current process definition as parameters, if the query has no result, the current process instance variable is set to be a maximum serial number value (such as a default value of 1000), the current process instance is ended, if the query has a result, when the user submits the process task, the current instance variable is added by 1, and then the process node task is assigned to the user under the role of the next node;
the rollback flow task specifically comprises the following steps: on the premise that the current process example is not finished, reducing the variable of the current process example by 1, and then directly assigning the returned process node task to the user under the role of the previous node; when backing, firstly, judging whether the current flow example is finished or not, and if so, backing cannot be carried out.
And (4) skipping the flow task: and on the premise that the current process example is not finished, receiving a skip task instruction of a user, changing the variables of the current process example to the serial number of the step-by-step process corresponding to the target node, and submitting the process node task to the user under the role of the target node.
When a process task is initiated, a process instance variable, namely, 0', which represents a serial number of a previously configured step-by-step process of a buyer, is defined in the step of initiating the process task, so that the process task is automatically assigned to a user under the role of the buyer, and after the buyer submits the process task, the variable, namely, the serial num of the current process instance is added with 1, namely, the serial num is 1, so that the system queries the configuration of the step-by-step process according to the serial num of 1 and the current process definition as parameters, and assigns the node task to the user of the department leader.
When judging whether the current process instance is finished or not, the rollback process task acquires a serial num of the current process instance, and if the serial num is 0, the current process task is regarded as being finished. For example, if the serial num! When 0, it will reduce itself by 1.
When the flow task is skipped, the instance variable serialNum is changed to the corresponding serial number of the step-by-step flow according to the serial number configured by the step-by-step flow, and then the flow node task is submitted to the role user under the corresponding node, thus achieving the purpose of flow skipping.
Based on the same inventive concept, the application also provides a device corresponding to the method in the first embodiment, which is detailed in the second embodiment.
Example two
As shown in fig. 13, in the present embodiment, a multi-stage process configuration apparatus is provided, which includes a configuration module and a process instance execution module.
The configuration module further comprises:
the flow model definition module is used for providing a newly-built flow model interface for a user to define key, name, type and description basic information of the flow model, submitting the information as a form, and automatically constructing a flow chart of the step-by-step flow by using the basic information of the form after the submission is successful;
the flow model deployment module is used for providing a deployment flow model interface for a user to deploy the defined flow model; in the process of deployment, a flow form is also provided for configuration, and in one flow example, the flow form corresponding to each node is the same;
the step-by-step process configuration module is used for providing a step-by-step process configuration interface for a user to filter out process models needing step-by-step process configuration, newly add step-by-step processes and select roles corresponding to the step-by-step processes;
and the process initiating module is used for providing a process initiating interface for a user to initiate a corresponding process after completing the step-by-step process configuration, and when the user initiates the process, the process task can be automatically assigned to the user under the corresponding role.
The process instance execution module further comprises:
the flow task submitting module is used for providing a step-by-step flow query interface for a user to query step-by-step flow configuration and submit flow tasks, if the query has no result, the current flow instance is ended, and if the query has a result, the flow node tasks are assigned to the user under the role of the next node when the user submits the flow tasks;
the flow task backspacing module is used for receiving a backspacing task instruction of a user and directly assigning the backspacing flow node task to the user under the role of the previous node on the premise that the current flow example is not finished;
and the flow task skipping module is used for receiving a skipping task instruction of the user and submitting the flow node task to the user under the role of the target node on the premise that the current flow instance is not finished.
Wherein, as a more preferred implementation or a more specific implementation of the present embodiment,
in the process model deployment module, a process definition is generated after the process model is deployed, and the process definition is used for marking the process model;
in the step-by-step flow configuration module, when a user newly adds a step-by-step flow, a sequence number of the increased step-by-step flow is automatically brought out;
in the process initiating module, when a user initiates a process, a process instance variable is defined to represent a serial number of the progressive process, and a process task is automatically assigned to the user under a corresponding role according to the serial number.
The flow task submitting module is specifically used for providing a step-by-step flow query interface for a user to query step-by-step flow configuration and submit flow tasks, the value of a current flow instance variable after adding 1 and the current flow definition are used as parameters to query step-by-step flow configuration during query, if no result is queried, the current flow instance variable is set as a maximum serial number value, the current flow instance is ended, if a result is queried, when the user submits the flow task, the current instance variable is added 1, and then the flow node task is assigned to the user under the role of the next node;
the flow task returning module is specifically used for subtracting 1 from the variable of the current flow example on the premise that the current flow example is not finished, and then directly assigning the returned flow node task to the user under the role of the previous node;
the flow task skipping module is specifically used for receiving a skipping task instruction of a user on the premise that the current flow example is not finished, then changing the variable of the current flow example to the serial number of the step-by-step flow corresponding to the target node, and then submitting the flow node task to the user under the role of the target node.
Since the apparatus described in the second embodiment of the present invention is an apparatus used for implementing the method of the first embodiment of the present invention, details or examples of the method described in the first embodiment of the present invention can be still used for the apparatus described in the second embodiment of the present invention, and those skilled in the art can understand the specific structure and variations of the apparatus, and thus will not be described herein again. All the devices adopted in the method of the first embodiment of the present invention belong to the protection scope of the present invention.
Based on the same inventive concept, the application provides an electronic device embodiment corresponding to the first embodiment, which is detailed in the third embodiment.
EXAMPLE III
The embodiment provides an electronic device, as shown in fig. 4, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, any one of the first embodiment modes may be implemented.
Since the electronic device described in this embodiment is a device used for implementing the method in the first embodiment of the present application, based on the method described in the first embodiment of the present application, a specific implementation of the electronic device in this embodiment and various variations thereof can be understood by those skilled in the art, and therefore, how to implement the method in the first embodiment of the present application by the electronic device is not described in detail herein. The equipment used by those skilled in the art to implement the methods in the embodiments of the present application is within the scope of the present application.
Based on the same inventive concept, the application provides a storage medium corresponding to the fourth embodiment, which is described in detail in the fourth embodiment.
Example four
The present embodiment provides a computer-readable storage medium, as shown in fig. 5, on which a computer program is stored, and when the computer program is executed by a processor, any one of the embodiments can be implemented.
The technical scheme provided in the embodiment of the application at least has the following technical effects or advantages: the operation of the flow task can be met only by establishing a flow model and filling corresponding key, name, type and description basic information of the flow model; the basic information is submitted as a form to automatically construct a flow chart of the step-by-step flow without manually drawing a complex flow chart, the flow chart is also provided for configuration in the deployment process, and in one flow example, the flow chart corresponding to each node is the same, so that repeated configuration at each flow node is not needed, and the service efficiency is improved; the step-by-step process is constructed in a configuration mode, the implementation is easy, and the purposes of process node skipping and task assignment to a specified user can be achieved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus or system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Although specific embodiments of the invention have been described above, it will be understood by those skilled in the art that the specific embodiments described are illustrative only and are not limiting upon the scope of the invention, and that equivalent modifications and variations can be made by those skilled in the art without departing from the spirit of the invention, which is to be limited only by the appended claims.

Claims (10)

1. A multi-stage process configuration method is characterized in that: comprising a configuration process, the configuration process comprising the steps of:
s11, defining a flow model: providing a newly-built process model interface for a user to define key, name, type and description basic information of the process model, submitting the information as a form, and automatically constructing a step-by-step process flow chart by using the basic information of the form after the submission is successful;
s12, deploying a flow model: providing a deployment process model interface for a user to deploy the defined process model; in the process of deployment, a flow form is also provided for configuration, and in one flow example, the flow form corresponding to each node is the same;
s13, step-by-step flow configuration: providing a step-by-step process configuration interface for a user to filter out process models needing step-by-step process configuration, newly adding step-by-step processes and selecting roles corresponding to the step-by-step processes;
s14, initiating a flow: and providing a flow initiating interface for a user to initiate a corresponding flow after completing the step-by-step flow configuration, wherein when the user initiates the flow, the flow task can be automatically assigned to the user under the corresponding role.
2. The method of claim 1, wherein:
in S12, a process definition is generated after the process model is deployed, and the process definition is used to mark the process model;
in S13, when the user adds a new step-by-step flow, the system will automatically bring out a sequence number of the step-by-step flow that is incremented;
in S14, when the user initiates the process, the system defines a process instance variable to represent the serial number of the progressive process, and the process task is automatically assigned to the user under the corresponding role according to the serial number.
3. The multi-stage process configuration method according to claim 1 or 2, wherein: the method also comprises the following process example operation process:
submitting a flow task: providing a step-by-step process query interface for a user to query step-by-step process configuration and submit a process task, if the query has no result, finishing the current process example, and if the query has a result, assigning the process node task to a user under the role of the next node when the user submits the process task;
and (3) returning a flow task: on the premise that the current process example is not finished, receiving a task backspacing instruction of a user, and directly assigning a backspacing process node task to the user under the role of the previous node;
and (4) skipping the flow task: and on the premise that the current flow example is not finished, receiving a jump task instruction of a user, and submitting the flow node task to the user under the role of the target node.
4. The method of claim 3, wherein:
the submitting flow task specifically comprises the following steps: providing a step-by-step process query interface for a user to query step-by-step process configuration and submit process tasks, wherein the query is to query the step-by-step process configuration by taking a value obtained after the variable of the current process example is added by 1 and the current process definition as parameters, if the query has no result, the variable of the current process example is set as the maximum serial number value, the current process example is ended, if the query has a result, when the user submits the process tasks, the variable of the current example is added by 1, and then the process node tasks are assigned to the user under the role of the next node;
the rollback flow task specifically comprises the following steps: on the premise that the current process example is not finished, reducing the variable of the current process example by 1, and then directly assigning the returned process node task to the user under the role of the previous node;
and (4) skipping the flow task: and on the premise that the current process example is not finished, receiving a skip task instruction of a user, changing the variables of the current process example to the serial number of the step-by-step process corresponding to the target node, and submitting the process node task to the user under the role of the target node.
5. A multi-stage process configuration device, comprising: comprising a configuration module, the configuration module further comprising:
the flow model definition module is used for providing a newly-built flow model interface for a user to define key, name, type and description basic information of the flow model, submitting the information as a form, and automatically constructing a flow chart of the step-by-step flow by using the basic information of the form after the submission is successful;
the flow model deployment module is used for providing a deployment flow model interface for a user to deploy the defined flow model; in the process of deployment, a flow form is also provided for configuration, and in one flow example, the flow form corresponding to each node is the same;
the step-by-step process configuration module is used for providing a step-by-step process configuration interface for a user to filter out process models needing step-by-step process configuration, newly add step-by-step processes and select roles corresponding to the step-by-step processes;
and the process initiating module is used for providing a process initiating interface for a user to initiate a corresponding process after completing the step-by-step process configuration, and when the user initiates the process, the process task can be automatically assigned to the user under the corresponding role.
6. The multi-stage process configuration device of claim 5, wherein:
in the process model deployment module, a process definition is generated after the process model is deployed, and the process definition is used for marking the process model;
in the step-by-step flow configuration module, when a user newly adds a step-by-step flow, a sequence number of the increased step-by-step flow is automatically brought out;
in the process initiating module, when a user initiates a process, a process instance variable is defined to represent a serial number of the progressive process, and a process task is automatically assigned to the user under a corresponding role according to the serial number.
7. The multi-stage process configuration device according to claim 5 or 6, wherein: the system also comprises a process instance running module, and the process instance running module further comprises:
the flow task submitting module is used for providing a step-by-step flow query interface for a user to query step-by-step flow configuration and submit flow tasks, if the query has no result, the current flow instance is ended, and if the query has a result, the flow node tasks are assigned to the user under the role of the next node when the user submits the flow tasks;
the flow task backspacing module is used for receiving a backspacing task instruction of a user and directly assigning the backspacing flow node task to the user under the role of the previous node on the premise that the current flow example is not finished;
and the flow task skipping module is used for receiving a skipping task instruction of the user and submitting the flow node task to the user under the role of the target node on the premise that the current flow instance is not finished.
8. The multi-stage process configuration device of claim 7, wherein:
the flow task submitting module is specifically used for providing a step-by-step flow query interface for a user to query step-by-step flow configuration and submit flow tasks, the value of a current flow instance variable after adding 1 and the current flow definition are used as parameters to query step-by-step flow configuration during query, if no result is queried, the current flow instance variable is set as a maximum serial number value, the current flow instance is ended, if a result is queried, when the user submits the flow task, the current instance variable is added 1, and then the flow node task is assigned to the user under the role of the next node;
the flow task returning module is specifically used for subtracting 1 from the variable of the current flow example on the premise that the current flow example is not finished, and then directly assigning the returned flow node task to the user under the role of the previous node;
the flow task skipping module is specifically used for receiving a skipping task instruction of a user on the premise that the current flow example is not finished, then changing the variable of the current flow example to the serial number of the step-by-step flow corresponding to the target node, and then submitting the flow node task to the user under the role of the target node.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 4 when executing the program.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 4.
CN202011187929.1A 2020-10-30 2020-10-30 Method, device, equipment and medium for configuring multistage process Pending CN112508501A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011187929.1A CN112508501A (en) 2020-10-30 2020-10-30 Method, device, equipment and medium for configuring multistage process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011187929.1A CN112508501A (en) 2020-10-30 2020-10-30 Method, device, equipment and medium for configuring multistage process

Publications (1)

Publication Number Publication Date
CN112508501A true CN112508501A (en) 2021-03-16

Family

ID=74954635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011187929.1A Pending CN112508501A (en) 2020-10-30 2020-10-30 Method, device, equipment and medium for configuring multistage process

Country Status (1)

Country Link
CN (1) CN112508501A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113824586A (en) * 2021-08-30 2021-12-21 山东浪潮通软信息科技有限公司 Gateway configuration method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130006888A1 (en) * 2011-07-03 2013-01-03 International Business Machines Corporation Autotagging Business Processes
CN109542556A (en) * 2018-10-30 2019-03-29 珠海伟诚科技股份有限公司 A kind of process based on Activiti and list exchange method and system
CN110413281A (en) * 2019-08-01 2019-11-05 南京信业能源科技有限公司 One kind is based on towed building enterprise circulation flow management and control method
CN111311188A (en) * 2020-02-21 2020-06-19 北京字节跳动网络技术有限公司 Task processing method, device, medium and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130006888A1 (en) * 2011-07-03 2013-01-03 International Business Machines Corporation Autotagging Business Processes
CN109542556A (en) * 2018-10-30 2019-03-29 珠海伟诚科技股份有限公司 A kind of process based on Activiti and list exchange method and system
CN110413281A (en) * 2019-08-01 2019-11-05 南京信业能源科技有限公司 One kind is based on towed building enterprise circulation flow management and control method
CN111311188A (en) * 2020-02-21 2020-06-19 北京字节跳动网络技术有限公司 Task processing method, device, medium and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113824586A (en) * 2021-08-30 2021-12-21 山东浪潮通软信息科技有限公司 Gateway configuration method and system

Similar Documents

Publication Publication Date Title
US8762187B2 (en) Easy process modeling platform
Hallerbach et al. Context-based configuration of process variants
US20120159491A1 (en) Data driven dynamic workflow
CN108984712A (en) Counting method, equipment and readable storage medium storing program for executing are made based on business scenario
US20100138268A1 (en) Progress management platform
CN106779336B (en) Engineering change method and device
US8843893B2 (en) Unified framework for configuration validation
CN112988123B (en) DDD-oriented software design method and system
US11681961B2 (en) Flexible work breakdown structure
US7899768B2 (en) Methods and systems for constructing a scalable hierarchical feed-forward model for fabricating a product
CN113535225B (en) Environment configuration file processing method, device, equipment and medium of application software
CN112149838A (en) Method, device, electronic equipment and storage medium for realizing automatic model building
US10929279B2 (en) Systems and method for automated testing framework for service portal catalog
US11416494B1 (en) Providing triggers based on one-to-many or many-to-one relationships in a system of record
CN111258567B (en) Service code development processing method and device
CN112508501A (en) Method, device, equipment and medium for configuring multistage process
CN109885580A (en) A kind of hot spot account batch updating method, apparatus, server and storage medium
US20190073364A1 (en) Automatic detection of problems in a large-scale multi-record update system and method
CN112686580A (en) Workflow definition method and system capable of customizing flow
US11750458B1 (en) Structured network change controls
CN112256978B (en) Data processing method, device and medium based on data model
US20130346141A1 (en) Workflow modeling with workets and transitions
CN115827051A (en) Software integration management system, method and server
CN112418796B (en) Sub-process task node activation method and device, electronic equipment and storage medium
CN114756224A (en) Activity execution method and device

Legal Events

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