CN107038533A - A kind of method and system for realizing configurableization workflow examination and approval - Google Patents

A kind of method and system for realizing configurableization workflow examination and approval Download PDF

Info

Publication number
CN107038533A
CN107038533A CN201710253806.5A CN201710253806A CN107038533A CN 107038533 A CN107038533 A CN 107038533A CN 201710253806 A CN201710253806 A CN 201710253806A CN 107038533 A CN107038533 A CN 107038533A
Authority
CN
China
Prior art keywords
task
information
template
key information
instances
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.)
Granted
Application number
CN201710253806.5A
Other languages
Chinese (zh)
Other versions
CN107038533B (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

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

Abstract

The present invention relates to a kind of method and system for realizing configurableization workflow examination and approval, belong to configurableization workflow examination and approval field, solve the complicated and inflexible problem in conversational traffic workflow management.The present invention is configured by being that main key information defines flow template for initiating approval process with approval process ID, and according to the need for review operation to the non-master key information in flow template;The task template for producing the task instances in approval process is defined by main key information of serial number;Flow template is selected to create to examine flow instance of the serial number as main key information according to the need for review operation;Task template is selected to create the task instances using serial number as main key information according to the need for review operation in flow instance.For the element in approval process workflow to be simplified, whole flow process examination & approval are strung with major key information, non-primary key information realization is configurable, the serial approval process of realization of simple and flexible.

Description

A kind of method and system for realizing configurableization workflow examination and approval
Technical field
The present invention relates to configurableization workflow examination and approval field, and in particular to a kind of method for realizing configurableization workflow examination and approval And system.
Background technology
BPM (BPM) substance is the flow for managing set work, by service orchestration, unified regulation and control Each operation flow, is performed with ensuring to be operated in the correct time by correct people, reaches the purpose of the overall business procedure of optimization. The workflow of BPMN2.0 (Business Process Modeling and mark) specification, such as Activiti (a kind of workflow engine), is by work Dynamic, gateway, time go one flow of definition, and set is used under some scenes, it appears excessively heavy and dumb.For example, each Step examination & verification is required for definition, if multiple examination & approval steps, refuses to be required for defining the processing side for returning back to applicant each time Next step after formula and processing is redirected, it appears especially complex.If there is maloperation, will can not appointed task retracted. Under the business scenario serially audited, seldom there is situation about conutersigning.If introducing the workflow of these BPMN2.0 specifications, it will increase The difficulty of exploitation, and very simple part of functions has only been used under these scenes.
The content of the invention
The technical problems to be solved by the invention are to realize configurableization flow there is provided one kind in view of the shortcomings of the prior art The method and system of examination & approval, it is therefore intended that the element in the stronger approval process workflow of customization is simplified, major key is used Information strings whole flow process examination & approval, and with configurable non-primary key information definition other information, realizing for simple and flexible is serial careful Flow is criticized, development difficulty is low, practical business is efficiently separated with workflow, the highly versatile of approval process is easy to Item Sets Into and safeguard.
The technical scheme that the present invention solves above-mentioned technical problem is as follows:
A kind of method for realizing configurableization workflow examination and approval, comprises the following steps:
S1, with approval process, No. ID is that main key information defines at least one flow template for being used to initiate approval process, and The non-master key information in flow template is configured according to the need for review operation;
S2, at least one task mould for being used to produce the task instances in approval process is defined by main key information of serial number Plate, and according to being configured to the non-master key information in task template the need for review operation, the non-master in the task template Key information includes the information corresponding with the major key information of flow template described in S1;
S3, is created to examine according to one flow template of selection in the flow template the need for review operation defined in S1 Serial number is that the non-primary key information in the flow instance of main key information, the flow instance includes the master described in S1 in flow template Key information and non-master key information;
Selected in S4, the flow instance created in S3 according in the task template the need for review operation defined in S2 One task template, the task instances using serial number as main key information, the task instances are created according to selected task template In non-primary key information include S3 described in flow instance major key information and S2 described in task template major key information and Non-master key information.
The beneficial effects of the invention are as follows:Element in the stronger approval process workflow of customization is simplified, with master Key information strings whole flow process examination & approval, and with configurable non-primary key information definition other information, realizing for simple and flexible is serial Approval process, development difficulty is low, practical business is efficiently separated with workflow, the highly versatile of approval process, is easy to project Integrated and maintenance.
On the basis of above-mentioned technical proposal, the present invention can also do following improvement:
Further, methods described also includes:
S5, creates real with the task for recording by main key information of the serial number in task instances described in the S4 Non-primary key information in the task instances list of the relevant operation information of example, the task instances list includes flowing described in the S3 The major key information of journey example.
Beneficial effect using above-mentioned further scheme is:Task instances list have recorded the related operation letter of individual task Breath, can facilitate the lookup and operation of task.
Further, the non-master key information described in the S2 in task template also includes:Task encoding information, task status Information and task redirect script information;Methods described also includes:
S6, during review operation of the user to the task instances, the task in the task instances is redirected The task encoding information that script information is specified circulates to the task instances, and is compiled after circulating successfully according to the task Code information changes the task status information of the task instances.
Beneficial effect using above-mentioned further scheme is:Script information is redirected using task to define the stream of task instances Journey is turned over, makes the characteristics of workflow examination and approval has lightweight, easily integrates and be easy to safeguard.
Further, the generating mode that task redirects script information described in the S2 is:When creating the task template Generation is fixedly installed, or the user-defined data table corresponding with the task template inputted according to user during review operation reaches Formula is generated.
Beneficial effect using above-mentioned further scheme is:Make approval process support process self-defined, it is allowed to specify flow Execution sequence and step;Support process gateway function, it is allowed to specified and redirected according to operating result;Allow after faulty operation, appoint The data-backoff for step of anticipating, the convenience further expanded the configurability of workflow examination and approval and safeguarded.
Further, the non-master key information described in the S4 in task instances also includes task order information;
The task encoding information specified in script information is redirected described in the S6 according to task to flow task instances When turning, if it is not sky that the task, which redirects the task encoding information specified in script information, according to task encoding information to this Task instances are circulated;Otherwise, it is do not start next according to the task order information acquisition task status information Pragmatic example, and the task instances are circulated.
Beneficial effect using above-mentioned further scheme is:It can be automatic jumped to after a task has been handled next Pending task, makes the operation of approval process more succinct efficient.
A kind of system for realizing configurableization workflow examination and approval, the system includes:
Flow template module, is that main key information defines at least one for initiating approval process for No. ID with approval process Flow template, and the non-master key information in flow template is configured according to the need for review operation;
Task template module, is used to produce appointing in approval process for defining at least one by main key information of serial number The task template of pragmatic example, and according to being configured to the non-master key information in task template the need for review operation, described Non-master key information in business template includes the information corresponding with the major key information of flow template described in flow template module;
Flow instance module, for being selected according in the flow template the need for review operation defined in flow template module A flow template is selected to create to examine the non-primary key packet in flow instance of the serial number as main key information, the flow instance Include major key information and non-master key information in flow template described in flow template module;
Task instances module, in the flow instance that is created in flow instance module according to review operation the need for A task template is selected in task template defined in task template module, is created according to selected task template with flowing water Number it is the task instances of main key information, the non-primary key information in the task instances includes flow instance described in flow instance template Major key information and task template module described in task template major key information and non-master key information.
The beneficial effects of the invention are as follows:Element in the stronger approval process workflow of customization is simplified, with master Key information strings whole flow process examination & approval, and with configurable non-primary key information definition other information, realizing for simple and flexible is serial Approval process, development difficulty is low, practical business is efficiently separated with workflow, the highly versatile of approval process, is easy to project Integrated and maintenance.
On the basis of above-mentioned technical proposal, the present invention can also do following improvement:
Further, the system also includes:
Task instances form module, for using the serial number in task instances described in the task instances module as major key Information creating is used in the task instances list for recording the operation information relevant with the task instances, the task instances list Non-primary key information includes the major key information of flow instance described in the flow instance module.
Beneficial effect using above-mentioned further scheme is:Task instances list have recorded the related operation letter of individual task Breath, can facilitate the lookup and operation of task.
Further, the non-master key information described in the task template module in task instances also includes:Task encoding is believed Breath, task status information and task redirect script information;The system also includes:
Task instances circulation module, for during review operation of the user to the task instances, according to described Task in business example module redirects the task encoding information that script information specifies and the task instances is circulated, and is flowing Change into after work(and the task status information of the task instances is changed according to the task encoding information.
Beneficial effect using above-mentioned further scheme is:Script information is redirected using task to define the stream of task instances Journey is turned over, makes the characteristics of workflow examination and approval has lightweight, easily integrates and be easy to safeguard.
Further, the task template module is additionally operable to that the generation task is fixedly installed when creating the task template Script information is redirected, or the user-defined data table corresponding with the task template inputted according to user during review operation reaches Formula generates the task and redirects script information.
Beneficial effect using above-mentioned further scheme is:Make approval process support process self-defined, it is allowed to specify flow Execution sequence and step;Support process gateway function, it is allowed to specified and redirected according to operating result;Allow after faulty operation, appoint The data-backoff for step of anticipating, the convenience further expanded the configurability of workflow examination and approval and safeguarded.
Further, the non-master key information described in the task instances module in task instances also includes task order letter Breath;
Task instances circulation module is additionally operable to redirecting the task encoding information specified in script information according to task When being circulated to task instances, whether be empty, if task encoding information is not sky, according to task if judging task encoding information Coding information circulates to the task instances;If task encoding information is sky, according to the task order information acquisition task Status information is the next task example not started, and the task instances are circulated.
Beneficial effect using above-mentioned further scheme is:It can be automatic jumped to after a task has been handled next Pending task, makes the operation of approval process more succinct efficient.
Brief description of the drawings
Fig. 1 is a kind of flow chart for the method for realizing configurableization workflow examination and approval in the embodiment of the present invention 1;
Fig. 2 be the embodiment of the present invention 1 in improve after realization configurableization workflow examination and approval method flow chart;
Fig. 3 is a kind of structured flowchart for the system for realizing configurableization workflow examination and approval in the embodiment of the present invention 2;
Fig. 4 be the embodiment of the present invention 2 in improve after realization configurableization workflow examination and approval system structured flowchart.
Embodiment
The principle and feature of the present invention are described below in conjunction with accompanying drawing, the given examples are served only to explain the present invention, and It is non-to be used to limit the scope of the present invention.
Embodiment 1
As shown in figure 1, a kind of method for realizing configurableization workflow examination and approval, comprises the following steps:
S1, with approval process, No. ID is that main key information defines at least one flow template for being used to initiate approval process, and The non-master key information in flow template is configured according to the need for review operation;
S2, at least one task mould for being used to produce the task instances in approval process is defined by main key information of serial number Plate, and according to being configured to the non-master key information in task template the need for review operation, the non-master in the task template Key information includes the information corresponding with the major key information of flow template described in S1;
S3, is created to examine according to one flow template of selection in the flow template the need for review operation defined in S1 Serial number is that the non-primary key information in the flow instance of main key information, the flow instance includes the master described in S1 in flow template Key information and non-master key information;
Selected in S4, the flow instance created in S3 according in the task template the need for review operation defined in S2 One task template, the task instances using serial number as main key information, the task instances are created according to selected task template In non-primary key information include S3 described in flow instance major key information and S2 described in task template major key information and Non-master key information.
Specifically, flow template with approval process ID for main key information, different types of flow template is distinguished with this, Major key information and non-master key information in flow template are provided to visioning procedure example and set, and each flow instance is wrapped Containing all major key information and non-master key information in the flow template belonging to it.
Non-master key information in flow template can also include:Version number, approval process title, approval process description, wound Build job number, creation time, modification job number and modification time.
Using serial number as main key information in task template, the different task example in a flow instance is distinguished with this, Major key information and non-master key information in task template are provided to create task instances and set, and each task instances is wrapped All major key information and non-master key information containing the task template belonging to it.
Non-primary key information in task template includes the approval process ID corresponding with flow template, for representing this Which flow instance task template belongs to.Non-master key information in task template can also include version number, task names, appoint Business describes, allows to assign user role (to be assigned to the employee user behaviour of which kind of role for setting the task instances to allow Make, it is possible to specify various rolls), currently processed people, create job number, creation time, modification job number and modification time.
Flow instance is distinguished in each flow instance, flow instance to examine serial number as main key information with this Non-primary key information includes approval process ID, and for representing that the flow instance belongs to the flow template of which type, flow is real Non-master key information in example also includes:(acquiescence includes for version number, flow state:0- does not start;During 1- is performed;2- is completed;3- is whole Only), job number, creation time, modification job number and modification time are created.
Task instances are using serial number as main key information, for distinguishing the non-primary key in each task instances, task instances Information includes examination & approval serial number, approval process ID, version number, task order information, task encoding information, task status letter Breath, task redirect script information, allow to assign user role, currently processed people, create job number and creation time.
The present invention is simplified the element in the stronger approval process workflow of customization, is strung entirely with major key information Workflow examination and approval, with configurable non-primary key information definition other information, simple and flexible realizes serial approval process, and exploitation is difficult Degree is low, practical business is efficiently separated with workflow, the highly versatile of approval process is easy to project integrated and safeguarded.
Further, as shown in Fig. 2 methods described also includes:
S5, creates real with the task for recording by main key information of the serial number in task instances described in the S4 Non-primary key information in the task instances list of the relevant operation information of example, the task instances list includes flowing described in the S3 The major key information of journey example.
Specifically, task instances list, which is used, records certain operations information extra in single task instances, general same flow The major key of example is associated, and outside list can be used to associate.
The major key information of task instances list is serial number, and non-primary key information includes:Examine serial number, task order letter The corresponding value of breath, task encoding information, task form attribute, task form attribute, establishment job number and creation time.
In the improvement, task instances list have recorded the related operation information of individual task, can facilitate task lookup and Operation.
Further, the non-master key information described in the S2 in task template also includes:Task encoding information, task status Information and task redirect script information;As shown in Fig. 2 methods described also includes:
S6, during review operation of the user to the task instances, the task in the task instances is redirected The task encoding information that script information is specified circulates to the task instances, and is compiled after circulating successfully according to the task Code information changes the task status information of the task instances.
Specifically, the non-primary key information in task template includes:Task encoding information (is used for representing that task instances proceed to Which step circulation process, circulation for specifying next step), task status information (represent the state of task instances, acquiescence can To there is following several states:0- does not start;1- is copending;In 2- examination & approval;3- passes through;4- refuses;5- terminate, can also according to Family needs self-defined other status informations), in addition to taskbar this script information, using redirecting script (JavaScript pin This), next step is carried out according to task encoding information and redirected, such as is signing from the unsigned task encoding information that redirects, from having signed Task encoding information is about redirected for operation etc. of reaching the standard grade.
In the improvement, redirect script information using task to define the circulation process of task instances, there is workflow examination and approval Lightweight, easily the characteristics of integrate and be easy to safeguard.
Further, the generating mode that task redirects script information described in the S2 is:When creating the task template Generation is fixedly installed, or the user-defined data table corresponding with the task template inputted according to user during review operation reaches Formula is generated.
Specifically, the circulation of task includes two kinds of situations:
Cured flow is reversed, i.e. the basic torsional mode defined in rule:Examination & approval pass through can be by next step task Open;Examination & approval refusal task will be signed for and continued executing with by applicant.
It is self-defined to redirect:By customized expression formula, by the examination & verification state or form fields of input, to be specified Step is redirected.
In the improvement, make approval process support process self-defined, it is allowed to specify the execution sequence and step of flow;Support stream Journey gateway function, it is allowed to specified and redirected according to operating result;Allow after faulty operation, the data-backoff of arbitrary steps, further The convenience expanded the configurability of workflow examination and approval and safeguarded.
Further, the non-master key information described in the S2 in task template also includes task order information;
The task encoding information specified in script information is redirected described in the S6 according to task to flow task instances When turning, if it is not sky that the task, which redirects the task encoding information specified in script information, according to task encoding information to this Task instances are circulated;Otherwise, it is do not start next according to the task order information acquisition task status information Pragmatic example, and the task instances are circulated.
Specifically, task order information is used for representing the beginning order of task instances, enter using JavaScript scripts When row is redirected, if task encoding information is not sky, examination & approval task is not completed, and is rested on current task and is subsequently circulated; If task encoding information is sky, directly returns and first not starting for task is found according to task order information, updating should The state of task is pending and circulated.
In the improvement, next pending task can be automatic jumped to after a task has been handled, examination & approval are flowed The operation of journey is more succinct efficient.
Embodiment 2
As shown in figure 3, a kind of system for realizing configurableization workflow examination and approval, the system includes:
Flow template module, is that main key information defines at least one for initiating approval process for No. ID with approval process Flow template, and the non-master key information in flow template is configured according to the need for review operation;
Task template module, is used to produce appointing in approval process for defining at least one by main key information of serial number The task template of pragmatic example, and according to being configured to the non-master key information in task template the need for review operation, described Non-master key information in business template includes the information corresponding with the major key information of flow template described in flow template module;
Flow instance module, for being selected according in the flow template the need for review operation defined in flow template module A flow template is selected to create to examine the non-primary key packet in flow instance of the serial number as main key information, the flow instance Include major key information and non-master key information in flow template described in flow template module;
Task instances module, in the flow instance that is created in flow instance module according to review operation the need for A task template is selected in task template defined in task template module, is created according to selected task template with flowing water Number it is the task instances of main key information, the non-primary key information in the task instances includes flow instance described in flow instance template Major key information and task template module described in task template major key information and non-master key information.
Specifically, flow template with approval process ID for main key information, different types of flow template is distinguished with this, Major key information and non-master key information in flow template are provided to visioning procedure example and set, and each flow instance is wrapped Containing all major key information and non-master key information in the flow template belonging to it.
Non-master key information in flow template can also include:Version number, approval process title, approval process description, wound Build job number, creation time, modification job number and modification time.
Using serial number as main key information in task template, the different task example in a flow instance is distinguished with this, Major key information and non-master key information in task template are provided to create task instances and set, and each task instances is wrapped All major key information and non-master key information containing the task template belonging to it.
Non-primary key information in task template includes the approval process ID corresponding with flow template, for representing this Which flow instance task template belongs to.Non-master key information in task template can also include version number, task names, appoint Business describes, allows to assign user role (to be assigned to the employee user behaviour of which kind of role for setting the task instances to allow Make, it is possible to specify various rolls), currently processed people, create job number, creation time, modification job number and modification time.
Flow instance is distinguished in each flow instance, flow instance to examine serial number as main key information with this Non-primary key information includes approval process ID, and for representing that the flow instance belongs to the flow template of which type, flow is real Non-master key information in example also includes:(acquiescence includes for version number, flow state:0- does not start;During 1- is performed;2- is completed;3- is whole Only), job number, creation time, modification job number and modification time are created.
Task instances are using serial number as main key information, for distinguishing the non-primary key in each task instances, task instances Information includes examination & approval serial number, approval process ID, version number, task order information, task encoding information, task status letter Breath, task redirect script information, allow to assign user role, currently processed people, create job number and creation time.
The present invention is simplified the element in the stronger approval process workflow of customization, is strung entirely with major key information Workflow examination and approval, with configurable non-primary key information definition other information, simple and flexible realizes serial approval process, and exploitation is difficult Degree is low, practical business is efficiently separated with workflow, the highly versatile of approval process is easy to project integrated and safeguarded.
Further, as shown in figure 4, the system also includes:
Task instances form module, for using the serial number in task instances described in the task instances module as major key Information creating is used in the task instances list for recording the operation information relevant with the task instances, the task instances list Non-primary key information includes the major key information of flow instance described in the flow instance module.
Specifically, task instances list, which is used, records certain operations information extra in single task instances, general same flow The major key of example is associated, and outside list can be used to associate.
The major key information of task instances list is serial number, and non-primary key information includes:Examine serial number, task order letter The corresponding value of breath, task encoding information, task form attribute, task form attribute, establishment job number and creation time.
In the improvement, task instances list have recorded the related operation information of individual task, can facilitate task lookup and Operation.
Further, the non-master key information described in the task template module in task instances also includes:Task encoding is believed Breath, task status information and task redirect script information;As shown in figure 4, the system also includes:
Task instances circulation module, for during review operation of the user to the task instances, according to described Task in business example module redirects the task encoding information that script information specifies and the task instances is circulated, and is flowing Change into after work(and the task status information of the task instances is changed according to the task encoding information.
Specifically, the non-primary key information in task template includes:Task encoding information (is used for representing that task instances proceed to Which step circulation process, circulation for specifying next step), task status information (represent the state of task instances, acquiescence can To there is following several states:0- does not start;1- is copending;In 2- examination & approval;3- passes through;4- refuses;5- terminate, can also according to Family needs self-defined other status informations), in addition to taskbar this script information, using redirecting script (JavaScript pin This), next step is carried out according to task encoding information and redirected, such as is signing from the unsigned task encoding information that redirects, from having signed Task encoding information is about redirected for operation etc. of reaching the standard grade.
In the improvement, redirect script information using task to define the circulation process of task instances, there is workflow examination and approval Lightweight, easily the characteristics of integrate and be easy to safeguard.
Further, the task template module is additionally operable to that the generation task is fixedly installed when creating the task template Script information is redirected, or the user-defined data table corresponding with the task template inputted according to user during review operation reaches Formula generates the task and redirects script information.
Specifically, the circulation of task includes two kinds of situations:
Cured flow is reversed, i.e. the basic torsional mode defined in rule:Examination & approval pass through can be by next step task Open;Examination & approval refusal task will be signed for and continued executing with by applicant.
It is self-defined to redirect:By customized expression formula, by the examination & verification state or form fields of input, to be specified Step is redirected.
In the improvement, make approval process support process self-defined, it is allowed to specify the execution sequence and step of flow;Support stream Journey gateway function, it is allowed to specified and redirected according to operating result;Allow after faulty operation, the data-backoff of arbitrary steps, further The convenience expanded the configurability of workflow examination and approval and safeguarded.
Further, the non-master key information described in the task instances module in task instances also includes task order letter Breath;
Task instances circulation module is additionally operable to redirecting the task encoding information specified in script information according to task When being circulated to task instances, whether be empty, if task encoding information is not sky, according to task if judging task encoding information Coding information circulates to the task instances;If task encoding information is sky, according to the task order information acquisition task Status information is the next task example not started, and the task instances are circulated.
Specifically, task order information is used for representing the beginning order of task instances, enter using JavaScript scripts When row is redirected, if task encoding information is not sky, examination & approval task is not completed, and is rested on current task and is subsequently circulated; If task encoding information is sky, directly returns and first not starting for task is found according to task order information, updating should The state of task is pending and circulated.
In the improvement, next pending task can be automatic jumped to after a task has been handled, examination & approval are flowed The operation of journey is more succinct efficient.
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.

Claims (10)

1. a kind of method for realizing configurableization workflow examination and approval, it is characterised in that comprise the following steps:
S1, is that main key information defines at least one flow template for being used to initiate approval process with approval process ID, and according to The non-master key information in flow template is configured the need for review operation;
S2, at least one task template for being used to produce the task instances in approval process is defined by main key information of serial number, And according to being configured to the non-master key information in task template the need for review operation, the non-primary key letter in the task template Breath includes the information corresponding with the major key information of flow template described in S1;
S3, is created to examine flowing water according to one flow template of selection in the flow template the need for review operation defined in S1 Number it is the flow instance of main key information, the non-primary key information in the flow instance includes the major key letter described in S1 in flow template Breath and non-master key information;
According to selecting one in the task template the need for review operation defined in S2 in S4, the flow instance created in S3 Task template, is created in the task instances using serial number as main key information, the task instances according to selected task template Non-primary key information includes the major key information and non-master of the task template described in the major key information and S2 of flow instance described in S3 Key information.
2. the method for the realization configurableization workflow examination and approval according to claim 1, it is characterised in that methods described is also wrapped Include:
S5, created by main key information of the serial number in task instances described in the S4 has for recording with the task instances It is real that non-primary key information in the task instances list of the operation information of pass, the task instances list includes flow described in the S3 The major key information of example.
3. the method for the realization configurableization workflow examination and approval according to claim 2, it is characterised in that described in the S2 Non-master key information in task template also includes:Task encoding information, task status information and task redirect script information;It is described Method also includes:
S6, during review operation of the user to the task instances, the task in the task instances redirects script The task encoding information that information is specified circulates to the task instances, and is believed after circulating successfully according to the task encoding The task status information of the breath modification task instances.
4. the method for the realization configurableization workflow examination and approval according to claim 3, it is characterised in that described in the S2 The generating mode that task redirects script information is:Generation is fixedly installed when creating the task template, or is being examined according to user The customized expression generation corresponding with the task template inputted during batch operation.
5. the method for the realization configurableization workflow examination and approval according to claim 3 or 4, it is characterised in that institute in the S4 The non-master key information stated in task instances also includes task order information;
When the task encoding information specified in script information is redirected described in the S6 according to task task instances being circulated, If it is not sky that the task, which redirects the task encoding information specified in script information, real to the task according to task encoding information Example is circulated;Otherwise, it is the next task example not started according to the task order information acquisition task status information, And the task instances are circulated.
6. a kind of system for realizing configurableization workflow examination and approval, it is characterised in that the system includes:
Flow template module, is that main key information defines at least one stream for being used to initiate approval process for No. ID with approval process Journey template, and the non-master key information in flow template is configured according to the need for review operation;
Task template module, for defining at least one task reality being used to produce in approval process by main key information of serial number The task template of example, and according to being configured to the non-master key information in task template the need for review operation, the task mould Non-master key information in plate includes the information corresponding with the major key information of flow template described in flow template module;
Flow instance module, for selecting one according in the flow template the need for review operation defined in flow template module Individual flow template, which is created to examine the non-primary key information in flow instance of the serial number as main key information, the flow instance, includes stream Major key information and non-master key information described in journey formwork module in flow template;
Task instances module, in the flow instance that is created in flow instance module according to review operation the need in task In task template defined in formwork module select a task template, according to selected task template create using serial number as Non-primary key information in the task instances of major key information, the task instances includes the master of flow instance described in flow instance template The major key information and non-master key information of task template described in key information and task template module.
7. the system of the realization configurableization workflow examination and approval according to claim 6, it is characterised in that the system is also wrapped Include:
Task instances form module, for using the serial number in task instances described in the task instances module as main key information Create the non-master in the task instances list for recording the operation information relevant with the task instances, the task instances list Key information includes the major key information of flow instance described in the flow instance module.
8. the system of the realization configurableization workflow examination and approval according to claim 7, it is characterised in that the task template Non-master key information described in module in task instances also includes:Task encoding information, task status information and task redirect pin This information;The system also includes:
Task instances circulation module, it is real according to the task for during review operation of the user to the task instances Task in example module redirects the task encoding information that script information specifies and the task instances is circulated, and is circulating into The task status information of the task instances is changed after work(according to the task encoding information.
9. the system of the realization configurableization workflow examination and approval according to claim 8, it is characterised in that the task template Module, which is additionally operable to the generation task is fixedly installed when creating the task template, redirects script information, or is being examined according to user The customized expression corresponding with the task template inputted during batch operation generates the task and redirects script information.
10. the system of realization configurableization workflow examination and approval according to claim 8 or claim 9, it is characterised in that the task is real Non-master key information described in example module in task instances also includes task order information;
The task instances circulation module is additionally operable to redirecting the task encoding information specified in script information according to task to appointing When pragmatic example is circulated, whether be empty, if task encoding information is not sky, according to task encoding if judging task encoding information Information circulates to the task instances;If task encoding information is sky, according to the task order information acquisition task status Information is the next task example not started, and the task instances are circulated.
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 true CN107038533A (en) 2017-08-11
CN107038533B 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)

Cited By (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
CN109165856A (en) * 2018-08-31 2019-01-08 平安科技(深圳)有限公司 Examine Dynamic Configuration, device and the storage medium of chain
CN109377177A (en) * 2018-10-18 2019-02-22 东软集团股份有限公司 Flow path 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
CN111027933A (en) * 2019-12-09 2020-04-17 中国建设银行股份有限公司 Approval transfer method, device and system and electronic equipment
CN111353754A (en) * 2020-02-19 2020-06-30 望海康信(北京)科技股份公司 Method and device for generating flow template, electronic equipment and readable storage medium
CN111400310A (en) * 2020-02-23 2020-07-10 中国平安财产保险股份有限公司 Data monitoring method based on approval chain configuration, server and storage medium
CN111400274A (en) * 2019-12-06 2020-07-10 杭州美创科技有限公司 Method for designing approval process state field of web application
CN111736929A (en) * 2020-06-22 2020-10-02 北京百度网讯科技有限公司 Method, device and equipment for creating task instance and readable storage medium
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
CN113792534A (en) * 2021-03-02 2021-12-14 京东科技控股股份有限公司 Method and device for processing flow
CN114268659A (en) * 2020-09-14 2022-04-01 华为云计算技术有限公司 Service construction method, related device and computer readable storage medium

Citations (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
US20140350983A1 (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
CN104216912A (en) * 2013-06-04 2014-12-17 广州中国科学院软件应用技术研究所 Method and device for achieving non-intrusive service form workflow
CN105046408A (en) * 2015-06-25 2015-11-11 国网山东省电力公司 Configurable workflow realization method and system
CN105989440A (en) * 2015-02-12 2016-10-05 杨波 Process customization processing method and workflow engine thereof

Patent Citations (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
US20140350983A1 (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
CN104216912A (en) * 2013-06-04 2014-12-17 广州中国科学院软件应用技术研究所 Method and device for achieving non-intrusive service form workflow
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

Cited By (19)

* 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
CN109165856A (en) * 2018-08-31 2019-01-08 平安科技(深圳)有限公司 Examine Dynamic Configuration, device and the storage medium of chain
CN109165856B (en) * 2018-08-31 2023-08-08 平安科技(深圳)有限公司 Dynamic configuration method, device and storage medium of approval chain
CN109377177A (en) * 2018-10-18 2019-02-22 东软集团股份有限公司 Flow path processing method, device, equipment and computer readable storage medium
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
CN111353754A (en) * 2020-02-19 2020-06-30 望海康信(北京)科技股份公司 Method and device for generating flow template, electronic equipment and readable storage medium
CN111353754B (en) * 2020-02-19 2023-07-25 望海康信(北京)科技股份公司 Method and device for generating flow template, electronic equipment and readable storage medium
CN111400310A (en) * 2020-02-23 2020-07-10 中国平安财产保险股份有限公司 Data monitoring method based on approval chain configuration, server and storage medium
CN111400310B (en) * 2020-02-23 2023-03-21 中国平安财产保险股份有限公司 Data monitoring method based on approval chain configuration, server and storage medium
CN111736929A (en) * 2020-06-22 2020-10-02 北京百度网讯科技有限公司 Method, device and equipment for creating task instance and readable 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

Also Published As

Publication number Publication date
CN107038533B (en) 2020-10-30

Similar Documents

Publication Publication Date Title
CN107038533A (en) A kind of method and system for realizing configurableization workflow examination and approval
CN103886376B (en) System and method for rule-based information filtering
US7249142B2 (en) Automatic machine for production of sequences based on profiles as well as method for automatic production of sequences
CN106844190B (en) Automatic test script generation method and device
CN106022568A (en) Workflow processing method and apparatus
US7370309B2 (en) Method and computer program for detailed routing of an integrated circuit design with multiple routing rules and net constraints
CN103701934B (en) Resource optimal scheduling method and virtual machine host machine optimal selection method
CN108681667A (en) A kind of unit type recognition methods, device and processing equipment
CN109814856A (en) Data entry method, device, terminal and computer readable storage medium
CN109344230A (en) Code library file generation, code search, connection, optimization and transplantation method
CN103092610B (en) A kind of collocation method of the one-stop querying flow of telecommunications outside line resource based on handheld terminal
CN107943945A (en) Isomery operator management method in a kind of big data analysis development platform
CN106030524A (en) Method and device for visually implementing software code
CN108038060A (en) A kind of test method, device, terminal and computer-readable medium
CN108536718A (en) A kind of method and system for the IT application in management realized based on input and output semantization
CN104461548B (en) The adding method and device of code snippet
CN106096159B (en) A kind of implementation method of distributed system behavior simulation analysis system under cloud platform
CN113159618A (en) Rule engine design method and device with separated technical view angles
CN106294530A (en) The method and system of rule match
CN107729479A (en) A kind of method and device for the numbering for generating document
CN104239212A (en) Query method and device of test case and establishment method and device of test case
CN102053825A (en) Method and system for processing software design conflicts
CN110111203A (en) Batch process, device and the electronic equipment of business datum
CN106020801A (en) Graphic fourth-generation language (4GL) and application generation system thereof
JP2004038656A (en) Product design support device and method

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