CN115993916A - Workflow modeling control method, device, medium and equipment - Google Patents

Workflow modeling control method, device, medium and equipment Download PDF

Info

Publication number
CN115993916A
CN115993916A CN202310165623.3A CN202310165623A CN115993916A CN 115993916 A CN115993916 A CN 115993916A CN 202310165623 A CN202310165623 A CN 202310165623A CN 115993916 A CN115993916 A CN 115993916A
Authority
CN
China
Prior art keywords
workflow
working link
link node
node
editing
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
CN202310165623.3A
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.)
Beijing Glodon World Technology Co ltd
Original Assignee
Beijing Glodon World Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Glodon World Technology Co ltd filed Critical Beijing Glodon World Technology Co ltd
Priority to CN202310165623.3A priority Critical patent/CN115993916A/en
Publication of CN115993916A publication Critical patent/CN115993916A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application relates to a workflow modeling control method, a workflow modeling control device, a workflow modeling control medium and workflow modeling control equipment, and belongs to the technical field of computers. The method and the device can generate a visual workflow chart according to a preset workflow; transmitting the workflow diagram to a workflow engine so that the workflow engine establishes association relation between the workflow diagram and various control data; for each working link node in the workflow chart, responding to the receiving of a state triggering instruction by the working link node, and controlling and displaying node information corresponding to the working link node; and responding to the receiving of the editing trigger instruction by the working link node, controlling and displaying an editing interface corresponding to the working link node, and editing node information corresponding to the working link node based on the editing instruction detected on the editing interface. Thus, the modeling control effect of the workflow can be improved.

Description

Workflow modeling control method, device, medium and equipment
Technical Field
The application belongs to the technical field of computers, and particularly relates to a workflow modeling control method, a workflow modeling control device, a workflow modeling control medium and workflow modeling control equipment.
Background
Currently, workFlow (WorkFlow) is a computational model of WorkFlow, i.e., logic and rules of how work in the WorkFlow is organized together, expressed in a computer in an appropriate model, and calculated for implementation. The main problems to be solved by the workflow are as follows: to achieve a certain business objective, a computer is used to automatically communicate among a plurality of participants according to a certain predetermined rule.
In practice, the visualization degree of the current workflow modeling control mode is low, and the manual adjustment mode is complex, so that the workflow modeling control effect is poor.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
Therefore, the application provides a workflow modeling control method, a workflow modeling control device, a workflow modeling control medium and workflow modeling control equipment, which are beneficial to improving the modeling control effect of a workflow.
In order to achieve the above purpose, the present application adopts the following technical scheme:
in a first aspect, the present application provides a workflow modeling control method, the method including:
generating a visual workflow diagram according to a preset workflow; the workflow comprises at least each working link node contained in the preset workflow and a circulation relation among the working link nodes;
Transmitting the workflow diagram to a workflow engine so that the workflow engine establishes an association relationship between the workflow diagram and various control data; wherein, the various control data at least comprise third party system control data and task list control data;
for each working link node in the workflow, responding to the receiving of a state triggering instruction by the working link node, and controlling and displaying node information corresponding to the working link node; wherein, the node information at least comprises control data corresponding to the working link node;
and responding to the receiving of the editing trigger instruction by the working link node, controlling and displaying an editing interface corresponding to the working link node, and editing node information corresponding to the working link node based on the editing instruction detected on the editing interface.
Further, the responding to the receiving of the editing trigger instruction by the working link node controls and displays the editing interface corresponding to the working link node, including:
and responding to the working link node receiving an editing trigger instruction for indicating the source code editing, and controlling and displaying a source code editing interface corresponding to the working link node.
Further, the method further comprises:
performing data verification on node information edited by the working link node to obtain a verification result;
and if the verification result indicates that the abnormal information exists, outputting an abnormal prompt aiming at the abnormal information.
Further, the method further comprises:
for each working link node in the workflow, determining a form processing category corresponding to a form configuration task in response to the task type corresponding to the working link node being the form configuration task; the form processing category comprises a category to be handled or a category to be read;
if the form processing category is the to-be-handled category, configuring a to-be-handled form corresponding to the working link node according to the form operation authority matched with the to-be-handled category, and outputting the configured to-be-handled form;
if the form processing category is the to-be-read category, configuring the to-be-read form corresponding to the working link node according to the form operation authority matched with the to-be-read category, and outputting the configured to-be-read form.
Further, the method further comprises:
acquiring a preset public function;
Constructing a business expression based on the preset public function and workflow variables aiming at the preset workflow;
performing data processing operation on each working link node in the workflow chart through the service expression; wherein the data processing operations include at least variable assignment operations.
In a second aspect, the present application provides a workflow modeling control apparatus, the apparatus comprising:
the flow chart generating unit is used for generating a visual work flow chart according to a preset work flow; the workflow comprises at least each working link node contained in the preset workflow and a circulation relation among the working link nodes;
the workflow engine is used for establishing the association relation between the workflow diagram and various control data; wherein, the various control data at least comprise third party system control data and task list control data;
the node display unit is used for responding to the state trigger instruction received by each working link node in the working flow chart and controlling and displaying the node information corresponding to the working link node; wherein, the node information at least comprises control data corresponding to the working link node;
The node editing unit is used for responding to the receiving of the editing trigger instruction by the working link node, controlling and displaying an editing interface corresponding to the working link node, and editing node information corresponding to the working link node based on the editing instruction detected on the editing interface.
Further, the node editing unit is specifically configured to:
and responding to the working link node receiving an editing trigger instruction for indicating the source code editing, and controlling and displaying a source code editing interface corresponding to the working link node.
Further, the device further comprises:
the abnormal reminding unit is used for carrying out data verification on the node information edited by the working link node to obtain a verification result; and if the verification result indicates that the abnormal information exists, outputting an abnormal prompt aiming at the abnormal information.
Further, the device further comprises:
the task processing unit is used for responding to each working link node in the workflow chart, responding to the task type corresponding to the working link node as a form configuration task and determining the form processing category corresponding to the form configuration task; the form processing category comprises a category to be handled or a category to be read; if the form processing category is the to-be-handled category, configuring a to-be-handled form corresponding to the working link node according to the form operation authority matched with the to-be-handled category, and outputting the configured to-be-handled form; if the form processing category is the to-be-read category, configuring the to-be-read form corresponding to the working link node according to the form operation authority matched with the to-be-read category, and outputting the configured to-be-read form.
Further, the device further comprises:
the data processing unit is used for acquiring a preset public function; constructing a business expression based on the preset public function and workflow variables aiming at the preset workflow; performing data processing operation on each working link node in the workflow chart through the service expression; wherein the data processing operations include at least variable assignment operations.
In a third aspect, the present application provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the workflow modeling control method.
In a fourth aspect, the present application provides an electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the workflow modeling control method.
The application adopts the technical scheme, possesses following beneficial effect at least:
According to the method and the system, the corresponding visual workflow diagrams can be generated according to different workflows, the workflow diagrams are transmitted to the workflow engine, so that the workflow engine establishes association relations between the workflow diagrams and various control data, and node information can be displayed and edited for each working link node in the workflow diagrams. According to the process, visual modeling for the workflow is realized through the workflow diagram, and each working link node in the workflow diagram can be directly edited, so that more convenient workflow adjustment is realized, and further, the modeling control effect of the workflow can be improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow diagram illustrating a workflow modeling control method according to an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a workflow modeling control method according to another exemplary embodiment;
FIG. 3 is a block diagram of a workflow modeling control arrangement, according to an exemplary embodiment;
fig. 4 is a block diagram structural schematic diagram of an electronic device, which is shown according to an exemplary embodiment.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail below. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, based on the examples herein, which are within the scope of the protection sought by those of ordinary skill in the art without undue effort, are intended to be encompassed by the present application.
Referring to fig. 1, fig. 1 is a flowchart illustrating a workflow modeling control method according to an exemplary embodiment, the workflow modeling control method including the steps of:
step S11, generating a visual workflow chart according to a preset workflow; the workflow comprises at least each working link node contained in the preset workflow and a circulation relation among the working link nodes.
In this embodiment, the execution body may be an electronic device such as a terminal device or a server.
The preset workflow may be a workflow that needs to be modeled and controlled in various workflow application scenarios, for example, the preset workflow may be an item purchasing process. In addition, the preset workflow may be stored in the execution body in advance, or stored in other electronic devices that establish a communication connection with the execution body in advance, which is not limited in this embodiment. And, these workflows may be stored in the electronic device in the form of flowcharts.
After obtaining the preset workflow, the execution body may analyze the preset workflow, for example, analyze a flow chart of the purchasing flow of the article, so as to obtain each flow node in the flow chart, where each flow node corresponds to each working link node in the workflow chart. And analyzing the circulation relation among the flow nodes to obtain the circulation relation among the working link nodes.
And the execution body can establish corresponding nodes in the workflow according to the nodes of each working link and connect the nodes in the workflow according to the circulation relation among the nodes of each working link. And, the resulting visualized workflow diagram can be output to a user for presentation. The visualized workflow can adjust the node position through dragging and keyboard direction keys, support single selection and frame selection of the nodes, realize intelligent jumping connection lines and automatically avoid barrier nodes.
As an alternative embodiment, the following steps may also be performed: outputting the visualized workflow diagram to a user for display; detecting an operation instruction of a user on a working link node in a visualized workflow chart; the operation instruction may include a drag operation instruction, a click operation instruction, and the like, which is not limited in this embodiment. Responding to the operation instruction, executing corresponding operation to correct the layout position, the layout size, the connection relation and other information of each working link node in the workflow chart; and if the correction ending instruction is detected, synchronously modifying corresponding workflow and corresponding data in a third system and task list according to the corrected workflow diagram.
Step S12, transmitting the workflow diagram to a workflow engine so that the workflow engine establishes an association relationship between the workflow diagram and various control data; the various control data at least comprise third party system control data and task table control data.
In this embodiment, after generating the visualized workflow, the execution body may transmit the workflow to the workflow engine, so that the workflow engine establishes an association relationship between the workflow and various types of control data.
Wherein the workflow engine is a black box for the user, which is running on the server side. The engine provides a runtime execution environment for the flow instance, is a core component of the workflow management system, and is responsible for resolving the flow definition, controlling the flow instance, arranging the execution sequence of the activities, creating user work items and calling application tools.
The third party system control data may include, but is not limited to, corresponding control data in the reimbursement system, corresponding control data in the contract system, among others. Specifically, if the workflow diagram is a flow diagram corresponding to the item purchase application flow, the corresponding control data in the reimbursement system associated with the workflow diagram may include a purchase reimbursement amount, and the corresponding control data in the contract system may include item purchase contract information.
The task table control data may include, but is not limited to, statistics, etc. in task tables associated with the workflow. Specifically, if the workflow is an item purchase application flow, the task list control data may include item purchase details, and the specific statistical item may be a name of a purchased item, a number of purchased items, a purchase time, and the statistical data may be corresponding name data, number data, time data, and the like, which is not limited in this embodiment.
Step S13, for each working link node in the workflow, responding to the receiving of a state trigger instruction by the working link node, and controlling and displaying node information corresponding to the working link node; the node information at least comprises control data corresponding to the working link node.
In this embodiment, the state trigger instruction is used to trigger displaying the node state of the working link node. The execution body can respond to a click command of a user on a working link node in the visualized workflow diagram, and trigger a state triggering command.
The node information may include control data corresponding to the working link node, for example, purchase control data corresponding to the purchase link, and specifically may include data such as a purchase period, a purchase budget, and the like.
And step S14, responding to the receiving of the editing trigger instruction by the working link node, controlling and displaying an editing interface corresponding to the working link node, and editing node information corresponding to the working link node based on the editing instruction detected on the editing interface.
In this embodiment, the edit triggering instruction may be triggered by the user executing a corresponding touch operation on the visual workflow chart, for example, clicking an edit key corresponding to the node of the workflow chart. After responding to the working link node and receiving the editing trigger instruction, the execution main body can control and display an editing interface corresponding to the working link node. The user can perform corresponding editing configuration on the node information of the working link node on the editing interface, such as modifying the data of the purchasing period, the purchasing budget and the like corresponding to the purchasing link.
According to the method and the system, the corresponding visual workflow diagrams can be generated according to different workflows, the workflow diagrams are transmitted to the workflow engine, so that the workflow engine establishes association relations between the workflow diagrams and various control data, and node information can be displayed and edited for each working link node in the workflow diagrams. According to the process, visual modeling for the workflow is realized through the workflow diagram, and each working link node in the workflow diagram can be directly edited, so that more convenient workflow adjustment is realized, and further, the modeling control effect of the workflow can be improved.
Referring to fig. 2, fig. 2 is a flowchart illustrating a workflow modeling control method according to another exemplary embodiment, the workflow modeling control method including the steps of:
step S21, generating a visual workflow chart according to a preset workflow; the workflow comprises at least each working link node contained in the preset workflow and a circulation relation among the working link nodes.
In this embodiment, the execution body may be an electronic device such as a terminal device or a server.
The preset workflow may be a workflow that needs to be modeled and controlled in various workflow application scenarios, for example, the preset workflow may be an item purchasing process. In addition, the preset workflow may be stored in the execution body in advance, or stored in other electronic devices that establish a communication connection with the execution body in advance, which is not limited in this embodiment. And, these workflows may be stored in the electronic device in the form of flowcharts.
After obtaining the preset workflow, the execution body may analyze the preset workflow, for example, analyze a flow chart of the purchasing flow of the article, so as to obtain each flow node in the flow chart, where each flow node corresponds to each working link node in the workflow chart. And analyzing the circulation relation among the flow nodes to obtain the circulation relation among the working link nodes.
And the execution body can establish corresponding nodes in the workflow according to the nodes of each working link and connect the nodes in the workflow according to the circulation relation among the nodes of each working link. And, the resulting visualized workflow diagram can be output to a user for presentation.
As an alternative embodiment, the following steps may also be performed: outputting the visualized workflow diagram to a user for display; detecting an operation instruction of a user on a working link node in a visualized workflow chart; the operation instruction may include a drag operation instruction, a click operation instruction, and the like, which is not limited in this embodiment. Responding to the operation instruction, executing corresponding operation to correct the layout position, the layout size, the connection relation and other information of each working link node in the workflow chart; and if the correction ending instruction is detected, synchronously modifying corresponding workflow and corresponding data in a third system and task list according to the corrected workflow diagram.
Step S22, transmitting the workflow diagram to a workflow engine so that the workflow engine establishes an association relationship between the workflow diagram and various control data; the various control data at least comprise third party system control data and task table control data.
In this embodiment, after generating the visualized workflow, the execution body may transmit the workflow to the workflow engine, so that the workflow engine establishes an association relationship between the workflow and various types of control data.
Wherein the workflow engine is a black box for the user, which is running on the server side. The engine provides a runtime execution environment for the flow instance, is a core component of the workflow management system, and is responsible for resolving the flow definition, controlling the flow instance, arranging the execution sequence of the activities, creating user work items and calling application tools.
The third party system control data may include, but is not limited to, corresponding control data in the reimbursement system, corresponding control data in the contract system, among others. Specifically, if the workflow diagram is a flow diagram corresponding to the item purchase application flow, the corresponding control data in the reimbursement system associated with the workflow diagram may include a purchase reimbursement amount, and the corresponding control data in the contract system may include item purchase contract information.
The task table control data may include, but is not limited to, statistics, etc. in task tables associated with the workflow. Specifically, if the workflow is an item purchase application flow, the task list control data may include item purchase details, and the specific statistical item may be a name of a purchased item, a number of purchased items, a purchase time, and the statistical data may be corresponding name data, number data, time data, and the like, which is not limited in this embodiment.
Step S23, for each working link node in the workflow, responding to the receiving of a state trigger instruction by the working link node, and controlling and displaying node information corresponding to the working link node; the node information at least comprises control data corresponding to the working link node.
In this embodiment, the state trigger instruction is used to trigger displaying the node state of the working link node. The execution body can respond to a click command of a user on a working link node in the visualized workflow diagram, and trigger a state triggering command.
The node information may include control data corresponding to the working link node, for example, purchase control data corresponding to the purchase link, and specifically may include data such as a purchase period, a purchase budget, and the like.
And step S24, responding to the receiving of the editing trigger instruction by the working link node, controlling and displaying an editing interface corresponding to the working link node, and editing node information corresponding to the working link node based on the editing instruction detected on the editing interface.
In this embodiment, the edit triggering instruction may be triggered by the user executing a corresponding touch operation on the visual workflow chart, for example, clicking an edit key corresponding to the node of the workflow chart. After responding to the working link node and receiving the editing trigger instruction, the execution main body can control and display an editing interface corresponding to the working link node. The user can perform corresponding editing configuration on the node information of the working link node on the editing interface, such as modifying the data of the purchasing period, the purchasing budget and the like corresponding to the purchasing link.
As an optional implementation manner, the controlling, in response to the receiving, by the working link node, the displaying of the editing interface corresponding to the working link node includes: and responding to the working link node receiving an editing trigger instruction for indicating the source code editing, and controlling and displaying a source code editing interface corresponding to the working link node.
In this embodiment, the editing trigger instruction may include an editing trigger instruction indicating source code editing and an editing trigger instruction for common configuration item editing. If the working link node receives an editing trigger instruction for indicating source code editing, the source code editing interface corresponding to the working link node can be controlled to be displayed. The source code editing interface can display configuration source codes corresponding to the node information of the working link node, and a user can configure the node information of the working link node by directly modifying the source codes on the source code editing interface. And if the working link node receives an editing trigger instruction for indicating the editing of the common configuration item, the configuration item editing interface corresponding to the working link node can be controlled and displayed. The configuration item editing interface can display each configuration item corresponding to the node information of the working link node, and a user can directly edit configuration parameters corresponding to each configuration item on the configuration item editing interface.
And S25, performing data verification on the node information edited by the working link node to obtain a verification result.
In this embodiment, after the node information corresponding to the working link node is edited, data verification may be performed on the node information edited by the working link node, so as to obtain a verification result. The data verification is used for verifying whether the necessary filling items in the node information are configured, verifying whether the editing characters in the node information are compliant, verifying editing authorities in the node information and the like. The check result is used for indicating whether the node information edited by the working link node passes the data check or not. If the necessary filling items in the edited node information are configured, the editing words accord with rules and the editing authorities are correct, the verification result is determined to be verification passing.
And step S26, if the verification result indicates that the abnormal information exists, outputting an abnormal prompt aiming at the abnormal information.
In this embodiment, if the verification result indicates that there is abnormal information, it is indicated that there is a corresponding abnormality in the edit content in the node information, and at this time, a specific abnormality category and an abnormality position may be determined first, and then an abnormality alert for the abnormality category and the abnormality position may be output. For example, if the check result indicates that there is an unconfigured padding, it is determined that there is abnormal information. And the abnormality category corresponding to the abnormality information at this time is not configured as the necessary filling item, and at this time, an abnormality reminder for the abnormality category can be output. Optionally, the abnormal position of the abnormal information, such as the position of the unfilled necessary filling item in the editing interface, can be further determined, and the abnormal position and the abnormal category are combined to jointly output the abnormal prompt.
Step S27, obtaining a preset public function.
In this embodiment, the preset public function may be a function developed in advance for a common workflow service. The preset public function may be pre-stored in the execution body or other electronic devices connected with the execution body.
Step S28, constructing a business expression based on the preset public function and the workflow variable for the preset workflow.
In this embodiment, the execution body may first call a preset public function to generate an initial business expression for a preset workflow. The execution body may then re-determine workflow variables for the preset workflow, where the workflow variables may be determined based on human-machine interaction. And then, the execution body can add workflow variables into the initial business expression to obtain the final constructed business expression. The business expression is used in the workflow for realizing the characteristics of condition judgment, variable assignment, task assignment to be handled, workflow instance assignment and the like. The business expression is defined in terms of code fragments, which are parsed by the expression engine at the workflow runtime. The construction of the business expression in the workflow can use not only the public function provided by the system, but also the workflow variable, and the workflow also provides some functions with workflow characteristics for external use.
Step S29, performing data processing operation on each working link node in the workflow chart through the service expression; wherein the data processing operations include at least variable assignment operations.
In this embodiment, through the service expression, data processing operations such as variable assignment, task assignment to be handled, and instance assignment may be performed on each working link node in the workflow.
As an alternative embodiment, the method further comprises:
for each working link node in the workflow, determining a form processing category corresponding to a form configuration task in response to the task type corresponding to the working link node being the form configuration task; the form processing category comprises a category to be handled or a category to be read;
if the form processing category is the to-be-handled category, configuring a to-be-handled form corresponding to the working link node according to the form operation authority matched with the to-be-handled category, and outputting the configured to-be-handled form;
if the form processing category is the to-be-read category, configuring the to-be-read form corresponding to the working link node according to the form operation authority matched with the to-be-read category, and outputting the configured to-be-read form.
In this embodiment, for each working link node in the workflow chart, if the task type corresponding to the working link node is a form configuration task, it may be further determined that the form processing category corresponding to the form configuration task is a to-be-handled category or a to-be-read category. The to-do category may be a form task that needs to be processed, and the to-read category may be a form task that needs to be reviewed.
And, for the form processing category of the category to be handled, the form to be handled can be configured and output according to the form operation authority matched with the category to be handled. And for the form processing category of the category to be read, configuring and outputting the form to be read according to the form operation authority matched with the category to be read.
Wherein, the operations and rights which can be done by different types of tasks on the detail page are also different. If the task to be done can do sending, returning, suspending and the like, only the operation is read. This requires that the flow designer be able to configure different display interfaces for different types of tasks. In contrast, the implementation mode defaults to support the interface separation configuration of two types of tasks to be handled and read, provides abstract capability, and can rapidly add the interface configuration of the type which is handled and read. The to-be-handled or to-be-read task detail page can be composed of an approval UI template and a form template, wherein the approval UI template can comprise contents such as task circulation operation (sending, returning, stopping, copying and the like), approval of approval comments, viewing of processing records, viewing of a flow chart and the like, the form template displays bill contents of the form, and the layout modes of different approval UI templates on the contents are different. In addition, the method and the device can also support the path of manually configuring and approving the UI template, and the to-be-handled detail page can read the configuration value.
And, the form can be provided with different display modes at different terminal equipment, for example, the form field of the PC end adopts horizontal display and the mobile end adopts vertical display. And, the present application can support multi-terminal device integrated form configuration.
When the editing interface corresponding to the working link node is controlled to be displayed, the to-be-handled form and the to-be-read form can be displayed as display elements in the editing interface, and for the to-be-handled form, the user can execute processing such as sending, returning, stopping and the like in the editing interface. For a form to be read, the user may perform the read process in the editing interface.
According to the method and the system, the corresponding visual workflow diagrams can be generated according to different workflows, the workflow diagrams are transmitted to the workflow engine, so that the workflow engine establishes association relations between the workflow diagrams and various control data, and node information can be displayed and edited for each working link node in the workflow diagrams. According to the process, visual modeling for the workflow is realized through the workflow diagram, and each working link node in the workflow diagram can be directly edited, so that more convenient workflow adjustment is realized, and further, the modeling control effect of the workflow can be improved.
Referring to fig. 3, fig. 3 is a block diagram schematically illustrating a workflow modeling control apparatus according to an exemplary embodiment, the workflow modeling control apparatus including:
a flowchart generating unit 301, configured to generate a visualized workflow chart according to a preset workflow; the workflow comprises at least each working link node contained in the preset workflow and a circulation relation among the working link nodes;
a flowchart association unit 302, configured to transmit the workflow chart to a workflow engine, so that the workflow engine establishes an association relationship between the workflow chart and various control data; wherein, the various control data at least comprise third party system control data and task list control data;
a node display unit 303, configured to, for each working link node in the workflow chart, control and display node information corresponding to the working link node in response to the receiving of a state trigger instruction by the working link node; wherein, the node information at least comprises control data corresponding to the working link node;
the node editing unit 304 is configured to control and display an editing interface corresponding to the working link node in response to receiving an editing trigger instruction by the working link node, and edit node information corresponding to the working link node based on the editing instruction detected on the editing interface.
As an alternative embodiment, the node editing unit 304 is specifically configured to:
and responding to the working link node receiving an editing trigger instruction for indicating the source code editing, and controlling and displaying a source code editing interface corresponding to the working link node.
As an alternative embodiment, the apparatus further comprises:
the abnormal reminding unit is used for carrying out data verification on the node information edited by the working link node to obtain a verification result; and if the verification result indicates that the abnormal information exists, outputting an abnormal prompt aiming at the abnormal information.
As an alternative embodiment, the apparatus further comprises:
the task processing unit is used for responding to each working link node in the workflow chart, responding to the task type corresponding to the working link node as a form configuration task and determining the form processing category corresponding to the form configuration task; the form processing category comprises a category to be handled or a category to be read; if the form processing category is the to-be-handled category, configuring a to-be-handled form corresponding to the working link node according to the form operation authority matched with the to-be-handled category, and outputting the configured to-be-handled form; if the form processing category is the to-be-read category, configuring the to-be-read form corresponding to the working link node according to the form operation authority matched with the to-be-read category, and outputting the configured to-be-read form.
As an alternative embodiment, the apparatus further comprises:
the data processing unit is used for acquiring a preset public function; constructing a business expression based on the preset public function and workflow variables aiming at the preset workflow; performing data processing operation on each working link node in the workflow chart through the service expression; wherein the data processing operations include at least variable assignment operations.
According to the method and the system, the corresponding visual workflow diagrams can be generated according to different workflows, the workflow diagrams are transmitted to the workflow engine, so that the workflow engine establishes association relations between the workflow diagrams and various control data, and node information can be displayed and edited for each working link node in the workflow diagrams. According to the process, visual modeling for the workflow is realized through the workflow diagram, and each working link node in the workflow diagram can be directly edited, so that more convenient workflow adjustment is realized, and further, the modeling control effect of the workflow can be improved.
Referring to fig. 4, fig. 4 is a block diagram schematically illustrating an electronic device according to an exemplary embodiment, the electronic device includes:
At least one processor 402; and
a memory 401 communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory 401 stores instructions executable by the at least one processor 402, the instructions being executable by the at least one processor 402 to enable the at least one processor 402 to perform the method described above.
Regarding the electronic device in the above embodiment, in practical applications, the electronic device may be a terminal device, a server, or the like, and a specific manner in which the processor 402 executes the program in the memory 401 has been described in detail in the embodiment related to the method, which will not be described in detail herein.
Furthermore, the present application provides a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the above-described method.
Wherein the storage medium may be a magnetic Disk, an optical Disk, a Read-only Memory (ROM), a random access Memory (Random Access Memory, RAM), a Flash Memory (Flash Memory), a Hard Disk (HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
It is to be understood that the same or similar parts in the above embodiments may be referred to each other, and that in some embodiments, the same or similar parts in other embodiments may be referred to.
It should be noted that in the description of the present application, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Furthermore, in the description of the present application, unless otherwise indicated, the meaning of "plurality", "multiple" means at least two.
It will be understood that when an element is referred to as being "mounted" or "disposed" on another element, it can be directly on the other element or intervening elements may also be present; when an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may be present, and further, as used herein, connection may comprise a wireless connection; the use of the term "and/or" includes any and all combinations of one or more of the associated listed items.
Any process or method description in a flowchart or otherwise described herein may be understood as: means, segments, or portions of code representing executable instructions including one or more steps for implementing specific logical functions or processes are included in the preferred embodiments of the present application, in which functions may be executed out of order from that shown or discussed, including in a substantially simultaneous manner or in an inverse order, depending upon the functionality involved, as would be understood by those skilled in the art to which the embodiments of the present application pertains.
It is to be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Those of ordinary skill in the art will appreciate that all or part of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, and the program may be stored in a computer readable storage medium, where the program when executed includes one or a combination of the steps of the method embodiments.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing module, or each unit may exist alone physically, or two or more units may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules may also be stored in a computer readable storage medium if implemented as software functional modules and sold or used as a stand-alone product.
The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, or the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present application have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the application, and that variations, modifications, alternatives, and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the application.

Claims (10)

1. A workflow modeling control method, the method comprising:
generating a visual workflow diagram according to a preset workflow; the workflow comprises at least each working link node contained in the preset workflow and a circulation relation among the working link nodes;
Transmitting the workflow diagram to a workflow engine so that the workflow engine establishes an association relationship between the workflow diagram and various control data; wherein, the various control data at least comprise third party system control data and task list control data;
for each working link node in the workflow, responding to the receiving of a state triggering instruction by the working link node, and controlling and displaying node information corresponding to the working link node; wherein, the node information at least comprises control data corresponding to the working link node;
and responding to the receiving of the editing trigger instruction by the working link node, controlling and displaying an editing interface corresponding to the working link node, and editing node information corresponding to the working link node based on the editing instruction detected on the editing interface.
2. The method according to claim 1, wherein the controlling, in response to the working link node receiving the edit trigger instruction, displaying the edit interface corresponding to the working link node includes:
and responding to the working link node receiving an editing trigger instruction for indicating the source code editing, and controlling and displaying a source code editing interface corresponding to the working link node.
3. The method according to claim 1, wherein the method further comprises:
performing data verification on node information edited by the working link node to obtain a verification result;
and if the verification result indicates that the abnormal information exists, outputting an abnormal prompt aiming at the abnormal information.
4. The method according to claim 1, wherein the method further comprises:
for each working link node in the workflow, determining a form processing category corresponding to a form configuration task in response to the task type corresponding to the working link node being the form configuration task; the form processing category comprises a category to be handled or a category to be read;
if the form processing category is the to-be-handled category, configuring a to-be-handled form corresponding to the working link node according to the form operation authority matched with the to-be-handled category, and outputting the configured to-be-handled form;
if the form processing category is the to-be-read category, configuring the to-be-read form corresponding to the working link node according to the form operation authority matched with the to-be-read category, and outputting the configured to-be-read form.
5. The method according to claim 1, wherein the method further comprises:
acquiring a preset public function;
constructing a business expression based on the preset public function and workflow variables aiming at the preset workflow;
performing data processing operation on each working link node in the workflow chart through the service expression; wherein the data processing operations include at least variable assignment operations.
6. A workflow modeling control apparatus, the apparatus comprising:
the flow chart generating unit is used for generating a visual work flow chart according to a preset work flow; the workflow comprises at least each working link node contained in the preset workflow and a circulation relation among the working link nodes;
the workflow engine is used for establishing the association relation between the workflow diagram and various control data; wherein, the various control data at least comprise third party system control data and task list control data;
the node display unit is used for responding to the state trigger instruction received by each working link node in the working flow chart and controlling and displaying the node information corresponding to the working link node; wherein, the node information at least comprises control data corresponding to the working link node;
The node editing unit is used for responding to the receiving of the editing trigger instruction by the working link node, controlling and displaying an editing interface corresponding to the working link node, and editing node information corresponding to the working link node based on the editing instruction detected on the editing interface.
7. The apparatus of claim 6, wherein the node editing unit is specifically configured to:
and responding to the working link node receiving an editing trigger instruction for indicating the source code editing, and controlling and displaying a source code editing interface corresponding to the working link node.
8. The apparatus of claim 6, wherein the apparatus further comprises:
the abnormal reminding unit is used for carrying out data verification on the node information edited by the working link node to obtain a verification result; and if the verification result indicates that the abnormal information exists, outputting an abnormal prompt aiming at the abnormal information.
9. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1-5.
10. An electronic device, comprising:
At least one processor; and
a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
CN202310165623.3A 2023-02-27 2023-02-27 Workflow modeling control method, device, medium and equipment Pending CN115993916A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310165623.3A CN115993916A (en) 2023-02-27 2023-02-27 Workflow modeling control method, device, medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310165623.3A CN115993916A (en) 2023-02-27 2023-02-27 Workflow modeling control method, device, medium and equipment

Publications (1)

Publication Number Publication Date
CN115993916A true CN115993916A (en) 2023-04-21

Family

ID=85992118

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310165623.3A Pending CN115993916A (en) 2023-02-27 2023-02-27 Workflow modeling control method, device, medium and equipment

Country Status (1)

Country Link
CN (1) CN115993916A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101714230A (en) * 2009-11-20 2010-05-26 广东金宇恒科技有限公司 User-defined workflow management method and system
CN107886295A (en) * 2017-10-23 2018-04-06 东软集团股份有限公司 Flow template changing process method, device, readable storage medium storing program for executing and electronic equipment
CN111796945A (en) * 2020-06-12 2020-10-20 中国建设银行股份有限公司 Workflow construction method and device, electronic equipment and readable storage medium
CN114723397A (en) * 2022-03-28 2022-07-08 阿里云计算有限公司 Flow execution method and device
CN115629990A (en) * 2022-11-15 2023-01-20 四川无限智达科技有限公司 Service testing method and device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101714230A (en) * 2009-11-20 2010-05-26 广东金宇恒科技有限公司 User-defined workflow management method and system
CN107886295A (en) * 2017-10-23 2018-04-06 东软集团股份有限公司 Flow template changing process method, device, readable storage medium storing program for executing and electronic equipment
CN111796945A (en) * 2020-06-12 2020-10-20 中国建设银行股份有限公司 Workflow construction method and device, electronic equipment and readable storage medium
CN114723397A (en) * 2022-03-28 2022-07-08 阿里云计算有限公司 Flow execution method and device
CN115629990A (en) * 2022-11-15 2023-01-20 四川无限智达科技有限公司 Service testing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US11163536B2 (en) Maintenance and commissioning
WO2021109928A1 (en) Creation method, usage method and apparatus for machine learning scheme template
CN108459792B (en) Flow switching method and device and computer equipment
CN111598533A (en) Process approval processing method and device, electronic equipment and storage medium
CN102439562A (en) Card processing
CN111949258B (en) Approval process construction method, device and system
US20220222623A1 (en) System and method of industrial automation multi-developer control code change commits
US11803553B2 (en) Providing triggers based on one-to-many or many-to-one relationships in a system of record
CN112200491B (en) Digital twin model construction method, device and storage medium
CN113111632A (en) Visual configuration method, device, equipment and medium for electronic manuscript paper
US20230152790A1 (en) System model smart object configuration
CN115993916A (en) Workflow modeling control method, device, medium and equipment
EP4137937A1 (en) Industrial automation project library cross sharing
US20160086114A1 (en) Service-based consulting framework
EP4296803A1 (en) Device configuration object template with user interaction for device properties generator
JP2008217443A (en) Business process simulator, and business process simulation program
KR102355791B1 (en) Tools to define requirements specification for the screen developing a software, web based service and mobile platform service
AU2018202506A1 (en) Client services reporting
US20220292457A1 (en) Industrial automation smart object inheritance break and singleton creation
US11093359B2 (en) System and method for automated desktop analytics triggers
CN107783905A (en) The automated testing method and system sent based on simulation short message
US20240053718A1 (en) Background discovery agent orchestration
US20240077852A1 (en) Industrial automation system topology with point to point representation paths
Feja et al. Business process verification
KR20240054362A (en) Methods and systems for managing apps, especially developing apps that include event artifacts

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20230421

RJ01 Rejection of invention patent application after publication