CN107038533B - Method and system for realizing configurable process approval - Google Patents

Method and system for realizing configurable process approval Download PDF

Info

Publication number
CN107038533B
CN107038533B CN201710253806.5A CN201710253806A CN107038533B CN 107038533 B CN107038533 B CN 107038533B CN 201710253806 A CN201710253806 A CN 201710253806A CN 107038533 B CN107038533 B CN 107038533B
Authority
CN
China
Prior art keywords
task
information
key information
instance
template
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.)
Active
Application number
CN201710253806.5A
Other languages
Chinese (zh)
Other versions
CN107038533A (en
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.)
Beijing Si Tech Information Technology Co Ltd
Original Assignee
Beijing Si Tech 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 Beijing Si Tech Information Technology Co Ltd filed Critical Beijing Si Tech Information Technology Co Ltd
Priority to CN201710253806.5A priority Critical patent/CN107038533B/en
Publication of CN107038533A publication Critical patent/CN107038533A/en
Application granted granted Critical
Publication of CN107038533B publication Critical patent/CN107038533B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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)
  • Stored Programmes (AREA)

Abstract

The invention relates to a method and a system for realizing configurable process approval, belongs to the field of configurable process approval, and solves the problems of complexity and inflexibility in conventional business process management. The method defines a process template for initiating an approval process by taking an approval process ID number as primary key information, and configures non-primary key information in the process template according to the requirement of approval operation; defining a task template for generating a task instance in an approval process by taking the serial number as primary key information; selecting a flow template according to the requirement of the approval operation to create a flow example with an approval serial number as main key information; and selecting a task template according to the requirement of the approval operation in the process example to create a task example with the serial number as the main key information. The method is used for simplifying elements in the workflow of the approval process, and the main key information is used for stringing the approval of the whole process, so that the non-main key information realizes the configurable, simple and flexible realization of the serial approval process.

Description

Method and system for realizing configurable process approval
Technical Field
The invention relates to the field of configurable process approval, in particular to a method and a system for realizing configurable process approval.
Background
The basic content of BPM (business process management) is to manage the process of established work, and uniformly regulate and control each business process through service arrangement so as to ensure that the work is executed by correct people at correct time and achieve the aim of optimizing the whole business process. The BPMN2.0 (business process modeling and labeling) standard workflow, such as Activiti (a workflow engine), defines a process through activities, gateways and time, and is too heavy and inflexible when applied to certain scenes. For example, each audit step requires definition, and if there are multiple approval steps, each rejection requires definition of a processing mode for returning to the applicant and a next jump after processing, which is particularly complicated. If misoperation occurs, the task cannot be specified to be backed off. In a serial audit service scene, the condition of countersigning rarely occurs. If the workflows of the BPMN2.0 specification are introduced, the development difficulty is increased, and only a part of simple functions are used in the scenes.
Disclosure of Invention
The invention aims to solve the technical problem of the prior art and provides a method and a system for realizing configurable process approval, aiming at simplifying elements in an approval process workflow with stronger customization, stringing the whole process approval by using primary key information, defining other information by using configurable non-primary key information, simply and flexibly realizing a serial approval process, having low development difficulty, effectively separating actual service from process flow, having strong universality of the approval process and facilitating project integration and maintenance.
The technical scheme for solving the technical problems is as follows:
a method for realizing configurable process approval comprises the following steps:
s1, defining at least one process template for initiating the examination and approval process by taking the ID number of the examination and approval process as the primary key information, and configuring non-primary key information in the process template according to the requirement of the examination and approval operation;
s2, defining at least one task template for generating task instances in the approval process by taking the serial number as the primary key information, and configuring non-primary key information in the task template according to the requirement of the approval operation, wherein the non-primary key information in the task template comprises information corresponding to the primary key information of the process template in S1;
s3, selecting one flow template from the flow templates defined in S1 according to the requirement of the approval operation to create a flow instance with the approval flow number as the primary key information, wherein the non-primary key information in the flow instance comprises the primary key information and the non-primary key information in the flow template in S1;
and S4, selecting one task template from the task templates defined in S2 according to the requirement of the approval operation in the process example created in S3, and creating a task example with the serial number as the primary key information according to the selected task template, wherein the non-primary key information in the task example comprises the primary key information of the process example in S3 and the primary key information and the non-primary key information of the task template in S2.
The invention has the beneficial effects that: elements in the examination and approval process workflow with high customization are simplified, the whole process examination and approval is started by the primary key information, other information is defined by the configurable non-primary key information, the serial examination and approval process is simply and flexibly realized, the development difficulty is low, the actual service is effectively separated from the process flow, the universality of the examination and approval process is high, and the project integration and maintenance are facilitated.
On the basis of the technical scheme, the invention can be further improved as follows:
further, the method further comprises:
s5, a task instance form used for recording operation information related to the task instance is created by taking the serial number in the task instance in the S4 as the primary key information, and the non-primary key information in the task instance form comprises the primary key information of the process instance in the S3.
The beneficial effect of adopting the further scheme is that: the task instance form records the operation information related to a single task, and the task can be conveniently searched and operated.
Further, the non-primary key information in the task template in S2 further includes: task coding information, task state information and task skipping script information; the method further comprises the following steps:
and S6, in the process of approval operation of the task instance by the user, the task instance is circulated according to the task coding information specified by the task jump script information in the task instance, and after the circulation is successful, the task state information of the task instance is modified according to the task coding information.
The beneficial effect of adopting the further scheme is that: the task jump script information is adopted to define the circulation process of the task instance, so that the process approval has the characteristics of light weight, easy integration and convenient maintenance.
Further, the task jump script information in S2 is generated in a manner that: and fixedly setting and generating when the task template is created, or generating according to a user-defined expression which is input by a user in the process of examination and approval and corresponds to the task template.
The beneficial effect of adopting the further scheme is that: enabling the approval process to support process customization, and allowing the execution sequence and steps of the process to be specified; supporting the process gateway function and allowing the designated jump according to the operation result; after the error operation is allowed, the data rollback of any step further expands the configurability of the process approval and the convenience of maintenance.
Further, the non-primary key information in the task instance in S4 further includes task sequence information;
when the task instance is subjected to stream forwarding according to the task coding information specified in the task skip script information in the S6, if the task coding information specified in the task skip script information is not empty, performing stream forwarding according to the task coding information; otherwise, acquiring the next task instance with the task state information of the next task instance which is not started according to the task sequence information, and circulating the task instance.
The beneficial effect of adopting the further scheme is that: after a task is processed, the next task to be executed can be automatically skipped, so that the operation of the approval process is more concise and efficient.
A system for implementing configurable process approval, the system comprising:
the process template module is used for defining at least one process template for initiating an approval process by taking the approval process ID number as the primary key information, and configuring non-primary key information in the process template according to the requirement of approval operation;
the task template module is used for defining at least one task template for generating a task instance in an approval process by taking a serial number as primary key information and configuring non-primary key information in the task template according to the requirement of approval operation, wherein the non-primary key information in the task template comprises information corresponding to the primary key information of the process template in the process template module;
the flow example module is used for selecting one flow template from the flow templates defined in the flow template module according to the requirement of approval operation to create a flow example with an approval flow number as primary key information, and the non-primary key information in the flow example comprises primary key information and non-primary key information in the flow template module;
and the task instance module is used for selecting one task template from the task templates defined in the task template module according to the requirement of approval operation in the process instance created in the process instance module, creating a task instance with the serial number as the main key information according to the selected task template, wherein the non-main key information in the task instance comprises the main key information of the process instance in the process instance template and the main key information and the non-main key information of the task template in the task template module.
The invention has the beneficial effects that: elements in the examination and approval process workflow with high customization are simplified, the whole process examination and approval is started by the primary key information, other information is defined by the configurable non-primary key information, the serial examination and approval process is simply and flexibly realized, the development difficulty is low, the actual service is effectively separated from the process flow, the universality of the examination and approval process is high, and the project integration and maintenance are facilitated.
On the basis of the technical scheme, the invention can be further improved as follows:
further, the system further comprises:
and the task instance list module is used for creating a task instance list for recording operation information related to the task instance by taking the serial number in the task instance module as primary key information, wherein the non-primary key information in the task instance list comprises the primary key information of the process instance in the process instance module.
The beneficial effect of adopting the further scheme is that: the task instance form records the operation information related to a single task, and the task can be conveniently searched and operated.
Further, the non-primary key information in the task instance in the task template module further includes: task coding information, task state information and task skipping script information; the system further comprises:
and the task instance circulation module is used for circulating the task instance according to the task coding information specified by the task skipping script information in the task instance module in the approval operation process of the user on the task instance, and modifying the task state information of the task instance according to the task coding information after the circulation is successful.
The beneficial effect of adopting the further scheme is that: the task jump script information is adopted to define the circulation process of the task instance, so that the process approval has the characteristics of light weight, easy integration and convenient maintenance.
Further, the task template module is also used for fixedly setting and generating the task skipping script information when the task template is created, or generating the task skipping script information according to a user-defined expression which is input by a user in the process of approval operation and corresponds to the task template.
The beneficial effect of adopting the further scheme is that: enabling the approval process to support process customization, and allowing the execution sequence and steps of the process to be specified; supporting the process gateway function and allowing the designated jump according to the operation result; after the error operation is allowed, the data rollback of any step further expands the configurability of the process approval and the convenience of maintenance.
Further, the non-primary key information in the task instance module also includes task sequence information;
the task instance circulation module is also used for judging whether the task coding information is empty or not when the task instance is circulated according to the task coding information specified in the task jump script information, and carrying out circulation on the task instance according to the task coding information if the task coding information is not empty; and if the task coding information is empty, acquiring the next task instance with the task state information of not starting according to the task sequence information, and circulating the task instance.
The beneficial effect of adopting the further scheme is that: after a task is processed, the next task to be executed can be automatically skipped, so that the operation of the approval process is more concise and efficient.
Drawings
Fig. 1 is a flowchart of a method for implementing configurable process approval according to embodiment 1 of the present invention;
FIG. 2 is a flow chart of an improved method for implementing configurable process approval according to embodiment 1 of the present invention;
fig. 3 is a block diagram of a system for implementing configurable process approval according to embodiment 2 of the present invention;
fig. 4 is a block diagram of an improved system for implementing configurable process approval according to embodiment 2 of the present invention.
Detailed Description
The principles and features of this invention are described below in conjunction with the following drawings, which are set forth by way of illustration only and are not intended to limit the scope of the invention.
Example 1
As shown in fig. 1, a method for implementing configurable process approval includes the following steps:
s1, defining at least one process template for initiating the examination and approval process by taking the ID number of the examination and approval process as the primary key information, and configuring non-primary key information in the process template according to the requirement of the examination and approval operation;
s2, defining at least one task template for generating task instances in the approval process by taking the serial number as the primary key information, and configuring non-primary key information in the task template according to the requirement of the approval operation, wherein the non-primary key information in the task template comprises information corresponding to the primary key information of the process template in S1;
s3, selecting one flow template from the flow templates defined in S1 according to the requirement of the approval operation to create a flow instance with the approval flow number as the primary key information, wherein the non-primary key information in the flow instance comprises the primary key information and the non-primary key information in the flow template in S1;
and S4, selecting one task template from the task templates defined in S2 according to the requirement of the approval operation in the process example created in S3, and creating a task example with the serial number as the primary key information according to the selected task template, wherein the non-primary key information in the task example comprises the primary key information of the process example in S3 and the primary key information and the non-primary key information of the task template in S2.
Specifically, the process template uses the approval process ID number as the primary key information to distinguish different types of process templates, the primary key information and the non-primary key information in the process template are set for creating process instances, and each process instance includes all the primary key information and the non-primary key information in the process template to which the process template belongs.
The non-primary key information in the flow template may further include: version number, name of examination and approval process, description of examination and approval process, number of created work, creation time, number of modified work and modification time.
The task template uses the serial number as the primary key information to distinguish different task instances in one process instance, the primary key information and the non-primary key information in the task template are set for creating the task instance, and each task instance comprises all the primary key information and the non-primary key information of the task template to which the task instance belongs.
The non-primary key information in the task template comprises an approval process ID number corresponding to the process template, and is used for indicating the process instance to which the task template belongs. The non-primary key information in the task template may also include version number, task name, task description, permission to assign user role (which the task instance is allowed to assign to the employee user of which role, multiple roles may be specified), current handler, create job number, create time, modify job number, and modify time.
The process example uses the approval sequence number as the primary key information to distinguish each process example, the non-primary key information in the process example comprises an approval process ID number used for indicating which type of process template the process example belongs to, and the non-primary key information in the process example further comprises: version number, flow state (default includes: 0-not started; 1-in execution; 2-completed; 3-terminated), create job number, create time, modify job number, and modify time.
The task instances take the serial number as the primary key information for distinguishing each task instance, and the non-primary key information in the task instances comprises an approval serial number, an approval process ID number, a version number, task sequence information, task coding information, task state information, task jump script information, permission assignment of a user role, a current handler, a creation work number and creation time.
The invention simplifies the elements in the workflow of the approval process with stronger customization, uses the primary key information to string up the approval of the whole process, uses the configurable non-primary key information to define other information, simply and flexibly realizes the serial approval process, has low development difficulty, effectively separates the actual service from the flow circulation, has strong universality of the approval process and is convenient for project integration and maintenance.
Further, as shown in fig. 2, the method further includes:
s5, a task instance form used for recording operation information related to the task instance is created by taking the serial number in the task instance in the S4 as the primary key information, and the non-primary key information in the task instance form comprises the primary key information of the process instance in the S3.
Specifically, the task instance form records some additional operation information in a single task instance, generally associates with the primary key of the process instance, and may use an external form for association.
The primary key information of the task instance form is a serial number, and the non-primary key information comprises: the method comprises the steps of examining and approving serial numbers, task sequence information, task coding information, task form attributes, values corresponding to the task form attributes, creation work numbers and creation time.
In the improvement, the task instance form records operation information related to a single task, and the task can be conveniently searched and operated.
Further, the non-primary key information in the task template in S2 further includes: task coding information, task state information and task skipping script information; as shown in fig. 2, the method further comprises:
and S6, in the process of approval operation of the task instance by the user, the task instance is circulated according to the task coding information specified by the task jump script information in the task instance, and after the circulation is successful, the task state information of the task instance is modified according to the task coding information.
Specifically, the non-primary key information in the task template includes: the task state information comprises task bar script information, jump script (JavaScript script) is adopted to carry out next step jump according to the task coding information, for example, the jump from the un-signed jump task coding information is signed, the jump from the signed jump task coding information is on-line operation, and the like.
In the improvement, task jump script information is adopted to define the circulation process of a task instance, so that the process approval has the characteristics of light weight, easy integration and convenient maintenance.
Further, the task jump script information in S2 is generated in a manner that: and fixedly setting and generating when the task template is created, or generating according to a user-defined expression which is input by a user in the process of examination and approval and corresponds to the task template.
Specifically, the task flow includes two cases:
the cured flow twists, i.e. the basic twisting pattern has been defined in the rules: the next task is started after approval; the approval rejection task will be signed by the applicant and proceed with execution.
And (4) custom skipping: and skipping of the specified step is carried out through a self-defined expression and the input auditing state or form field.
In the improvement, the approval process supports process customization, and the execution sequence and steps of the process are allowed to be specified; supporting the process gateway function and allowing the designated jump according to the operation result; after the error operation is allowed, the data rollback of any step further expands the configurability of the process approval and the convenience of maintenance.
Further, the non-primary key information in the task template in S2 further includes task sequence information;
when the task instance is subjected to stream forwarding according to the task coding information specified in the task skip script information in the S6, if the task coding information specified in the task skip script information is not empty, performing stream forwarding according to the task coding information; otherwise, acquiring the next task instance with the task state information of the next task instance which is not started according to the task sequence information, and circulating the task instance.
Specifically, the task sequence information is used for representing the starting sequence of the task instance, when a JavaScript script is used for jumping, if the task coding information is not empty, the approval task is not completed, the approval task stays at the current task and subsequent circulation is performed; and if the task coding information is empty, directly returning and finding the first task which is not started according to the task sequence information, updating the state of the task to be executed and circulating.
In the improvement, after a task is processed, the next task to be executed can be automatically skipped, so that the operation of the approval process is more concise and efficient.
Example 2
As shown in fig. 3, a system for implementing configurable process approval, the system comprising:
the process template module is used for defining at least one process template for initiating an approval process by taking the approval process ID number as the primary key information, and configuring non-primary key information in the process template according to the requirement of approval operation;
the task template module is used for defining at least one task template for generating a task instance in an approval process by taking a serial number as primary key information and configuring non-primary key information in the task template according to the requirement of approval operation, wherein the non-primary key information in the task template comprises information corresponding to the primary key information of the process template in the process template module;
the flow example module is used for selecting one flow template from the flow templates defined in the flow template module according to the requirement of approval operation to create a flow example with an approval flow number as primary key information, and the non-primary key information in the flow example comprises primary key information and non-primary key information in the flow template module;
and the task instance module is used for selecting one task template from the task templates defined in the task template module according to the requirement of approval operation in the process instance created in the process instance module, creating a task instance with the serial number as the main key information according to the selected task template, wherein the non-main key information in the task instance comprises the main key information of the process instance in the process instance template and the main key information and the non-main key information of the task template in the task template module.
Specifically, the process template uses the approval process ID number as the primary key information to distinguish different types of process templates, the primary key information and the non-primary key information in the process template are set for creating process instances, and each process instance includes all the primary key information and the non-primary key information in the process template to which the process template belongs.
The non-primary key information in the flow template may further include: version number, name of examination and approval process, description of examination and approval process, number of created work, creation time, number of modified work and modification time.
The task template uses the serial number as the primary key information to distinguish different task instances in one process instance, the primary key information and the non-primary key information in the task template are set for creating the task instance, and each task instance comprises all the primary key information and the non-primary key information of the task template to which the task instance belongs.
The non-primary key information in the task template comprises an approval process ID number corresponding to the process template, and is used for indicating the process instance to which the task template belongs. The non-primary key information in the task template may also include version number, task name, task description, permission to assign user role (which the task instance is allowed to assign to the employee user of which role, multiple roles may be specified), current handler, create job number, create time, modify job number, and modify time.
The process example uses the approval sequence number as the primary key information to distinguish each process example, the non-primary key information in the process example comprises an approval process ID number used for indicating which type of process template the process example belongs to, and the non-primary key information in the process example further comprises: version number, flow state (default includes: 0-not started; 1-in execution; 2-completed; 3-terminated), create job number, create time, modify job number, and modify time.
The task instances take the serial number as the primary key information for distinguishing each task instance, and the non-primary key information in the task instances comprises an approval serial number, an approval process ID number, a version number, task sequence information, task coding information, task state information, task jump script information, permission assignment of a user role, a current handler, a creation work number and creation time.
The invention simplifies the elements in the workflow of the approval process with stronger customization, uses the primary key information to string up the approval of the whole process, uses the configurable non-primary key information to define other information, simply and flexibly realizes the serial approval process, has low development difficulty, effectively separates the actual service from the flow circulation, has strong universality of the approval process and is convenient for project integration and maintenance.
Further, as shown in fig. 4, the system further includes:
and the task instance list module is used for creating a task instance list for recording operation information related to the task instance by taking the serial number in the task instance module as primary key information, wherein the non-primary key information in the task instance list comprises the primary key information of the process instance in the process instance module.
Specifically, the task instance form records some additional operation information in a single task instance, generally associates with the primary key of the process instance, and may use an external form for association.
The primary key information of the task instance form is a serial number, and the non-primary key information comprises: the method comprises the steps of examining and approving serial numbers, task sequence information, task coding information, task form attributes, values corresponding to the task form attributes, creation work numbers and creation time.
In the improvement, the task instance form records operation information related to a single task, and the task can be conveniently searched and operated.
Further, the non-primary key information in the task instance in the task template module further includes: task coding information, task state information and task skipping script information; as shown in fig. 4, the system further includes:
and the task instance circulation module is used for circulating the task instance according to the task coding information specified by the task skipping script information in the task instance module in the approval operation process of the user on the task instance, and modifying the task state information of the task instance according to the task coding information after the circulation is successful.
Specifically, the non-primary key information in the task template includes: the task state information comprises task bar script information, jump script (JavaScript script) is adopted to carry out next step jump according to the task coding information, for example, the jump from the un-signed jump task coding information is signed, the jump from the signed jump task coding information is on-line operation, and the like.
In the improvement, task jump script information is adopted to define the circulation process of a task instance, so that the process approval has the characteristics of light weight, easy integration and convenient maintenance.
Further, the task template module is also used for fixedly setting and generating the task skipping script information when the task template is created, or generating the task skipping script information according to a user-defined expression which is input by a user in the process of approval operation and corresponds to the task template.
Specifically, the task flow includes two cases:
the cured flow twists, i.e. the basic twisting pattern has been defined in the rules: the next task is started after approval; the approval rejection task will be signed by the applicant and proceed with execution.
And (4) custom skipping: and skipping of the specified step is carried out through a self-defined expression and the input auditing state or form field.
In the improvement, the approval process supports process customization, and the execution sequence and steps of the process are allowed to be specified; supporting the process gateway function and allowing the designated jump according to the operation result; after the error operation is allowed, the data rollback of any step further expands the configurability of the process approval and the convenience of maintenance.
Further, the non-primary key information in the task instance module also includes task sequence information;
the task instance circulation module is also used for judging whether the task coding information is empty or not when the task instance is circulated according to the task coding information specified in the task jump script information, and carrying out circulation on the task instance according to the task coding information if the task coding information is not empty; and if the task coding information is empty, acquiring the next task instance with the task state information of not starting according to the task sequence information, and circulating the task instance.
Specifically, the task sequence information is used for representing the starting sequence of the task instance, when a JavaScript script is used for jumping, if the task coding information is not empty, the approval task is not completed, the approval task stays at the current task and subsequent circulation is performed; and if the task coding information is empty, directly returning and finding the first task which is not started according to the task sequence information, updating the state of the task to be executed and circulating.
In the improvement, after a task is processed, the next task to be executed can be automatically skipped, so that the operation of the approval process is more concise and efficient.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (6)

1. A method for realizing configurable process approval is characterized by comprising the following steps:
s1, defining at least one process template for initiating the examination and approval process by taking the ID number of the examination and approval process as the primary key information, and configuring non-primary key information in the process template according to the requirement of the examination and approval operation;
s2, defining at least one task template for generating task instances in the approval process by taking the serial number as the primary key information, and configuring non-primary key information in the task template according to the requirement of the approval operation, wherein the non-primary key information in the task template comprises information corresponding to the primary key information of the process template in S1;
s3, selecting one flow template from the flow templates defined in S1 according to the requirement of the approval operation to create a flow instance with the approval flow number as the primary key information, wherein the non-primary key information in the flow instance comprises the primary key information and the non-primary key information in the flow template in S1;
s4, selecting one task template from the task templates defined in S2 according to the requirement of the approval operation in the process example created in S3, creating a task example with the serial number as the main key information according to the selected task template, wherein the non-main key information in the task example comprises the main key information of the process example in S3 and the main key information and the non-main key information of the task template in S2;
the method further comprises the following steps:
s5, a task instance form used for recording operation information related to the task instance is created by taking the serial number in the task instance in the S4 as primary key information, and non-primary key information in the task instance form comprises the primary key information of the process instance in the S3;
the non-primary key information in the task template in S2 further includes: task coding information, task state information and task skipping script information; the method further comprises the following steps:
and S6, in the process of approval operation of the task instance by the user, the task instance is circulated according to the task coding information specified by the task jump script information in the task instance, and after the circulation is successful, the task state information of the task instance is modified according to the task coding information.
2. The method for implementing configurable process approval according to claim 1, wherein the task jump script information in S2 is generated in a manner that: and fixedly setting and generating when the task template is created, or generating according to a user-defined expression which is input by a user in the process of examination and approval and corresponds to the task template.
3. The method for implementing configurable process approval according to claim 1 or 2, wherein the non-primary key information in the task instance in S4 further includes task sequence information;
when the task instance is subjected to stream forwarding according to the task coding information specified in the task skip script information in the S6, if the task coding information specified in the task skip script information is not empty, performing stream forwarding according to the task coding information; otherwise, acquiring the next task instance with the task state information of the next task instance which is not started according to the task sequence information, and circulating the task instance.
4. A system for implementing configurable process approval, the system comprising:
the process template module is used for defining at least one process template for initiating an approval process by taking the approval process ID number as the primary key information, and configuring non-primary key information in the process template according to the requirement of approval operation;
the task template module is used for defining at least one task template for generating a task instance in an approval process by taking a serial number as primary key information and configuring non-primary key information in the task template according to the requirement of approval operation, wherein the non-primary key information in the task template comprises information corresponding to the primary key information of the process template in the process template module;
the flow example module is used for selecting one flow template from the flow templates defined in the flow template module according to the requirement of approval operation to create a flow example with an approval flow number as primary key information, and the non-primary key information in the flow example comprises primary key information and non-primary key information in the flow template module;
the task instance module is used for selecting a task template from task templates defined in the task template module according to the requirement of approval operation in the process instance created in the process instance module, creating a task instance with the serial number as the main key information according to the selected task template, wherein the non-main key information in the task instance comprises the main key information of the process instance in the process instance template and the main key information and the non-main key information of the task template in the task template module;
the system further comprises:
a task instance form module, configured to create a task instance form for recording operation information related to the task instance by using the serial number in the task instance module as primary key information, where non-primary key information in the task instance form includes primary key information of the process instance in the process instance module;
the non-primary key information in the task instance in the task template module further includes: task coding information, task state information and task skipping script information; the system further comprises:
and the task instance circulation module is used for circulating the task instance according to the task coding information specified by the task skipping script information in the task instance module in the approval operation process of the user on the task instance, and modifying the task state information of the task instance according to the task coding information after the circulation is successful.
5. The system for implementing configurable process approval as recited in claim 4, wherein the task template module is further configured to generate the task jump script information according to a fixed setting during creation of the task template, or according to a custom expression corresponding to the task template and input by a user during an approval process.
6. The system for implementing configurable process approval according to claim 4 or 5, wherein the non-primary key information in the task instance module further includes task sequence information;
the task instance circulation module is also used for judging whether the task coding information is empty or not when the task instance is circulated according to the task coding information specified in the task jump script information, and carrying out circulation on the task instance according to the task coding information if the task coding information is not empty; and if the task coding information is empty, acquiring the next task instance with the task state information of not starting according to the task sequence information, and circulating the task instance.
CN201710253806.5A 2017-04-18 2017-04-18 Method and system for realizing configurable process approval Active CN107038533B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710253806.5A CN107038533B (en) 2017-04-18 2017-04-18 Method and system for realizing configurable process approval

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710253806.5A CN107038533B (en) 2017-04-18 2017-04-18 Method and system for realizing configurable process approval

Publications (2)

Publication Number Publication Date
CN107038533A CN107038533A (en) 2017-08-11
CN107038533B true CN107038533B (en) 2020-10-30

Family

ID=59535940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710253806.5A Active CN107038533B (en) 2017-04-18 2017-04-18 Method and system for realizing configurable process approval

Country Status (1)

Country Link
CN (1) CN107038533B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108305053A (en) * 2018-03-14 2018-07-20 武汉斗鱼网络科技有限公司 Implementation method, device, electronic equipment and the storage medium of approval process
CN109064136A (en) * 2018-08-01 2018-12-21 北京奇虎科技有限公司 The management method and device of product treatment process calculate equipment, storage medium
CN109165856B (en) * 2018-08-31 2023-08-08 平安科技(深圳)有限公司 Dynamic configuration method, device and storage medium of approval chain
CN109377177B (en) * 2018-10-18 2020-12-01 东软集团股份有限公司 Flow processing method, device, equipment and computer readable storage medium
CN110633959A (en) * 2019-09-20 2019-12-31 杭州博联智能科技股份有限公司 Method, device, equipment and medium for creating approval task based on graph structure
CN111400274A (en) * 2019-12-06 2020-07-10 杭州美创科技有限公司 Method for designing approval process state field of web application
CN111027933A (en) * 2019-12-09 2020-04-17 中国建设银行股份有限公司 Approval transfer method, device and system and electronic equipment
CN111353754B (en) * 2020-02-19 2023-07-25 望海康信(北京)科技股份公司 Method and device for generating flow template, electronic equipment and readable storage medium
CN111400310B (en) * 2020-02-23 2023-03-21 中国平安财产保险股份有限公司 Data monitoring method based on approval chain configuration, server and storage medium
CN111736929B (en) * 2020-06-22 2024-04-12 北京百度网讯科技有限公司 Method, apparatus, device and readable storage medium for creating task instance
CN114268659A (en) * 2020-09-14 2022-04-01 华为云计算技术有限公司 Service construction method, related device and computer readable storage medium
CN113792534A (en) * 2021-03-02 2021-12-14 京东科技控股股份有限公司 Method and device for processing flow
CN112819445A (en) * 2021-03-10 2021-05-18 郑州时空隧道信息技术有限公司 Workflow approval method and system
CN113222539A (en) * 2021-04-30 2021-08-06 中核武汉核电运行技术股份有限公司 Approval process implementation method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1278148A1 (en) * 2001-07-19 2003-01-22 Océ-Technologies B.V. Method for creating a workflow
US20140350994A1 (en) * 2013-05-23 2014-11-27 International Business Machines Corporation Providing best practice workflow to aid user in completing project that is constantly updated based on user feedback
CN104216912B (en) * 2013-06-04 2017-10-27 广州中国科学院软件应用技术研究所 The implementation method and device of a kind of business form work fluidisation without intrusive mood
CN105989440A (en) * 2015-02-12 2016-10-05 杨波 Process customization processing method and workflow engine thereof
CN105046408A (en) * 2015-06-25 2015-11-11 国网山东省电力公司 Configurable workflow realization method and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"A self-adaptation scheme for workflow management in multi-agent systems";Fu-Shiung Hsieh et al.;《Journal of Intelligent Manufacturing》;20161231;第131-148页 *
"基于Activiti框架的在线审批流程应用研究";李修云;《计算机科学》;20160630;第43卷(第6A期);第555-557页 *
"面向角色的动态审批流程的研究";张霞 等;《计算机应用与软件》;20110131;第28卷(第1期);第193-252页 *

Also Published As

Publication number Publication date
CN107038533A (en) 2017-08-11

Similar Documents

Publication Publication Date Title
CN107038533B (en) Method and system for realizing configurable process approval
US10289409B2 (en) Systems, methods, and apparatus for migrating code to a target environment
CN110390496B (en) Workflow design method suitable for complex and changeable services and organizations
AU2011213842B2 (en) A system and method of managing mapping information
JP5559356B2 (en) Software development method and apparatus therefor
US20120197836A1 (en) Portable data management
CN112150015A (en) Task allocation method and device
CN106557307B (en) Service data processing method and system
US10929279B2 (en) Systems and method for automated testing framework for service portal catalog
US9116708B2 (en) Program creation support apparatus, program, and information system
CN103810555A (en) Scheduling method and system for regular maintenance items
CN110597565A (en) Automatic configuration item change flow control method used in CMDB management
CN114926143A (en) Method and platform for configuring enterprise workflow based on business components and process engine
CN110728371A (en) System, method and electronic device for executing automatic machine learning scheme
CN111144837A (en) Flow arrangement method and device, storage medium and electronic equipment
CN108628733A (en) The test method and device of batch service processing operation
US20090024424A1 (en) System and method for dynamic linking of business processes
US20140310070A1 (en) Coordinated business rules management and mixed integer programming
CN108876309A (en) The starting method, apparatus and storage medium and electronic equipment of flow chart
CN110838338B (en) Biological analysis item establishment system, biological analysis item establishment method, storage medium, and electronic device
CN104239049B (en) A kind of method and system that picture is handled in text edit box
CN115827051A (en) Software integration management system, method and server
CN112418796A (en) Sub-process node activation method and device, electronic equipment and storage medium
JP5540856B2 (en) Apparatus and method for setting a workflow
US20120215819A1 (en) Tool for removing inactive objects

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
GR01 Patent grant
GR01 Patent grant