CN116185383A - Draggable self-configuration workflow generation method and system - Google Patents

Draggable self-configuration workflow generation method and system Download PDF

Info

Publication number
CN116185383A
CN116185383A CN202310019823.8A CN202310019823A CN116185383A CN 116185383 A CN116185383 A CN 116185383A CN 202310019823 A CN202310019823 A CN 202310019823A CN 116185383 A CN116185383 A CN 116185383A
Authority
CN
China
Prior art keywords
business
business process
node
target
flow
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
CN202310019823.8A
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.)
Institute of Software of CAS
Original Assignee
Institute of Software of CAS
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 Institute of Software of CAS filed Critical Institute of Software of CAS
Priority to CN202310019823.8A priority Critical patent/CN116185383A/en
Publication of CN116185383A publication Critical patent/CN116185383A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a draggable self-configuration workflow generation method and system. The method comprises the following steps: 1) Dragging each business process node required by the target business to a main canvas in a business system in a dragging mode and configuring basic information of each business process node; 2) Establishing data flow logic between the business process nodes by connecting the business process nodes; 3) Configuring starting conditions of the business process nodes to complete configuration of a target business process; 4) Binding the target business process with the corresponding business form, and setting the role of the login personnel and the authority range of each business process node in the target business process. The invention provides convenience for flow designers, reduces the workload of workflow model manufacture, and improves the flexibility, reliability and maintainability of the system.

Description

Draggable self-configuration workflow generation method and system
Technical Field
The invention belongs to the technical field of computer software, and particularly relates to a draggable self-configuration workflow generation method and system.
Background
The workflow is a business model reflecting the business flow in the actual work process. By solidifying service experience into service processing logic, if the configuration information of the service flow is maintained in the service system in a hard coding mode in the process of realizing the service system, the program code is required to be synchronously modified in the service system when the service flow is changed, so that the maintenance efficiency is lower; if the workflow model is realized by using an open source workflow engine such as Activiti, jBPM, the problems of difficult workflow model manufacturing, poor flexibility and high learning cost are unavoidable.
Disclosure of Invention
Aiming at the problems in the prior art, the invention aims to provide a workflow generating method and a workflow generating system capable of dragging self-configuration based on a business process.
In a first aspect, an embodiment of the present invention provides a self-configurable draggable service flow configuration method, including: dragging the business process node to a main canvas in a dragging mode and configuring basic information of each node, such as node type, node name and the like; establishing data flow logic of each business process node by connecting each business process node; and configuring starting conditions of each business process node to complete the configuration of the target business process.
Further, configurable items in the process are exposed on a user service operation interface, personalized contents in the target service process are generated in a user self-configuration mode in a service system, such as front-back logic relation, operation authority range, service form filling range and the like of each process node, the generated unique id identification of the target service process is bound with corresponding service operation, the state of each target service process related to the current operation is dynamically displayed, and finally visual display is carried out.
Further, the method further comprises: and dragging each node involved in the target business flow, and selecting a corresponding node type, such as a start node, an approval node, a condition node, an end node and the like. Establishing a target business process, a logic relation of data of each node and a related circulation line by drawing and connecting each node; by selecting and configuring node operation roles, the operation authority range of each node is established, and data security is realized; and binding the finally drawn business flow with the business operation by generating a unique identifier, so that the state of each business flow related to the current operation can be dynamically displayed in the subsequent business operation.
Further, based on the unique id identifier in the target business process and serving as a first target dynamic script, loading a default target business process without personalized configuration items from a business operation system; because the user needs to configure the configurable item of the target business process in the actual business operation, the target business process after personalized configuration is bound with the current business operator single number, and a new corresponding script identification of the business process is generated, namely, the script identification of each dynamic script is obtained by combining the version number of the business process and the business operator single number. And loading scripts with the script identification consistent with the flow version number and the work order number into a plurality of dynamic scripts stored in a business system when business operation is carried out each time, wherein the scripts are the final dynamic scripts.
Furthermore, based on the node connection direction, the serial and parallel of the business logic is realized. Comprising the following steps: the node connection names among the nodes and the node connection numbers are used for jointly forming the start of the node connection by the front node number and the rear node number, wherein one node connection number only corresponds to one front node number and one rear node number, but one node number corresponds to one or more node connection numbers, so that the serial parallelism of service logic is realized.
In a second aspect, an embodiment of the present invention provides a workflow generating method capable of dragging self-configuration based on a business process, including the steps of: 1) Dragging each business process node required by the target business to a main canvas in a business system in a dragging mode and configuring basic information of each business process node; 2) Establishing data flow logic between the business process nodes by connecting the business process nodes; 3) Configuring starting conditions of the business process nodes to complete configuration of a target business process; 4) Binding the target business process with the corresponding business form, and setting the role of the login personnel and the authority range of each business process node in the target business process. Wherein, binding the specific business form with one or more business processes comprises: business process numbers, belonging to process component numbers, business process states, etc.; the same business process may also be bound to one or more business forms. If the target business flow is updated, selecting a corresponding flow in an actual business form, acquiring a new version number, and performing according to the new business flow in the next business operation; if the target business flow is not updated, selecting a corresponding flow and an original version number in the actual business form, wherein the business operation flow is not changed.
In a third aspect, an embodiment of the present invention provides a workflow generating method, which may be used in a processing manner for drawing universality and specificity of a flow. Whether the target business process is universal or special, the target business process is saved as a JSON file format after being drawn and saved, and is an extensible JSON definition for each configurable item exposed to a user. After exposing the configurable item to the user, the JSON definition of the workflow model needs to be modified accordingly when the user modifies the value of the configurable item. Thus, each configurable item exposed to the user needs to be saved. The configuration item key is used for positioning the configuration item of the workflow model element modified by the user. Based on this information, synchronous modification of the flow component JSON definition can be achieved.
The embodiment of the invention provides a workflow generating system capable of being dragged and self-configured based on a business process, which comprises a workflow drawing module, a permission setting module, a personnel management module, a specific business operation module related to the workflow and the like. Dragging corresponding data acquisition links to a target area through a workflow drawing module, establishing a circulation line among all data acquisition links, configuring circulation logic and starting conditions of all data acquisition links, and further completing configuration of a business process. Roles and authority ranges related in a business link of a company are configured through the authority setting module, roles of each employee of the company are configured through the personnel management module, and partial configurability in a workflow, including node operation roles and operation authority ranges, is achieved, and data safety and sensitivity are guaranteed. The specific business operation module is used for binding the target business process with the current business operator number to dynamically load the business process because the configurable item of the target business process is involved in the actual business operation.
The invention also provides a server comprising a memory and a processor, the memory storing a computer program configured to be executed by the processor, the computer program comprising instructions for performing the steps of the above method.
The invention also provides a computer readable storage medium having stored thereon a computer program, characterized in that the computer program when executed by a processor realizes the steps of the above method.
The invention has the following advantages:
1. the workflow model is designed into the form of components, and the significance of the workflow model is that convenience is provided for flow designers, and the workload of workflow model manufacturing is reduced. Therefore, the design of the flow component provides some general configurable items for different application scenes, so that the flow designer can meet the application requirements only through simple configuration, and can draw the flow component only by personnel with experience of using a basic computer, thereby reducing the technical threshold and facilitating the operation of a user.
2. More workflow configurable items are exposed to users, the problem that codes are required to be changed continuously along with changes of markets or businesses is solved, and the problem that standardized workflow without configurable items cannot meet special conditions in actual business processing operation is solved, so that the flexibility, reliability and maintainability of the system are improved.
3. The workflow and node role authority are combined and for each step in the process, a person may be assigned to perform a particular operation. Ensuring that each employee knows the responsibilities assigned to its work role. While the management layer can immediately know if their tasks are not completed on time. The supervisor no longer has to manage each employee or take time to check their progress.
4. When a certain business process is changed, in process management, the drawn business process needs to be changed, and part of process links are newly added or deleted; changing data flow logic; when the method is specifically applied to the service, a new service flow version number required by the service is selected, and the configuration information of the service flow is reflected to the specific application example in a dynamic loading mode, so that the dependence of the service flow on hard coding can be avoided, and further, a workflow system adopted by the service system can be conveniently switched.
Drawings
Fig. 1 is a flowchart of a draggable self-configuration method based on a business process according to an embodiment of the present invention.
FIG. 2 is a partial screenshot of an example of a personnel entry business process.
FIG. 3 is a partial screenshot of another personnel entry professional workflow example.
Fig. 4 is a schematic structural diagram of a business process configuration system based on visual drag according to an embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a business process configuration system based on visual drag according to another embodiment of the present invention.
FIG. 6 is a schematic diagram of a flow component E-R provided by an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
It should be noted that the method and the device for processing the configuration information of the business process provided by the invention can be used in the personnel field or other fields. The foregoing is merely an example, and the application fields of the method and the device for processing the configuration information of the business process provided by the present invention are not limited.
As known from the background art, when the service processing logic of the service flow is placed in the service system, if the configuration information of the service flow is maintained in the service system in a hard coding manner, when the service flow changes, the program code also needs to be synchronously modified in the service system, so that the maintenance efficiency is low; if the workflow model is realized by using an open source workflow engine such as Activiti, jBPM, the problems of difficult workflow model manufacturing, poor flexibility and high learning cost are unavoidable. How to realize the light weight, flexible and convenient research of workflow engine and workflow model manufacture is important.
Therefore, the embodiment of the invention provides a workflow method and a workflow system capable of being dragged to self-configure based on a business process, wherein the business process configuration is completed by dragging corresponding business process nodes in a fixed area, and chart bulletin board display is carried out according to the state of the current business process, when the business process changes, the corresponding process is directly and dynamically loaded, and the time is not consumed to modify program codes in a business system, so that the maintenance efficiency of configuration information is improved.
Referring to fig. 1, a flowchart of a method for processing configuration information of a service flow according to an embodiment of the present invention is shown, where the method includes:
step 1, dragging corresponding business flow links according to target business;
according to the business objective, the flow related information of the drawn objective business flow needs to be inquired, including whether the business flow with the duplicate name is generated in the database, and naming the name and the flow type in each business flow link so as to determine the starting point of the whole business flow.
Therefore, it can be understood that step 1 needs to specify that the whole business process is the latest version and has no repetition, so that the uniqueness of the drawing process is ensured; in addition, in order to meet the requirement of simple and visual operation, each flow link is arranged to be draggable, so that a customer can draw a flow chart transversely or longitudinally conveniently.
It should be added that even though the same department of the same company may have different flow modes for the same business at different times, when the business is changed, the system operator may update the currently drawn business flow or redraw a business flow chart. For updating the business flow chart, the unique identification id of the flow is not changed, and the new business also correspondingly loads the latest flow; for redrawing the flow chart, the business process will generate a new identification id to show the distinction. The target area is an area for generating the business process, for example, a display interface for generating a file for a newly-built process.
Step 2, establishing the circulation logic and starting conditions of each business process link, and completing the configuration of the target business process;
each business process link is provided with a last business node and a next business process node, and each business process link is connected by a mouse according to the previously established business process requirements on the basis of determining the process types of the starting node, the ending node and each node in the step 1. The service nodes are clicked in sequence to link, for example, the service flow node A is clicked first and then the service flow node B is clicked, so that the circulation logic of the two service flow nodes is realized; the starting condition for each node is also realized through user self-configuration, for example, the condition node needs to meet the condition filled by the user to start.
It will be appreciated, therefore, that step 2 is to build a data flow line for the overall service, solidifying the service experience into service processing logic.
It should be added that the above-mentioned last step or next step service node may be one or more. Before any business process node operates, the node tries to start to perform business operation, but whether the node can perform or display operation is judged by starting conditions, the current system support is judged according to the completion condition and logic relation of the current business process node and the last business process, for example, the completion condition can be other expression forms such as ' complete completion ' or ' partial completion ', the logic relation can be other expression forms such as ' AND ' or ' and the like, and the specific requirement is determined according to the instance condition.
Step 3, selecting and dynamically reading a target business process according to the drawn business process and applying the target business process to actual application business;
and carrying out data binding on the specific business form and the business flow according to business requirements, and carrying out operation processing according to the drawn business flow in the later business operation. Because the same company and the same department have different flow modes for the same service in different periods, the corresponding target service flow needs to be selected for binding in practical application.
It will be understood, therefore, that step 3 is a process of establishing a specific business form and business process link binding, and that the business data involved in the form will be circulated according to the business process logic.
It should be added that the current system supports two modes of default business processes and user selection according to form requirements and types each time.
Step 4, specifically limiting node authority in the flow in the actual application service;
the flow drawn in the step 1 and the step 2 has certain universality, and the current node business operation can be performed by meeting the starting condition of each business flow node, but in practical application, the permission of each node is required to be further limited. Although the allowed roles of the business operations are specified in the drawing process, only a fixed person is allowed to operate under the same role of the same company, for example, the role A corresponds to two persons a and b, but only the person a can operate, then the authority of certain business nodes which are already applied in the example needs to be further limited, and only the person a is allowed to have the behavior of the business operations, namely the node authority.
Therefore, it can be understood that the step 4 is that the whole general procedure is already drawn, and the operation authority of the node needs to be limited according to special needs in the specific practical application service.
It should be added that, because the drawn business processes have universality in the step 1 and the step 2, the general business process operation for the whole group cannot be performed for the specific details of the operation business personnel of each node, so that the node authority in the process of the actual application business is limited only after the target business process is dynamically read, namely, the business process for special situations is generated, and the condition that only a certain person who is fixed under the same role of the same company is allowed to perform the operation is satisfied.
By combining the contents of the above embodiments, the configuration of the target business process can be completed by dragging the corresponding business process links and configuring the circulation logic and the starting condition of each business process link, and the business process is not required to be realized in a hard coding mode in each business module. When the application is in a specific example, only the selected drawn business flow is needed to be loaded, the specific business form and the business flow are subjected to data binding, and in the later business operation, operation processing is performed according to the drawn business flow. The authority of the business process node can be further limited when the special situation is met. When the business changes, the business process can be modified by the staff of the company, new business process information, configuration information and circulation logic of each business link can be dynamically read in the instance, the program codes do not need to be modified in the business system in a time-consuming manner, and the maintenance efficiency of the configuration information is improved.
FIG. 2 is a partial screenshot of an example of a personnel entry business process. The method and system for providing a workflow based on a draggable self-configuration of a business process according to an embodiment of the present invention are illustrated in the following with reference to fig. 2. The method comprises the following steps:
1) And dragging the wanted business link types, such as filling, submitting, auditing and the like, in the fixed area. The business names of the personnel filling basic information, the job entry allocation table, the department leading approval, the personnel leading signature, the board length signature, the job entry determination and the like in the figure 2 are filled in the corresponding links.
2) And establishing the circulation logic and the starting condition of each business flow link. For example, when the service node is defined by "fill-in basic information"
When the method points to the department leader approval, the process of opening the department leader approval link is automatically added in the next step of filling the basic information, and meanwhile, the condition of completing the department leader approval link is automatically added in the opening condition of the department leader approval, namely, the link circulation logic of connecting the basic information and the department leader approval in series is completed.
3) In the actual application service, specific selection is required according to specific service types, and corresponding service flows such as auditing and the like are dynamically loaded.
4) Through the above flow configuration, the drawing of the business flow and the application of the instance have been completed, and the node authority in the flow in the actual application business can be specifically limited. For example, there may be multiple personnel leadership, but the job may need one of the leadership to be approved, and then a specific auditor may be further selected in the business link "personnel leadership" as a business link. The starting condition of the personnel lead signature is changed into the completion of the department lead audit, and the current operator can meet the starting condition of the approval node for the appointed personnel.
On the basis of the embodiment, the service node flow is configured in a dragging mode, and the flow logic of the service flow is drawn through the connection, so that the maintenance of the configuration information of the service flow in a service system in a hard coding mode is avoided, and when the service flow changes, the program codes are required to be synchronously modified in the service system, so that the maintenance efficiency is low.
Further, based on the above embodiment, the method further includes: the method comprises the steps that the original flow is required to be corrected for service modification, partial service flow links are newly added or deleted, the data flow logic and starting conditions of each service link to be changed are reconfigured, and the data flow logic and starting conditions are timely applied to the subsequent service flow; the business process node type also comprises a condition node, the data flow direction after the business process node type is determined according to the data obtained by the process links, and the node condition set by a process drawing personnel judges the business process links to be passed by next step of the data.
And taking the version number generated by the drawn business process as a unique identifier, wherein after the process is modified, the version number of the drawn business process is possibly updated, if the version number is updated, the corresponding version number needs to be selected in the actual business form, and if the drawing process person directly modifies the original process without version update, the corresponding process and the original version number are selected in the actual business form, and the business operation process is not changed.
Meanwhile, the version number of the target business process is used as a unique id identifier in the target business process, namely a first unique identifier. And the service workflow id is used for binding, so that the service flow with personalized configuration is conveniently and dynamically loaded. The second unique identifier can be obtained by combining the flow name of the target business flow with the current version number, so that the purpose is to avoid that the corresponding business flow cannot be selected when the version numbers are consistent when the user selects the flow.
By combining the above, when a certain business process changes, in process management, the drawn business process needs to be changed, and part of process links are newly added or deleted; changing data flow logic; when the method is specifically applied to the service, a new service flow version number required by the service is selected, and the configuration information of the service flow is reflected to the specific application example in a dynamic loading mode, so that the dependence of the service flow on hard coding can be avoided, and further, a workflow system adopted by the service system can be conveniently switched.
According to the change of policy conditions, a company inevitably needs to modify the current flow of the system, such as adding some new business flows or deleting some business flows, changing business logic, etc. To better illustrate the contents of the various embodiments above, an illustration is provided by FIG. 3; fig. 3 is another personnel entering flow, which shows another flow chart of a method for processing configuration information of a business flow according to an embodiment of the present invention.
As shown in fig. 3, compared with the personnel entering flow of fig. 2, after filling in basic information, business flow nodes of "branch office lead audit", "what is led by receiving department", "call-in department receives", "whether the practice period is ended", "turning-in" need to be added, wherein the two audit nodes of "branch office lead audit" and "human resource audit" are audited in parallel, after the call-in department determines that the practice period needs to be judged whether to be ended or not after the reception, turning-in operation is performed after the call-in department determines that the practice period is ended. Making the flow modification as above requires the steps of:
1) And modifying the personnel flow of the original version, dragging to increase the type of the wanted service link, and deleting part of the original service nodes. Such as adding audit nodes "branch office lead audit", "receiving department lead audit", "tuning-in department lead audit", and conditional nodes "whether the practice period is over" and deleting audit nodes "department lead approval" and "board owner signature".
2) And establishing the circulation logic and the starting conditions of each corrected business process link. For example, original business data is directly transferred to business logic of a department leader by personnel filling basic information to be modified, namely, after personnel basic information is filled, human resources and the department leader are required to be synchronously transferred to be seen at the same time, and the business logic of one data transfer two departments is required to be completed. And the starting conditions of the receiving department leading audit are 'manpower resource audit' and 'receiving department leading audit' known by the connection
The "branch office leadership" is completed with the audit completed and the service node can be started only by the completion, in other words
'and' relationship.
3) And automatically generating and storing a new version number for the corrected business processes so as to select from the follow-up actual application business, thereby being convenient for dynamically loading the corresponding latest business processes such as auditing and the like.
4) Comparing fig. 2 and fig. 3, the personnel entering flow of fig. 3 makes a finer one-step distinction for personnel role rights related to the business flow links. For example, as for filling contents of a form, personnel of a head office fill in basic information of personnel in the same form content, and human resources of branch offices fill in post work information of the personnel; for another example, the leader signature is subdivided into: human resources, branch offices, and receiving departments. The node authorities of the roles refine the specific operable content in the business process further, and the starting condition of each business process node can be met only by the current business operator meeting the appointed personnel role in the process
Based on the embodiment of fig. 2, the embodiment of the invention adds or deletes the service link flow nodes and changes the node types; modifying the circulation logic and starting conditions of the related business process nodes; updating the authority of the service node reduces the dependence on hard coding to the maximum extent, and can be timely and quickly implemented into practical service application after the process is modified.
As previously mentioned, the business processes may be different for each different phase of each company, requiring timely adjustments to the business. Therefore, the flow component provides some general configurable items, and the flow component is specially used for different application scenes and requirements, so that drawing flow personnel can meet the application requirements or flow modification only through simple configuration, and the efficiency of drawing the business flow model by the user is improved. The user can create a certain number of different types of flow nodes in advance and make some general configurations for the flow components, such as node names, node roles, decision conditions, and the like. When a user makes a business process model, the user can perform proper configuration operation based on the existing process components according to specific requirements. The workflow model creation mode can provide certain high efficiency and convenience for users. The process components cannot destroy the JSON definition after being used for splicing, and a workflow model spliced by the process components can also freely remove unnecessary process components.
As shown in fig. 6, for example, the change information of the data acquisition link and the change information of the circulation line in the flow change information may be synchronized by the following format:
the user first needs to create the name of the target business process, the system automatically generates the business process id number as a unique identifier, and then creates a process component on the basis of the unique identifier, wherein the process component comprises a process node type and the like, and a configurable item of each process component node. When a user adds a flow node, a flow component splicing record table is added, a newly added flow component id is transmitted into the affiliated flow, a workflow model element of a sequential flow type is created by the system to connect the two parts, and the element is added into the JSON definition of the workflow model. When the application example is applied, the drawn flow can be loaded only by selecting the corresponding flow id number.
{
'apply_id': actual application service list id
'flow_id': flow id, drawing unique identifier of business flow
Element id, element identifier of configurable item in flow node, such as node operation authority, name, etc
Node_id', node id, identifier of node pointing to next business process link, i.e. start of connection line
}
}
In the description of the above embodiment, when a certain service flow is updated, a dynamic script corresponding to the service flow is updated in the service system, so as to dynamically update the configuration information of the service flow, realize the real-time update of the service flow, and also meet the design goals of lighter weight, more flexibility and higher efficiency.
Corresponding to the above-mentioned method for processing configuration information of a service flow provided by the embodiment of the present invention, referring to fig. 4, the embodiment of the present invention further provides a structural block diagram of a processing device for processing configuration information of a service flow, where the processing device includes: drawing the circulation logic and starting conditions of each node, obtaining the latest version number of the flow, dynamically applying the loading flow and inquiring the state of the business flow at any time.
1) And drawing the circulation logic and starting conditions of each node, and converting the actual business of the company into an online workflow.
2) And acquiring the latest version number of the flow, inquiring whether the business flow drawn in the business is updated or not, and selecting the corresponding flow according to business requirements.
3) And dynamically loading the corresponding flow according to the flow id used for reading the service work order id and the binding flow id by the dynamic application loading flow.
4) The state of the business process is inquired at any time, the corresponding process of each work order in the business system has a corresponding unique identifier, and the unique identifier of each work order is obtained by combining the version number of the business process and the business work order number.
In the embodiment of the invention, the configuration information of the business process is configured through the dynamic script, when the business process is changed, the new configuration information of the business process can be read from the updated dynamic script, the program code is not required to be modified in the business system, and the maintenance efficiency of the configuration information is improved.
Preferably, referring to fig. 5 in conjunction with the content shown in fig. 3, an embodiment of the present invention further provides another structural block diagram of a processing apparatus for configuration information of a service flow, including: drawing the circulation logic and starting conditions of each node, obtaining the latest version number of the flow, dynamically applying the loading flow, verifying the authority of the node operator, and inquiring the service flow state at any time by dynamically checking the sequence and the conditions.
The difference between fig. 4 and fig. 5 is that in the actual business operation, fig. 5 needs to dynamically check whether the current link operator satisfies the node operator limited in drawing the flow according to the flow id, and needs to determine the data flow logic in the data flow process.
In another aspect, embodiments of the present invention further provide a non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor is implemented to perform the transmission method provided in the above embodiments, for example, including: dragging a corresponding data acquisition link to a target area according to a service flow to be generated; establishing a circulation circuit among the data acquisition ring nodes; and configuring the circulation logic and the starting conditions of each data acquisition link to complete the configuration of the business process.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Although specific embodiments of the invention have been disclosed for illustrative purposes, it will be appreciated by those skilled in the art that the invention may be implemented with the help of a variety of examples: various alternatives, variations and modifications are possible without departing from the spirit and scope of the invention and the appended claims. Therefore, it is intended that the invention not be limited to the particular embodiment disclosed as the best mode contemplated for carrying out this invention, but that the invention will have the scope indicated by the scope of the appended claims.

Claims (9)

1. A workflow generating method capable of dragging self-configuration comprises the following steps:
1) Dragging each business process node required by the target business to a main canvas in a business system in a dragging mode and configuring basic information of each business process node;
2) Establishing data flow logic between the business process nodes by connecting the business process nodes;
3) Configuring starting conditions of the business process nodes to complete configuration of a target business process;
4) Binding the target business process with the corresponding business form, and setting the role of the login personnel and the authority range of each business process node in the target business process.
2. The method of claim 1, wherein the business process nodes required by the target workflow comprise a start node, an approval node, a condition node, and an end node.
3. The method of claim 1, wherein a unique identifier of the target business process is generated and bound to a corresponding business form.
4. A method according to claim 3, characterized in that a unique identifier of the target business process is generated as a first target dynamic scenario of the target business process based on the version number of the target business process and the business form number to which the target business process is bound.
5. The method of claim 1, wherein serial parallelism of business logic is implemented based on wiring between the business process nodes; the information of the connection line comprises a connection line name and a connection line number.
6. The method of claim 1, wherein the same business form is bound to a plurality of target business processes; if one of the target business processes is updated, the business form is bound with the updated target business process.
7. The system is characterized by comprising a workflow drawing module, a right setting module, a personnel management module and a service operation module;
the workflow drawing module is used for dragging all business process nodes required by the target business to a main canvas in a dragging mode and configuring basic information of all the business process nodes; establishing data flow logic between the business process nodes by connecting the business process nodes; configuring starting conditions of all the business process nodes;
the permission setting module is used for configuring the roles of login personnel and the permission ranges of the business process nodes;
and the business operation module is used for binding the target business process with the corresponding business form.
8. A server comprising a memory and a processor, the memory storing a computer program configured to be executed by the processor, the computer program comprising instructions for performing the steps of the method of any of claims 1 to 6.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
CN202310019823.8A 2023-01-06 2023-01-06 Draggable self-configuration workflow generation method and system Pending CN116185383A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310019823.8A CN116185383A (en) 2023-01-06 2023-01-06 Draggable self-configuration workflow generation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310019823.8A CN116185383A (en) 2023-01-06 2023-01-06 Draggable self-configuration workflow generation method and system

Publications (1)

Publication Number Publication Date
CN116185383A true CN116185383A (en) 2023-05-30

Family

ID=86433759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310019823.8A Pending CN116185383A (en) 2023-01-06 2023-01-06 Draggable self-configuration workflow generation method and system

Country Status (1)

Country Link
CN (1) CN116185383A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117573082A (en) * 2023-11-24 2024-02-20 北京中海通科技有限公司 Flow driving method and device based on business individual case and electronic equipment
CN118014334A (en) * 2024-04-08 2024-05-10 微神马科技(大连)有限公司 Service recording method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117573082A (en) * 2023-11-24 2024-02-20 北京中海通科技有限公司 Flow driving method and device based on business individual case and electronic equipment
CN118014334A (en) * 2024-04-08 2024-05-10 微神马科技(大连)有限公司 Service recording method and system

Similar Documents

Publication Publication Date Title
CN116185383A (en) Draggable self-configuration workflow generation method and system
CN102193781B (en) Integrated design application
AU2007289177B2 (en) Dynamically configuring, allocating and deploying computing systems
CN109101373B (en) General test platform based on subscription/release mode
US8032635B2 (en) Grid processing in a trading network
US20060241997A1 (en) System and method for integrating workflow processes with a project management system
CN108074072A (en) A kind of financial transaction approval process management method
US20130117064A1 (en) Business process analysis combining modeling, simulation and collaboration with web and cloud delivery
CN110413281B (en) Drag-based enterprise circulation flow management and control method
CN102567838A (en) Collaborative development system and collaborative development method
US20100299170A1 (en) Stages, Phases in a Project Workflow
CN104217270A (en) Business process application file generating and execution methods, client, device and system
CN109614312A (en) Method for generating test case, device, electronic equipment and storage medium
US20200257616A1 (en) Systems and method for automated testing framework for service portal catalog
US8234649B2 (en) Composite system to integrate process systems using secondarily created process objects for local database operations and inter process system communications
CN113360100A (en) Data printing method and printing management system
US8863132B2 (en) Using abstraction layers to facilitate communication between systems
US20120278787A1 (en) Collaborative realtime planning using a model driven architecture and iterative planning tools
CN116051012A (en) Engine change data management system, method, device and equipment
US20220413843A1 (en) Combining model-driven applications and canvas-type applications with application lifecycle management
CN105955718B (en) A kind of software customized method and system
CN112418796A (en) Sub-process node activation method and device, electronic equipment and storage medium
CN114663177A (en) State change control method, device, electronic equipment and storage medium
CN112598383A (en) Approval method, device, equipment and medium
CN112363700A (en) Cooperative creation method and device of intelligent contract, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination