CN101615269B - Retroversion method and device in workflow management system - Google Patents

Retroversion method and device in workflow management system Download PDF

Info

Publication number
CN101615269B
CN101615269B CN200910090805.9A CN200910090805A CN101615269B CN 101615269 B CN101615269 B CN 101615269B CN 200910090805 A CN200910090805 A CN 200910090805A CN 101615269 B CN101615269 B CN 101615269B
Authority
CN
China
Prior art keywords
rollback
activity
path
flow performing
directed graph
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.)
Expired - Fee Related
Application number
CN200910090805.9A
Other languages
Chinese (zh)
Other versions
CN101615269A (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.)
You Pu Information Technology Co., Ltd of UFSOFT
Original Assignee
Yonyou Software 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 Yonyou Software Co Ltd filed Critical Yonyou Software Co Ltd
Priority to CN200910090805.9A priority Critical patent/CN101615269B/en
Publication of CN101615269A publication Critical patent/CN101615269A/en
Application granted granted Critical
Publication of CN101615269B publication Critical patent/CN101615269B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a retroversion method and a device in a workflow management system. The method comprises the following steps: successively recording flow performing steps in the workflow management system; according to recorded steps, building flow performing directed graph reflecting the performing sequence among each step; after receiving a retroversion order, determining a retroversion path according to the retroversion order and the built flow performing directed graph; and retrieving to a specified step of the retroversion order according to the retroversion path. The invention can realize arbitrary retroversion and increase the flexibility for strengthening service.

Description

Backing method in a kind of Workflow Management System and device
Technical field
The present invention relates to workflow technology field, particularly relate to the backing method in a kind of Workflow Management System and device.
Background technology
Workflow (Workflow) is exactly for realizing certain business objective, between multiple participant, utilizes computing machine automatically to transmit the workflow of document, information or task by pre-defined rule.Workflow needs to rely on Workflow Management System to realize, and is gone definition by Workflow Management System, is performed and management work stream, the information interaction between working in co-ordination stream implementation and between group member by the support of computer technology.
Utilize Workflow Management System can realize the workflow of various enterprise resource plan management, such as, procurement process, Inventory Process, sale flow process and reimbursement flow process etc.To submit an expense account flow process, first staff needs to utilize Workflow Management System to fill in reimbursement document, the reimbursement document filled sends approving person to by Workflow Management System, by approving person, the reimbursement document filled in is examined, if the examination & approval such as the debt number of reimbursement are passed through, then approving person can typing examine by mark in Workflow Management System, afterwards, by budgeter utilize Workflow Management System to deduct from the financial budget of enterprise submit an expense account the debt of number, if the examination & approval such as the debt number of reimbursement are not passed through, approving person's mark that then typing examination & approval is not passed through in Workflow Management System.Workflow Management System is that the resource planning management of enterprise brings very large convenience.
When utilizing Workflow Management System to realize miscellaneous service flow process, the flow process operated before often needing to return back to, so that can revise related data.Such as, in above-mentioned reimbursement flow process, if last approval results examines not pass through, then staff fills in the original state of the activity of reimbursement document before needing to return back to, so that again fill in the reimbursement debt number meeting accrediting criterion on reimbursement document.
At present, a kind of backing method of Workflow Management System is: by Process Designer, to certain activity specific, (activity is made up of multiple step in advance, it is the elementary cell of operation flow, complete a kind of conversion or operation, such as, that fills in reimbursement document constitutes an activity in steps) or block (set of multiple activity), write corresponding compensation activity code, this compensation activity code can realize corresponding activity or the reverse function of block; After Workflow Management System executes an activity or block, then can perform this activity or compensation activity code corresponding to block, thus realize the rollback for this activity or block.Such as, for above-mentioned reimbursement flow process, after staff has filled in reimbursement document, if need to rewrite, then perform and fill in the compensation activity code of reimbursement document activity, the financial budget of budgeter from enterprise deduction submit an expense account the debt of number after, if need again to withhold, then perform the compensation activity code that deduction budget activity is corresponding, thus realize rollback.
Described as can be seen from above, prior art, when realizing rollback, can only carry out rollback for of a current execution activity or block, and any one activity performed before cannot optionally returning back to.Such as, for above-mentioned reimbursement flow process, when budgeter deduct from the financial budget of enterprise submit an expense account the debt of number after, if find that the debt number of reimbursement excesses budget the amount of money, then because the activity of current execution is deduction budget activity, therefore, can only to return back to from the financial budget of enterprise deduction submit an expense account the original state of number activity, and fill in reimbursement document activity before cannot returning back to again.Visible, this way can only carrying out rollback for the activity of current execution or block of prior art, cannot realize any rollback, significantly limit the dirigibility of business realizing.
In addition, prior art is when realizing rollback, owing to being write compensation activity code for specific one block or activity in advance, therefore for structure complicated and real-time in Workflow Management System, as the activity (human activity) that the structures such as parallel and circulation and people participate in real time, due to actual flow performing order cannot be pre-determined, therefore cannot prepared in advance go out corresponding compensation activity code, thus corresponding rollback cannot be realized, greatly limit the realization of business.
Summary of the invention
The present invention proposes the backing method in a kind of Workflow Management System and device, any rollback can be realized.
In order to achieve the above object, technical scheme of the present invention is achieved in that
A backing method in Workflow Management System, the method comprises:
The step of flow performing in writing task Workflow Management System successively;
According to the step of record, build the flow performing directed graph of execution sequence between each step of reflection;
When receiving back-off instruction, according to the flow performing directed graph determination rollback path of back-off instruction and structure;
The step specified by back-off instruction is fallen back on according to rollback path back.
Wherein, the step of the described structure of the step according to record flow performing directed graph comprises:
When the process definition language of the corresponding sequential organization of the step recorded, each activity in this sequential organization is connected successively, in flow performing directed graph, adds this cascaded structure;
And/or,
When the process definition language of the step respective conditions choice structure recorded, connect by each activity selecting branch to comprise successively, in flow performing directed graph, add this cascaded structure;
And/or,
When the process definition language of the corresponding parallel organization of the step recorded, first produce two dummy activities, by by walk abreast each is movable in parallel, and by the structures in series after parallel connection between described two dummy activities, in flow performing directed graph, add this cascaded structure;
And/or,
When the process definition language of the corresponding loop structure of the step recorded, first by movable for each in loop structure series connection, and repeat this series connection according to cycle index, in flow performing directed graph, add the cascaded structure finally obtained.
Wherein, the described flow performing directed graph determination rollback path according to back-off instruction and structure comprises:
According to the termination rollback nodal information that back-off instruction comprises, movable open corresponding from flow performing directed graph begins from up to down to travel through, if traverse in parallel movable time, according to the order of breadth First, the activity of parallel connection is added in traverse path, if when traversing dummy activity, traverse path is removed this dummy activity, if traverse repeat connect movable time, only the activity of last series connection repeated in series connection traversed is added in traverse path, until traverse activity corresponding to initial rollback nodal information that back-off instruction comprises, using the reverse path of traverse path that obtains as rollback path.
Particularly, the method comprises further: be that all activities comprising artificial participation activity arrange corresponding rollback interface and corresponding compensation activity code respectively;
The described step fallen back on specified by back-off instruction according to rollback path back comprises: according to the order of each activity on rollback path, calls each movable corresponding rollback interface on rollback path successively and performs corresponding compensation activity code.
Preferably, after determining rollback path, comprise further: all on rollback path are movably arranged in a transaction context;
When falling back on the step specified by back-off instruction according to rollback path back, comprise further: whether the rollback operation detecting each activity on rollback path is successful, if the rollback operation failure of any one activity, then whole rollback flow process failure.
A backspace mechanism in Workflow Management System, this device comprises:
Flow performing logging modle, for the step of flow performing in writing task Workflow Management System successively;
Digraph generation module, for the step according to described flow performing logging modle record, builds the flow performing directed graph of execution sequence between each step of reflection;
Rollback path determination module, for when receiving back-off instruction, according to the flow performing directed graph determination rollback path that back-off instruction and described digraph generation module build;
Rollback execution module, for the rollback path determined according to described rollback path determination module, return back to the step specified by back-off instruction.
Wherein, described digraph generation module is used for,
When the process definition language of the corresponding sequential organization of the step of described flow performing logging modle record, each activity in this sequential organization is connected successively, in flow performing directed graph, adds this cascaded structure;
And/or,
When the process definition language of the step respective conditions choice structure of described flow performing logging modle record, connect by each activity selecting branch to comprise successively, in flow performing directed graph, add this cascaded structure;
And/or,
When the process definition language of the corresponding parallel organization of the step of described flow performing logging modle record, first two dummy activities are produced, by by walk abreast each is movable in parallel, and by the structures in series after parallel connection between described two dummy activities, in flow performing directed graph, add this cascaded structure;
And/or,
When the process definition language of the corresponding loop structure of the step of described flow performing logging modle record, first by movable for each in loop structure series connection, and repeat this series connection according to cycle index, in flow performing directed graph, add the cascaded structure finally obtained.
Wherein, described rollback path determination module, according to the termination rollback nodal information that back-off instruction comprises, movable open corresponding from flow performing directed graph begins from up to down to travel through, if traverse in parallel movable time, according to the order of breadth First, the activity of parallel connection is added in traverse path, if when traversing dummy activity, traverse path is removed this dummy activity, if traverse repeat connect movable time, only the activity of last series connection repeated in series connection traversed is added in traverse path, until traverse activity corresponding to initial rollback nodal information that back-off instruction comprises, using the reverse path of traverse path that obtains as rollback path.
Particularly, described rollback execution module, according to the order of each activity on rollback path, calls successively and performs each movable corresponding compensation activity code for each movable rollback interface of arranging on rollback path in advance.
Preferably, all on rollback path are movably arranged in a transaction context by described rollback execution module further; Whether the rollback operation detecting each activity on rollback path is successful, if the rollback operation failure of any one activity, then terminates whole rollback flow process.
Visible, tool of the present invention has the following advantages:
1, in the present invention, owing to constructing flow performing directed graph, by this flow performing directed graph have recorded that flow performing in Workflow Management System crosses execution sequence in steps and between step, like this, when follow-up rollback, before then can being determined by flow performing directed graph, the performed institute crossed in steps and the information of relative execution sequence, any one step before then can returning back to according to this information, realize any rollback, thus greatly strengthen the dirigibility of business realizing.
2, in the present invention, owing to have employed the method building flow performing directed graph, therefore for complexity with the structure of real-time, as the activity that the structures such as parallel and circulation and people participate in real time, the actual execution sequence of the activity that also can be participated in real time by the structures such as this parallel and circulation of flow performing directed graph record and people, then can determine the path of rollback according to this actual execution sequence, thus realize rollback, considerably increase the range of application of business.
3, in the present invention, due to all on rollback path are movably arranged in a transaction context; To the rollback operation failure of any one activity, then whole rollback flow process failure, like this, then can ensure the consistance of data in Workflow Management System.
Accompanying drawing explanation
The process flow diagram realizing rollback that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 is the flow performing directed graph of corresponding sequential organization in the embodiment of the present invention;
Fig. 3 is the flow performing directed graph of respective conditions choice structure in the embodiment of the present invention;
Fig. 4 is the flow performing directed graph of corresponding parallel organization in the embodiment of the present invention;
Fig. 5 is the flow performing directed graph of corresponding loop structure in the embodiment of the present invention;
Fig. 6 is the final a kind of flow performing directed graph formed in the embodiment of the present invention;
The structure drawing of device that Fig. 7 provides for the embodiment of the present invention.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearly, describe the present invention below in conjunction with the drawings and specific embodiments.
The present invention proposes the backing method in a kind of Workflow Management System, the core concept of the method is: the step of flow performing in writing task Workflow Management System; The flow performing directed graph of execution sequence between each step of reflection is built according to the step of record; When receiving back-off instruction, according to the flow performing directed graph determination rollback path of back-off instruction and structure; The step specified by back-off instruction is fallen back on according to rollback path back.
Visible, in the present invention, owing to constructing flow performing directed graph, by this flow performing directed graph have recorded that flow performing in Workflow Management System crosses execution sequence in steps and between step, like this, when follow-up rollback, then before can being determined by flow performing directed graph, the performed institute crossed in steps and the information of relative execution sequence, any one step before then can returning back to according to this information, realizes any rollback.
In Workflow Management System, because activity is the elementary cell of operation flow, complete a kind of conversion or operation, such as, that fills in reimbursement document constitutes an activity in steps, therefore, preferably, in the present invention, can be a rollback unit with an activity, that is, when building flow performing directed graph, in order to simplify processes, can using the activity that is made up of a multiple step node as digraph, and each activity of performing of record and relative execution sequence thereof.
The process flow diagram realizing rollback that Fig. 1 provides for the embodiment of the present invention.See Fig. 1, in one embodiment of the invention, when being a rollback unit with an activity, the process realizing rollback in Workflow Management System specifically can comprise the following steps:
Step 101: be that all activities comprising artificial participation activity arrange corresponding rollback interface and corresponding compensation activity code respectively in advance.
Here, corresponding rollback interface be set for each activity and compensate activity code, being the compensation activity code in order to perform this activity in subsequent process by calling a movable rollback interface, thus realizing for a movable rollback.
Step 102: when utilizing Workflow Management System to work, records each activity of flow performing successively.
Here, an activity is made up of some steps, can complete specific operation or conversion.Such as, for reimbursement flow process, what record successively is fill in reimbursement document activity → examination & approval activity → deduction budget activity etc.
Step 103: according to the activity of recording successively, builds the flow performing directed graph of execution sequence between each activity of reflection.
The implementation procedure that this step is concrete comprises:
If 1031 have execution architecture in order to record successively each is movable, that is, during the process definition language of the corresponding sequential organization of the activity be made up of multiple step of record, such as, process definition language is
<Sequence>
<Activity A1 />
<Activity A2 />
<Activity A3 />
</Sequence>
In process definition language, each " Activity " represents an activity.So, each activity in this sequential organization is connected successively, in flow performing directed graph, adds this cascaded structure.Such as, the cascaded structure after interpolation as shown in Figure 2.
If 1032 have and select each of execution architecture record movable according to condition, that is, during the process definition language of the activity respective conditions choice structure be made up of multiple step of record, such as, process definition language is
<Decision>
<Branch1>
<Activity A4 />
<Activity A5 />
<Branch1 />
</Decision>
So, connect by each activity selecting branch to comprise successively, in flow performing directed graph, add this cascaded structure.Such as, the cascaded structure after interpolation as shown in Figure 3.
If 1033 have according to each of executed in parallel structure record movable, that is, during the process definition language of the corresponding parallel organization of the activity be made up of multiple step of record, such as, process definition language is
<Prallel>
<Activity A6 />
<Activity A7 />
</Parallel>
So, first produce two dummy activities, by by walk abreast each is movable in parallel, and by the structures in series after parallel connection between described two dummy activities (being designated as Empty), in flow performing directed graph, add this cascaded structure.Such as, the cascaded structure after interpolation as shown in Figure 4.
If 1034 have according to each of circulation execution architecture record movable, that is, during the process definition language of the corresponding loop structure of the activity be made up of multiple step of record, such as, process definition language is
<While>
<Activity A8 />
<Activity A9 />
</While>
So, first by movable for each in loop structure series connection, and repeat this series connection according to cycle index, in flow performing directed graph, add the cascaded structure finally obtained.Such as, the cascaded structure after interpolation as shown in Figure 5.
Realize principle according to above-mentioned steps 1031 ~ 1034, then can build the flow performing directed graph that can reflect actual flow performing step and sequencing thereof.
Step 104: Workflow Management System receives back-off instruction.
Here, include initial rollback nodal information in back-off instruction and stop rollback nodal information.Such as, for above-mentioned reimbursement flow process, after deduction budget activity, if discovery mistake, need to return back to fill in reimbursement document activity, so, what initial rollback node was corresponding is exactly deduction budget activity, and what termination rollback node was corresponding is exactly fill in reimbursement document activity.
Step 105: according to back-off instruction and the flow performing directed graph determination rollback path that built.
The specific implementation process of this step can comprise: the termination rollback nodal information comprised according to back-off instruction, movable open corresponding from flow performing directed graph begins from up to down to travel through, if traverse in parallel movable time, according to the order of breadth First, the activity of parallel connection is added in traverse path successively, if when traversing dummy activity, traverse path is removed this dummy activity, if traverse repeat connect movable time, only the activity of last series connection repeated in series connection traversed is added in traverse path, until traverse activity corresponding to initial rollback nodal information that back-off instruction comprises, using the reverse path of traverse path that obtains as rollback path.Such as, the flow performing directed graph constructed as shown in Figure 6, needs to return back to A from E, that is, initial rollback node is E, and stopping rollback node is A, so, according to the processing mode of this step, from the node A in Fig. 6, from up to down traverse E, traverse path is A → B → C → D → E, and its reverse path and rollback path are exactly E → D → B → C → A, certainly, the order between B and C can be exchanged or be determined according to specifying in advance.
Step 106: according to the order of each activity on rollback path, calls each movable corresponding rollback interface on rollback path successively and performs corresponding compensation activity code.
Such as, rollback path is E → D → B → C → A, so, first the rollback interface that movable E is corresponding is called, and the compensation activity code that executed activity E is corresponding, then call the rollback interface that movable D is corresponding, and the compensation activity code that executed activity D is corresponding, by that analogy, until call rollback interface corresponding to movable A, and the compensation activity code that executed activity A is corresponding.
When rollback flow process is carried out in the rollback path comprising multiple activity according to, if the rollback operation success of piecemeal activity, and the failure of the rollback operation of piecemeal activity, then the data in system can be caused inconsistent.For example, for above-mentioned reimbursement flow process, if after deduction budget activity, need to return back to the activity of filling in reimbursement document, if the rollback operation success of deduction budget activity, the debt that need submit an expense account then is not deducted in budget amount in system, and the rollback operation failure of examination & approval activity, the state of system still remains examines successfully, according to the successful result of examination & approval, staff can think system budget amount in have deducted the debt of reimbursement, and in fact due to the rollback operation success of deduction budget activity, in system, in budget amount, reality does not deduct the debt that need submit an expense account, thus result in the inconsistency of data.In order to avoid this kind of situation, ensure data consistency, preferably, can in advance all on rollback path be movably arranged in a transaction context, in the implementation of step 106, whether the rollback operation detecting each activity on rollback path is successful, that is, call each activity rollback interface and perform its for the operation whether success of compensation activity code, if the rollback operation failure of any one activity, then whole rollback flow process failure, only when the rollback operation of all activities is all successful, whole rollback flow process is success.Like this, for above-mentioned reimbursement flow process, if the rollback operation failure of examination & approval activity, even if the rollback operation success of deduction budget activity, belong to a transaction context owing to examining activity and deducting budget activity, therefore, whole rollback flow process failure, deduction budget activity still keeps the state deducting debt when not having rollback, thus ensure that data consistency, improves the reliability of system.
It should be noted that, in the above embodiment of the present invention, be a rollback unit with an activity.In other embodiments of the invention, also the mode of other accommodations can be adopted, such as, be a rollback unit with one or any several step, or be a rollback unit etc. with block (set of multiple activity), the process of its specific implementation rollback with describe in above-described embodiment with an activity for the process of rollback unit is identical.
In addition, the invention allows for the backspace mechanism in a kind of Workflow Management System.See Fig. 7, this device comprises:
Flow performing logging modle, for the step of flow performing in writing task Workflow Management System successively;
Digraph generation module, for the step according to described flow performing logging modle record, builds the flow performing directed graph of execution sequence between each step of reflection;
Rollback path determination module, for when receiving back-off instruction, according to the flow performing directed graph determination rollback path that back-off instruction and described digraph generation module build;
Rollback execution module, for the rollback path determined according to described rollback path determination module, return back to the step specified by back-off instruction.
In a specific embodiment of backspace mechanism of the present invention, described digraph generation module is used for,
When the process definition language of the corresponding sequential organization of the step of described flow performing logging modle record, each activity in this sequential organization is connected successively, in flow performing directed graph, adds this cascaded structure;
And/or,
When the process definition language of the step respective conditions choice structure of described flow performing logging modle record, connect by each activity selecting branch to comprise successively, in flow performing directed graph, add this cascaded structure;
And/or,
When the process definition language of the corresponding parallel organization of the step of described flow performing logging modle record, first two dummy activities are produced, by by walk abreast each is movable in parallel, and by the structures in series after parallel connection between described two dummy activities, in flow performing directed graph, add this cascaded structure;
And/or,
When the process definition language of the corresponding loop structure of the step of described flow performing logging modle record, first by movable for each in loop structure series connection, and repeat this series connection according to cycle index, in flow performing directed graph, add the cascaded structure finally obtained.
When utilizing backspace mechanism of the present invention to realize rollback, a concrete embodiment is: described rollback path determination module, according to the termination rollback nodal information that back-off instruction comprises, movable open corresponding from flow performing directed graph begins from up to down to travel through, when traverse in parallel movable time, according to the order of breadth First, the activity of parallel connection is added in traverse path successively, when traversing dummy activity, traverse path is removed this dummy activity, when traverse repeat connect movable time, only the activity of last series connection repeated in series connection traversed is added in traverse path, until traverse activity corresponding to initial rollback nodal information that back-off instruction comprises, using the reverse path of traverse path that obtains as rollback path.
Particularly, described rollback execution module, according to the order of each activity on rollback path, calls successively and performs each movable corresponding compensation activity code for each movable rollback interface of arranging on rollback path in advance.
Preferably, in order to ensure data consistency, in the backspace mechanism that the present invention proposes, all on rollback path are movably arranged in a transaction context by described rollback execution module further; Whether the rollback operation detecting each activity on rollback path is successful, if the rollback operation failure of any one activity, then terminates whole rollback flow process.
Backspace mechanism of the present invention can be integrated in Workflow Management System, also can be the equipment independent of Workflow Management System.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (4)

1. the backing method in Workflow Management System, is characterized in that, the method comprises:
Be that all activities comprising artificial participation activity arrange corresponding rollback interface and corresponding compensation activity code respectively;
The step of flow performing in writing task Workflow Management System successively;
According to the step of record, build the flow performing directed graph of execution sequence between each step of reflection;
When receiving back-off instruction, according to the flow performing directed graph determination rollback path of back-off instruction and structure;
Fall back on the step specified by back-off instruction according to rollback path back, comprising: according to the order of each activity on rollback path, call each movable corresponding rollback interface on rollback path successively and perform corresponding compensation activity code; Wherein,
The step that the described step according to record builds flow performing directed graph comprises:
When the process definition language of the corresponding sequential organization of the step recorded, each activity in this sequential organization is connected successively, in flow performing directed graph, adds this cascaded structure;
And/or,
When the process definition language of the step respective conditions choice structure recorded, connect by each activity selecting branch to comprise successively, in flow performing directed graph, add this cascaded structure;
And/or,
When the process definition language of the corresponding parallel organization of the step recorded, first produce two dummy activities, by by walk abreast each is movable in parallel, and by the structures in series after parallel connection between described two dummy activities, in flow performing directed graph, add this cascaded structure;
And/or,
When the process definition language of the corresponding loop structure of the step recorded, first by movable for each in loop structure series connection, and repeat this series connection according to cycle index, in flow performing directed graph, add the cascaded structure finally obtained;
The described flow performing directed graph determination rollback path according to back-off instruction and structure comprises:
According to the termination rollback nodal information that back-off instruction comprises, movable open corresponding from flow performing directed graph begins from up to down to travel through, if traverse in parallel movable time, according to the order of breadth First, the activity of parallel connection is added in traverse path, if when traversing dummy activity, traverse path is removed this dummy activity, if traverse repeat connect movable time, only the activity of last series connection repeated in series connection traversed is added in traverse path, until traverse activity corresponding to initial rollback nodal information that back-off instruction comprises, using the reverse path of traverse path that obtains as rollback path.
2. method according to claim 1, is characterized in that, after determining rollback path, comprises further: be movably arranged in a transaction context by all on rollback path;
When falling back on the step specified by back-off instruction according to rollback path back, comprise further: whether the rollback operation detecting each activity on rollback path is successful, if the rollback operation failure of any one activity, then whole rollback flow process failure.
3. the backspace mechanism in Workflow Management System, is characterized in that, this device comprises:
Flow performing logging modle, for the step of flow performing in writing task Workflow Management System successively;
Digraph generation module, for the step according to described flow performing logging modle record, builds the flow performing directed graph of execution sequence between each step of reflection;
Rollback path determination module, for when receiving back-off instruction, according to the flow performing directed graph determination rollback path that back-off instruction and described digraph generation module build;
Rollback execution module, the order of each activity on the rollback path determined according to described rollback path determination module, call the rollback interface that arranges for each on rollback path is movable in advance successively and perform each movable corresponding compensation activity code, returning back to the step specified by back-off instruction; Wherein,
Described digraph generation module is used for,
When the process definition language of the corresponding sequential organization of the step of described flow performing logging modle record, each activity in this sequential organization is connected successively, in flow performing directed graph, adds this cascaded structure;
And/or,
When the process definition language of the step respective conditions choice structure of described flow performing logging modle record, connect by each activity selecting branch to comprise successively, in flow performing directed graph, add this cascaded structure;
And/or,
When the process definition language of the corresponding parallel organization of the step of described flow performing logging modle record, first two dummy activities are produced, by by walk abreast each is movable in parallel, and by the structures in series after parallel connection between described two dummy activities, in flow performing directed graph, add this cascaded structure;
And/or,
When the process definition language of the corresponding loop structure of the step of described flow performing logging modle record, first by movable for each in loop structure series connection, and repeat this series connection according to cycle index, in flow performing directed graph, add the cascaded structure finally obtained;
Described rollback path determination module, according to the termination rollback nodal information that back-off instruction comprises, movable open corresponding from flow performing directed graph begins from up to down to travel through, if traverse in parallel movable time, according to the order of breadth First, the activity of parallel connection is added in traverse path, if when traversing dummy activity, traverse path is removed this dummy activity, if traverse repeat connect movable time, only the activity of last series connection repeated in series connection traversed is added in traverse path, until traverse activity corresponding to initial rollback nodal information that back-off instruction comprises, using the reverse path of traverse path that obtains as rollback path.
4. device according to claim 3, is characterized in that, described rollback execution module, is movably arranged in a transaction context further by all on rollback path; Whether the rollback operation detecting each activity on rollback path is successful, if the rollback operation failure of any one activity, then terminates whole rollback flow process.
CN200910090805.9A 2009-08-11 2009-08-11 Retroversion method and device in workflow management system Expired - Fee Related CN101615269B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910090805.9A CN101615269B (en) 2009-08-11 2009-08-11 Retroversion method and device in workflow management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910090805.9A CN101615269B (en) 2009-08-11 2009-08-11 Retroversion method and device in workflow management system

Publications (2)

Publication Number Publication Date
CN101615269A CN101615269A (en) 2009-12-30
CN101615269B true CN101615269B (en) 2015-05-27

Family

ID=41494897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910090805.9A Expired - Fee Related CN101615269B (en) 2009-08-11 2009-08-11 Retroversion method and device in workflow management system

Country Status (1)

Country Link
CN (1) CN101615269B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714414B (en) * 2013-11-30 2018-01-16 北京科东电力控制系统有限责任公司 A kind of flow nodes backing method for intelligent grid scheduling
CN106033560A (en) * 2015-03-11 2016-10-19 北京慧正通软科技有限公司 Algorithm for multi-path branch return flowing mode of work flow
CN106611297A (en) * 2015-10-21 2017-05-03 中兴通讯股份有限公司 Workflow abnormity handling method and system
CN105205652B (en) * 2015-11-04 2020-04-03 用友网络科技股份有限公司 Revision method and revision system of ERP (enterprise resource planning) document
CN106909543B (en) * 2015-12-22 2020-08-25 阿里巴巴集团控股有限公司 Pattern matching method and device of rule engine
CN106327332A (en) * 2016-08-18 2017-01-11 深圳市金证科技股份有限公司 Liquidation method and system for supporting partial returning
CN106651112A (en) * 2016-11-01 2017-05-10 金蝶软件(中国)有限公司 Method and system for reverse approval of workflow
CN107016083B (en) * 2017-03-31 2020-02-07 清华大学 Stream data processing method supporting online switching of processing units
CN107316139A (en) * 2017-06-21 2017-11-03 广州支点网络科技股份有限公司 A kind of cancelling method of workflow and the device using this method
CN107908494B (en) * 2017-11-10 2021-05-07 泰康保险集团股份有限公司 Abnormal event processing method and device, electronic equipment and storage medium
CN107943705B (en) * 2017-12-08 2021-02-26 中国银行股份有限公司 Method and device for testing process approval system
CN110147268B (en) * 2019-04-16 2020-05-08 清华大学无锡应用技术研究院 Method and device for processing concurrent transactions, concurrent control system and storage medium
CN110134505A (en) * 2019-05-15 2019-08-16 湖南麒麟信安科技有限公司 A kind of distributed computing method of group system, system and medium
CN110288317A (en) * 2019-06-24 2019-09-27 北京奇艺世纪科技有限公司 A kind of cancelling method of workflow, device, electronic equipment and medium
CN110619473B (en) * 2019-09-19 2022-03-15 福建博思软件股份有限公司 Method for realizing reverse circulation based on Activiti workflow
CN112825031B (en) * 2019-11-21 2024-03-12 中盈优创资讯科技有限公司 Process description method and device based on JSON format
CN111080250B (en) * 2019-12-10 2023-04-18 东软集团股份有限公司 Flow backspacing compensation method and device, storage medium and electronic equipment
CN112258139A (en) * 2020-09-15 2021-01-22 远光软件股份有限公司 Method and device for multi-layer gateway rollback
CN113391953B (en) * 2021-06-07 2022-04-08 北京同创永益科技发展有限公司 DAG-based complex disaster recovery backup switching flow rollback method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1858783A (en) * 2006-06-05 2006-11-08 上海宏迅软件有限公司 Data driving method in work flow managing system
CN101393620A (en) * 2008-10-27 2009-03-25 山东中创软件工程股份有限公司 Model for human activity description

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030018508A1 (en) * 2001-07-19 2003-01-23 Schwanke Robert W. Data-triggered workflow processes

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1858783A (en) * 2006-06-05 2006-11-08 上海宏迅软件有限公司 Data driving method in work flow managing system
CN101393620A (en) * 2008-10-27 2009-03-25 山东中创软件工程股份有限公司 Model for human activity description

Also Published As

Publication number Publication date
CN101615269A (en) 2009-12-30

Similar Documents

Publication Publication Date Title
CN101615269B (en) Retroversion method and device in workflow management system
US8521570B2 (en) Integration of distributed business process models
Adzic Specification by example: how successful teams deliver the right software
Baker et al. Model-driven engineering in a large industrial context—Motorola case study
Günther et al. A Generic Import Framework for Process Event Logs: Industrial Paper
US7848942B2 (en) Distribution of integrated business process models
US7580819B2 (en) Adaptive mission profiling
Osterweil et al. Determining the impact of software engineering research on practice
Reyes-Delgado et al. The strengths and weaknesses of software architecture design in the RUP, MSF, MBASE and RUP-SOA methodologies: A conceptual review
Hull et al. Software development processes—an assessment
Gillies Managing software engineering: CASE studies and solutions
Amigo et al. Product development process modeling: state of the art and classification
Altarawneh et al. A theoretical agile process framework for web applications development in small software firms
Dechamma et al. A review on robotic process automation
Gupta et al. Leveraging temporal and spatial separations with the 24-hour knowledge factory paradigm
Sampathkumaran Computing the cost of business processes
Prause et al. Managing the iterative requirements process in a multi-national project using an issue tracker
Matejaš et al. Building a BPM application in an SOA-based legacy environment
CN115545627A (en) Approval task processing method and device, storage medium and electronic equipment
Edition In this edition
Bindal et al. Survey on software development processing models
US20110055108A1 (en) Refining processes using virtual-worlds to capture process data and replaying for analysis and review
Aggarwal et al. Swift Tack: A new development approach
Zúñiga et al. Management Support Systems Model for Incident Resolution in FinTech based on Business Intelligence.
KAGAI ISMS-Final TechRxiv. pdf

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160301

Address after: 100094 Beijing City, North Road, Haidian District, No. 68, building 2, floor 2

Patentee after: You Pu Information Technology Co., Ltd of UFSOFT

Address before: 100094 Beijing city Haidian District North Road No. 68, UFIDA Software Park

Patentee before: UFIDA Software Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150527

Termination date: 20180811

CF01 Termination of patent right due to non-payment of annual fee