CN104461517A - Method for operating workflow event through java dynamic script - Google Patents

Method for operating workflow event through java dynamic script Download PDF

Info

Publication number
CN104461517A
CN104461517A CN201410680906.2A CN201410680906A CN104461517A CN 104461517 A CN104461517 A CN 104461517A CN 201410680906 A CN201410680906 A CN 201410680906A CN 104461517 A CN104461517 A CN 104461517A
Authority
CN
China
Prior art keywords
flow
event
outpost
tax office
dynamic script
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
CN201410680906.2A
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.)
G Cloud Technology Co Ltd
Original Assignee
G Cloud 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 G Cloud Technology Co Ltd filed Critical G Cloud Technology Co Ltd
Priority to CN201410680906.2A priority Critical patent/CN104461517A/en
Publication of CN104461517A publication Critical patent/CN104461517A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

The invention relates to the technical field of software, in particular to a method for operating a workflow event through a java dynamic script. The method includes the following steps of firstly, planning a flow define file, programming a flow diagram, and defining all sign-off checkpoints of a service process system; secondly, packing the flow define file and the automatically-generated flow diagram and uploading the flow define file and the automatically-generated flow diagram to a flow platform, wherein a data configuration table is automatically generated on the background through the system during uploading; thirdly, clicking on deployed flow details to start a flow define management page, and managing all event interfaces of all the checkpoints of the flow on the flow define management page; fourthly, saving a form after the configuration of the events of the flow checkpoints is completed to complete the edition function, and issuing a flow event processing call-back interface through the system at the same time. The method solves the problem that the service flow system can not be processed in a hard coding mode and can be used for operating the workflow event.

Description

The method of java dynamic script operation element stream event
Technical field
The present invention relates to software technology field, be specifically related to a kind of method of java dynamic script operation element stream event.
Background technology
Current business process system function becomes increasingly complex, and the real business of enterprise often occurs to change in the operational process in later stage, as departmental manager's examination & approval in 3 days of asking for leave, and general manager's examination & approval in more than 3 days.Department's examination & approval in 4 days are become, general manager's examination & approval in more than 4 days etc. after a period of time.This just requires that software systems corresponding with it can accomplish to tackle at any time the situation of this demand change.And traditional flow process hard coded mode obviously thisly occurs in the problem that demand changes being very thorny in the runtime in reply.
Summary of the invention
The technical matters that the present invention solves is a kind of method of java dynamic script operation element stream event, and solving can not the problem of hard coded mode processing service flow journey system.
Solution of the above problems of the present invention is:
Described method comprises the following steps:
1st step: first planning process defined file, writes out process flow diagram, defines each sign-off outpost of the tax office of business process system;
2nd step: the process flow diagram packing of flow definition file and production is automatically uploaded to flowsheet platform, and when uploading, system is at backstage automatically generated data allocation list;
3rd step: click the flow process of disposing detailed, open flow definition administration page, in the various event interface at this each outpost of the tax office of management process; Event type comprises outpost of the tax office initialization event, outpost of the tax office list preserve event, outpost of the tax office handler send list before event, outpost of the tax office handler send event after list;
4th step: after completing flow process outpost of the tax office event configuration, Resuming form completes editting function, system issues flow events process callback interface simultaneously.
In the 1st described step, for JBPM flow engine, first planning process defined file, writes out process flow diagram in JPDL plug-in unit, defines each sign-off outpost of the tax office of business process system.
In the 2nd described step, the process flow diagram packing of flow definition file and jpdl automatically being produced uploads to flowsheet platform; When uploading, system is at backstage automatically generated data allocation list.
In the 4th described step, take hot deployment way, without the need to restarting.
The invention has the beneficial effects as follows: the present invention can reduce the degree of coupling of process flow diagram and traffic flow code, JS script grammer dynamic-configuration event handling function is provided, accomplishes flexible and changeable, flow rules can be adjusted at any time.Because of built-in integrated with spring and workflow context, the class registered in spring and workflow can be called flexibly, thoroughly traffic flow function code is separated from process flow diagram, and realized by the mode of dynamic-configuration, adjust at any time, come into force at any time, the change of the enterprise of response in time reality business, significantly reduce the workload of flow process developer and later maintenance personnel, promote work efficiency.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the present invention is further described:
Fig. 1 is for being process flow diagram of the present invention.
Embodiment
As shown in Figure 1, under the present invention, mask body is for procurement process, tells about the concrete operations of the method.
Following operation (assuming that eclipse has been integrated with JPDL plug-in unit) is had in exploitation procurement process process:
1, definitim flow figure: definitim flow figure in JPDL, according to enterprise's reality buying rule, use each outpost of the tax office of <task> site type definition procurement process, according to JBPM specification, fill in the value in key, name, version attribute to <process> node, after preserving, JPDL can automatic product process figure
2, flow process is issued: flow definition file (xml file) and process flow diagram (png file) packing are compressed into ZIP file, then go flow process to dispose the page to upload, prompting upload successfully represent flow process issues successfully, and backstage for this reason flow process generate correspondence configuration information table.The now flow process deployment page can show the flow process inventory issued in detail.
3, configuration flow event: click procurement process entry, enter the procurement process event configuration page, on the left side process flow diagram is clicked the flow process outpost of the tax office that will configure, there is the event interface configuration page at the corresponding outpost of the tax office in the right, according to practical business rule editing dynamic script, as back-end data verification, according to page data product process purport, call mail interface and send information, perform SQL and upgrade other Relational database table etc.
4, heat is disposed: click save button completes event configuration Scripting Edition and namely completes heat deployment.

Claims (5)

  1. The method of 1.java dynamic script configuration effort stream event, is characterized in that: described method comprises the following steps:
    1st step: first planning process defined file, writes out process flow diagram, defines each sign-off outpost of the tax office of business process system;
    2nd step: the process flow diagram packing of flow definition file and production is automatically uploaded to flowsheet platform, and when uploading, system is at backstage automatically generated data allocation list;
    3rd step: click the flow process of disposing detailed, open flow definition administration page, in the various event interface at this each outpost of the tax office of management process; Event type comprises outpost of the tax office initialization event, outpost of the tax office list preserve event, outpost of the tax office handler send list before event, outpost of the tax office handler send event after list;
    4th step: after completing flow process outpost of the tax office event configuration, Resuming form completes editting function, system issues flow events process callback interface simultaneously.
  2. 2. the method for java dynamic script configuration effort stream event according to claim 1, it is characterized in that: in the 1st described step, for JBPM flow engine, first planning process defined file, in JPDL plug-in unit, write out process flow diagram, define each sign-off outpost of the tax office of business process system.
  3. 3. the method for java dynamic script configuration effort stream event according to claim 1 and 2, is characterized in that: in the 2nd described step, and the process flow diagram packing of flow definition file and jpdl automatically being produced uploads to flowsheet platform; When uploading, system is at backstage automatically generated data allocation list.
  4. 4. the method for java dynamic script configuration effort stream event according to claim 1 and 2, is characterized in that: in the 4th described step, take hot deployment way, without the need to restarting.
  5. 5. the method for java dynamic script configuration effort stream event according to claim 3, is characterized in that: in the 4th described step, take hot deployment way, without the need to restarting.
CN201410680906.2A 2014-11-23 2014-11-23 Method for operating workflow event through java dynamic script Pending CN104461517A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410680906.2A CN104461517A (en) 2014-11-23 2014-11-23 Method for operating workflow event through java dynamic script

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410680906.2A CN104461517A (en) 2014-11-23 2014-11-23 Method for operating workflow event through java dynamic script

Publications (1)

Publication Number Publication Date
CN104461517A true CN104461517A (en) 2015-03-25

Family

ID=52907628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410680906.2A Pending CN104461517A (en) 2014-11-23 2014-11-23 Method for operating workflow event through java dynamic script

Country Status (1)

Country Link
CN (1) CN104461517A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108076125A (en) * 2016-11-11 2018-05-25 北京京东尚科信息技术有限公司 Interface allocation method and system
CN111897548A (en) * 2020-07-24 2020-11-06 平安证券股份有限公司 Front-end resource publishing method and device, electronic equipment and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090183063A1 (en) * 2008-01-14 2009-07-16 International Business Machines Corporation System and method of integrating a plurality of form related workflow tools
US20110179058A1 (en) * 2010-01-19 2011-07-21 International Business Machines Corporation Enabling workflow awareness within a business process management (bpm) system
CN102486730A (en) * 2010-12-06 2012-06-06 上海协讯软件有限公司 Workflow realization method and workflow system capable of customizing flow in user-defined manner
CN103679384A (en) * 2013-12-25 2014-03-26 武汉武船信息集成有限公司 Method for workflow cooperative office work

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090183063A1 (en) * 2008-01-14 2009-07-16 International Business Machines Corporation System and method of integrating a plurality of form related workflow tools
US20110179058A1 (en) * 2010-01-19 2011-07-21 International Business Machines Corporation Enabling workflow awareness within a business process management (bpm) system
CN102486730A (en) * 2010-12-06 2012-06-06 上海协讯软件有限公司 Workflow realization method and workflow system capable of customizing flow in user-defined manner
CN103679384A (en) * 2013-12-25 2014-03-26 武汉武船信息集成有限公司 Method for workflow cooperative office work

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LINLIANGYI2007: "JBPM-JPDL学习笔记-流程设计与控制", 《HTTP://WWW.ITEYE.COM/TOPIC/176345》 *
梁龙: "支持动态配置的信息化平台关键技术的研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108076125A (en) * 2016-11-11 2018-05-25 北京京东尚科信息技术有限公司 Interface allocation method and system
CN111897548A (en) * 2020-07-24 2020-11-06 平安证券股份有限公司 Front-end resource publishing method and device, electronic equipment and computer storage medium
CN111897548B (en) * 2020-07-24 2023-11-10 平安证券股份有限公司 Front-end resource issuing method and device, electronic equipment and computer storage medium

Similar Documents

Publication Publication Date Title
CN105324769B (en) For generating the solution for being used for the set of scripts of automated data library migration
US11157468B2 (en) System for multi-release and parallel development of a database
US8504990B2 (en) Middleware configuration processes
US20130173539A1 (en) Remote data collection systems and methods using read only data extraction and dynamic data handling
CN106156186A (en) A kind of data model managing device, server and data processing method
CN104331285A (en) Automatic code generation method and system
CN110019138B (en) Automatic transfer table space migration method and system based on Zabbix
CN104965735A (en) Apparatus for generating upgrade SQL script
CN110806907B (en) Containerized configurable database script execution management system and method
CN102156640A (en) Method for generating data operation code
US9305067B2 (en) Creation of change-based data integration jobs
US20110153562A1 (en) Error prevention for data replication
CN104573184A (en) Construction method and construction device for high speed train product meta-model
CN105069138A (en) Association analysis system and method
CN104915193A (en) Flow engine processing method and device
CN103942046A (en) Unified model developing method based on objects
CN103942280A (en) Automatic code generating method based on data structure
CN104461517A (en) Method for operating workflow event through java dynamic script
US20160196127A1 (en) Automated code deployment system
CN101561899A (en) MBOM increasingly receiving method with integration of design, production and management
CN107783870A (en) A kind of server-compatible test result management method and system
CN111242470B (en) Manufacturing resource modeling and calling method based on intelligent contract
CN101458628A (en) Program edition management method
CN117291517A (en) Method and device for constructing approval process
CN107015831A (en) A kind of client updating management method upgraded based on server end and system

Legal Events

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

Application publication date: 20150325

RJ01 Rejection of invention patent application after publication