CN105447635A - Examination and approval method and device in workflow - Google Patents

Examination and approval method and device in workflow Download PDF

Info

Publication number
CN105447635A
CN105447635A CN201510812868.6A CN201510812868A CN105447635A CN 105447635 A CN105447635 A CN 105447635A CN 201510812868 A CN201510812868 A CN 201510812868A CN 105447635 A CN105447635 A CN 105447635A
Authority
CN
China
Prior art keywords
examination
approver
approval
workflow
approval task
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510812868.6A
Other languages
Chinese (zh)
Inventor
刘锦祥
王红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kingdee Software China Co Ltd
Original Assignee
Kingdee Software China 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 Kingdee Software China Co Ltd filed Critical Kingdee Software China Co Ltd
Priority to CN201510812868.6A priority Critical patent/CN105447635A/en
Publication of CN105447635A publication Critical patent/CN105447635A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06316Sequencing of tasks or work
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Abstract

The invention discloses an examination and approval method and device in a workflow, and the method and device can simplify the flow configuration and improve the performance. According to the embodiment of the invention, the method comprises the steps: coding an examination and approval person corresponding to an examination and approval task in the workflow, and obtaining coding information; determining the information of an examination and approval person corresponding to a target examination and approval task through the coding information after the target examination and approval task is received, wherein the target examination and approval task is one of examination and approval tasks; and transmitting the target examination and approval task to a target examination and approval person determined by the information of the examination and approval person.

Description

The measures and procedures for the examination and approval in a kind of workflow and device
Technical field
The present invention relates to computer realm, particularly relate to the measures and procedures for the examination and approval in a kind of workflow and device.
Background technology
After claimer submits expenses claim sheer to, system needs to determine by whom to be examined according to the amount of money of reimbursement.
Current examination & approval mode is: due to different reimbursed sums, needs different approvers to examine, and needs to arrange different examination & approval nodes according to the amount of money, and each examination & approval node correspond to different approvers.
Obviously, above-mentioned examination & approval mode needs to arrange multiple parallel examination & approval node, and flow process configuration is loaded down with trivial details, and performance is not high.
Summary of the invention
Embodiments provide the measures and procedures for the examination and approval in a kind of workflow and device, can configure by simple flow, improve performance.
In view of this, first aspect present invention provides the measures and procedures for the examination and approval in a kind of workflow, can comprise:
Approver's information corresponding for examination & approval task in workflow is encoded, obtains coded message;
After receiving target examination & approval task, determine by described coded message the target approver information that described target examination & approval task is corresponding, wherein, described target examination & approval task is any one the examination & approval task in described examination & approval task;
By the target approver that described target examination & approval task sends to described target approver information to determine.
Optional:
Described approver's information corresponding for examination & approval task in workflow to be encoded, obtains coded message, comprise afterwards:
Store described coded message.
Optional:
The described coded message of described storage comprises:
In flow process variable, create approver's variable array, described flow process variable is the global variable arranged for described workflow;
By coded message described in described approver's variable storage of array.
Optional:
Described approver's information corresponding for examination & approval task in workflow to be encoded, obtains coded message, comprising:
Be java code by script engine by approver's information analysis corresponding for the examination & approval task in workflow;
Splice and combine described java code, and import the corresponding java bag of described java code;
Wrap by compiling and performing described java, obtain coded message.
Optional:
Described method also comprises:
According to the business demand generation script in described workflow, described script correspond to described script engine.
In view of this, second aspect present invention provides the examination & approval device in a kind of workflow, can comprise:
Coding unit, encodes for approver's information corresponding to the examination & approval task in workflow, obtains coded message;
Determining unit, for after receiving target examination & approval task, determines by described coded message the target approver information that described target examination & approval task is corresponding, and wherein, described target examination & approval task is any one the examination & approval task in described examination & approval task;
Transmitting element, for the target approver sending to described target approver information to determine described target examination & approval task.
Optional:
Described device also comprises:
Storage unit, for storing described coded message.
Optional:
Described device also comprises:
Creating unit, for creating approver's variable array in flow process variable, described flow process variable is the global variable arranged for described workflow;
Described storage unit, specifically for by coded message described in described approver's variable storage of array.
Optional:
Described device also comprises:
Approver's information analysis corresponding for examination & approval task in workflow, for after receiving target examination & approval task, is java code by script engine by resolution unit;
Processing unit, for splicing and combining described java code, and imports the corresponding java bag of described java code;
Described coding unit, specifically for wrapping by compiling and performing described java, obtains coded message.
Optional:
Described device also comprises:
Generation unit, for according to the business demand generation script in described workflow, described script correspond to described script engine.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages: approver's information corresponding for the examination & approval task in workflow encoded, obtain coded message, obviously, coded message includes the corresponding relation between each examination & approval task and corresponding approver, after receiving target examination & approval task, wherein target examination & approval task is to any one the examination & approval task in above-mentioned examination & approval task, by the target approver information that coded message determination target examination & approval task is corresponding, also target approver is just determined, the target task of examining is issued target approver audit, obviously, the present invention is relative to prior art, do not need to arrange multiple parallel examination & approval node, only need the coded message obtaining the corresponding relation comprised between each examination & approval task and corresponding approver's information, just approval process can be completed, therefore the present invention can configure by simple flow, improve performance.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is embodiment of the present invention method flow schematic diagram;
Fig. 2 is embodiment of the present invention apparatus structure schematic diagram.
Embodiment
Embodiments provide the measures and procedures for the examination and approval in a kind of workflow and device, can configure by simple flow, improve performance.
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
Term " first ", " second ", " the 3rd " " 4th " etc. (if existence) in instructions of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.The embodiments described herein should be appreciated that the data used like this can be exchanged in the appropriate case, so that can be implemented with the order except the content except here diagram or description.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
Refer to Fig. 1, the embodiment of the measures and procedures for the examination and approval in the embodiment of the present invention in workflow comprises:
101, approver's information corresponding for the examination & approval task in workflow is encoded, obtain coded message;
In the present embodiment, in the approval process of workflow, comprise different examination & approval tasks, each examination & approval task correspond to different approvers, and each approver has corresponding approver's information, approver's information is encoded, obtains coded message.
It should be noted that, above-mentioned coded message comprises the corresponding relation between each examination & approval task and corresponding approver's information, and approver's information comprises the identity information of approver.Examination & approval task comprises the reimbursement task of expenses claim sheer, and the amount of money of different expenses claim sheers needs different approvers to examine.
It should be noted that, in some embodiments of the invention, approver's information corresponding for the examination & approval task in workflow is encoded, obtains coded message, comprising:
Be java code by script engine by approver's information analysis corresponding for the examination & approval task in workflow;
Splice and combine this java code, and import the corresponding java bag of this java code;
Wrap by compiling and performing this java, obtain coded message.
It should be noted that, in some embodiments of the invention, also comprise:
According to the business demand generation script in above-mentioned workflow, this script correspond to above-mentioned script engine.
It should be noted that, above-mentioned workflow can comprise a start node, examination & approval task node (expense reimbursement single node), script node, examination & approval node and end node, above-mentioned script is the script node added in workflow, before this script node is positioned at examination & approval node in workflow, script node comprises script name and content for script, content for script is the script write according to the business demand in above-mentioned workflow, namely above-mentioned business demand is the business demand sending to corresponding approver to audit different examination & approval tasks, script node provides precompile function when preserving, script saves as xml formatted file.When work flow operation, at script node place, resolve xml formatted file, read the scripted code in xml file, obtain corresponding script node information (approver's information), resolve to java code by script engine, java code is spliced and combined, import corresponding java to wrap, carry out compiling, performing, obtain coded message.
It should be noted that, in some embodiments of the invention, after obtaining coded message, also comprise:
Store above-mentioned coded message.
Further, in some embodiments of the invention, the above-mentioned coded message of above-mentioned storage, is specially:
In flow process variable, create approver's variable array, this flow process variable is the global variable arranged for above-mentioned workflow.
102, after receiving target examination & approval task, determine by above-mentioned coded message the target approver information that this target examination & approval task is corresponding, wherein, this target examination & approval task is any one the examination & approval task in above-mentioned examination & approval task;
In the approval process of workflow, after receiving target examination & approval task, and this target examination & approval historical relic is any one the examination & approval task in above-mentioned examination & approval task, determines by above-mentioned coded message the target approver information that this target examination & approval task is corresponding.
Be understandable that, above-mentioned coded message has the corresponding relation between each examination & approval task and corresponding approver's information.
103, the target approver that task of examining sends to above-mentioned target approver information to determine by this target.
After determining target approver information, by target approver information determination target approver, this target examination & approval task is sent to target approver.
Be understandable that, after target approver receives target examination & approval task, just can complete the examination & approval of target examination & approval task.
Obviously, adopt technical scheme of the present invention, all examination & approval tasks can be completed.
In the present embodiment, approver's information corresponding for examination & approval task in workflow is encoded, obtain coded message, obviously, coded message includes the corresponding relation between each examination & approval task and corresponding approver, after receiving target examination & approval task, wherein target examination & approval task is to any one the examination & approval task in above-mentioned examination & approval task, by the target approver information that coded message determination target examination & approval task is corresponding, also target approver is just determined, the target task of examining is issued target approver audit, obviously, the present invention is relative to prior art, do not need to arrange multiple parallel examination & approval node, only need the coded message obtaining the corresponding relation comprised between each examination & approval task and corresponding approver, just approval process can be completed, therefore the present invention can configure by simple flow, improve performance.
For the ease of understanding, with the application scenarios of a reality, the measures and procedures for the examination and approval in the workflow in the embodiment of the present invention are described below:
Prestore coded message, this coded message is that approver's information that the examination & approval task (the examination & approval task of reimbursed sum) in workflow is corresponding is carried out the coded message obtained of encoding, approver's information correspond to approver, wherein, coded message comprises: if reimbursed sum≤100, examination & approval people is approver A, if 100 ﹤ reimbursed sum≤1000, examination & approval people is approver B, if 1000 ﹤ reimbursed sum≤10000, examination & approval people is approver C, if reimbursed sum > 10000, examination & approval people is approver D.
The approval process of workflow comprises successively: start node, expense reimbursement single node, script node, examination & approval node, end node.User submits expenses claim sheer to, expense reimbursement node determination expense report is effective, and determine that reimbursed sum is 600 yuan, script node transfers the coded message prestored, by approver's information that coded message determination reimbursed sum 600 yuan is corresponding, and then determine approver B by approver's information, examination & approval node completes the examination & approval of reimbursed sum 600 yuan by approver B, approval process terminates.
Introduce the examination & approval device in workflow of the present invention below, refer to Fig. 2, the embodiment of the examination & approval device in the embodiment of the present invention in workflow comprises:
Coding unit 201, encodes for approver's information corresponding to the examination & approval task in workflow, obtains coded message;
Determining unit 202, for after receiving target examination & approval task, by the target approver information that coded message determination target examination & approval task is corresponding, wherein, this target examination & approval task is any one the examination & approval task in examination & approval task;
Transmitting element 203, the target approver determined for the target task of examining being sent to target approver information.
Optionally, in some embodiments of the invention, this device also comprises:
Storage unit, for storing this coded message.
Above-mentioned coded message can be stored by approver's variable array, and thus, in some embodiments of the invention, this device also comprises:
Creating unit, for creating approver's variable array in flow process variable, this flow process variable is the global variable arranged for above-mentioned workflow;
Said memory cells, specifically for passing through this this coded message of approver's variable storage of array.
Optionally, in some embodiments of the invention, this device also comprises:
Approver's information analysis corresponding for examination & approval task in workflow, for after receiving target examination & approval task, is java code by script engine by resolution unit;
Processing unit, for splicing and combining java code, and imports the corresponding java bag of java code;
Coding unit 201, specifically for by compiling and performing java bag, obtains coded message.
Optionally, in some embodiments of the invention, this device also comprises:
Generation unit, for according to the business demand generation script in workflow, this script correspond to above-mentioned script engine.
In the present embodiment, approver's information corresponding for examination & approval task in workflow is encoded, obtain coded message, obviously, coded message includes the corresponding relation between each examination & approval task and corresponding approver, after receiving target examination & approval task, wherein target examination & approval task is to any one the examination & approval task in above-mentioned examination & approval task, by the target approver information that coded message determination target examination & approval task is corresponding, also target approver is just determined, the target task of examining is issued target approver audit, obviously, the present invention is relative to prior art, do not need to arrange multiple parallel examination & approval node, only need the coded message obtaining the corresponding relation comprised between each examination & approval task and corresponding approver, just approval process can be completed, therefore the present invention can configure by simple flow, improve performance.
For the ease of understand, below with the application scenarios of a reality to being described alternately between each unit of the examination & approval device in the workflow in the embodiment of the present invention:
Storage unit prestores coded message, this coded message is that approver's information that the examination & approval task (the examination & approval task of reimbursed sum) in workflow is corresponding is carried out by coding unit 201 coded message obtained of encoding, approver's information correspond to approver, wherein, coded message comprises: if reimbursed sum≤100, examination & approval people is approver A, if 100 ﹤ reimbursed sum≤1000, examination & approval people is approver B, if 1000 ﹤ reimbursed sum≤10000, examination & approval people is approver C, if reimbursed sum > 10000, examination & approval people is approver D.
The approval process of workflow comprises successively: start node, expense reimbursement single node, script node, examination & approval node, end node.User submits expenses claim sheer to, expense reimbursement node determination expense report is effective, and determine that reimbursed sum is 600 yuan, script node transfers the coded message prestored, determining unit 202 by approver's information corresponding to coded message determination reimbursed sum 600 yuan, and then determines approver B by approver's information, and reimbursed sum 600 yuan is sent to approver B by transmitting element 203, examination & approval node completes the examination & approval of reimbursed sum 600 yuan by approver B, approval process terminates.
The above, above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. the measures and procedures for the examination and approval in workflow, is characterized in that, comprising:
Approver's information corresponding for examination & approval task in workflow is encoded, obtains coded message;
After receiving target examination & approval task, determine by described coded message the target approver information that described target examination & approval task is corresponding, wherein, described target examination & approval task is any one the examination & approval task in described examination & approval task;
By the target approver that described target examination & approval task sends to described target approver information to determine.
2. method according to claim 1, is characterized in that, describedly approver's information corresponding for examination & approval task in workflow is encoded, and obtains coded message, comprises afterwards:
Store described coded message.
3. method according to claim 2, is characterized in that, the described coded message of described storage comprises:
In flow process variable, create approver's variable array, described flow process variable is the global variable arranged for described workflow;
By coded message described in described approver's variable storage of array.
4. the method according to claims 1 to 3 any one, is characterized in that, describedly approver's information corresponding for examination & approval task in workflow is encoded, and obtains coded message, comprising:
Be java code by script engine by approver's information analysis corresponding for the examination & approval task in workflow;
Splice and combine described java code, and import the corresponding java bag of described java code;
Wrap by compiling and performing described java, obtain coded message.
5. method according to claim 4, is characterized in that, described method also comprises:
According to the business demand generation script in described workflow, described script correspond to described script engine.
6. the examination & approval device in workflow, is characterized in that, comprising:
Coding unit, encodes for approver's information corresponding to the examination & approval task in workflow, obtains coded message;
Determining unit, for after receiving target examination & approval task, determines by described coded message the target approver information that described target examination & approval task is corresponding, and wherein, described target examination & approval task is any one the examination & approval task in described examination & approval task;
Transmitting element, for the target approver sending to described target approver information to determine described target examination & approval task.
7. device according to claim 6, is characterized in that, described device also comprises:
Storage unit, for storing described coded message.
8. device according to claim 7, is characterized in that, described device also comprises:
Creating unit, for creating approver's variable array in flow process variable, described flow process variable is the global variable arranged for described workflow;
Described storage unit, specifically for by coded message described in described approver's variable storage of array.
9. the device according to claim 6 to 8 any one, is characterized in that, described device also comprises:
Approver's information analysis corresponding for examination & approval task in workflow, for after receiving target examination & approval task, is java code by script engine by resolution unit;
Processing unit, for splicing and combining described java code, and imports the corresponding java bag of described java code;
Described coding unit, specifically for wrapping by compiling and performing described java, obtains coded message.
10. device according to claim 9, is characterized in that, described device also comprises:
Generation unit, for according to the business demand generation script in described workflow, described script correspond to described script engine.
CN201510812868.6A 2015-11-19 2015-11-19 Examination and approval method and device in workflow Pending CN105447635A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510812868.6A CN105447635A (en) 2015-11-19 2015-11-19 Examination and approval method and device in workflow

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510812868.6A CN105447635A (en) 2015-11-19 2015-11-19 Examination and approval method and device in workflow

Publications (1)

Publication Number Publication Date
CN105447635A true CN105447635A (en) 2016-03-30

Family

ID=55557783

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510812868.6A Pending CN105447635A (en) 2015-11-19 2015-11-19 Examination and approval method and device in workflow

Country Status (1)

Country Link
CN (1) CN105447635A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109697569A (en) * 2018-12-27 2019-04-30 金蝶软件(中国)有限公司 A kind of method and system defining workflow
CN111695881A (en) * 2020-06-18 2020-09-22 行吟信息科技(武汉)有限公司 Enterprise data warehouse management method and platform
CN112256672A (en) * 2020-10-22 2021-01-22 中国联合网络通信集团有限公司 Database change approval method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109697569A (en) * 2018-12-27 2019-04-30 金蝶软件(中国)有限公司 A kind of method and system defining workflow
CN111695881A (en) * 2020-06-18 2020-09-22 行吟信息科技(武汉)有限公司 Enterprise data warehouse management method and platform
CN112256672A (en) * 2020-10-22 2021-01-22 中国联合网络通信集团有限公司 Database change approval method and device
CN112256672B (en) * 2020-10-22 2023-05-30 中国联合网络通信集团有限公司 Database change approval method and device

Similar Documents

Publication Publication Date Title
CN105512881B (en) A kind of method and terminal for completing payment based on two dimensional code
CN104268079B (en) A kind of method and system of POS Application testings
CN105791178B (en) Message assemble method and device
CN110401634A (en) A kind of web application hole detection regulation engine implementation method and terminal
CN107404418B (en) Internet product testing method, device, equipment and storage medium
CN107766738A (en) A kind of binding method of smart machine, device and system, communication system
CN109033475A (en) A kind of file memory method, device, equipment and storage medium
CN110634471B (en) Voice quality inspection method and device, electronic equipment and storage medium
CN108399574B (en) Claim data acquisition method, butt-joint claim subsystem, medium and electronic equipment
CN106484603B (en) A kind of service test method and device
CN105447635A (en) Examination and approval method and device in workflow
CN106708723B (en) A kind of test, method of calibration and device
CN108241576A (en) A kind of interface test method and system
CN103246606A (en) Method and system for testing performances of ESB (enterprises service bus) platform
CN107612877A (en) Verify the methods, devices and systems of multimedia file legitimacy
CN108460068A (en) Method, apparatus, storage medium and the terminal that report imports and exports
CN112631924A (en) Automatic testing method and device, computer equipment and storage medium
CN109739704A (en) A kind of interface test method, server-side and computer readable storage medium
CN105630667A (en) Test method and terminal equipment
CN108008959A (en) A kind of Software Development Kit SDK cut-in methods, system and device
CN117234916A (en) Workflow application testing method and device, electronic equipment and storage medium
CN109617708B (en) Compression method, device and system for embedded point log
CN113450085B (en) Service processing method, system, storage medium and electronic equipment
CN109889418A (en) CAN bus based data transmission method and device
US10509659B1 (en) Input processing logic to produce outputs for downstream systems using configurations

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160330