CN117724714A - Workflow creation method, workflow creation device, electronic device and computer readable storage medium - Google Patents

Workflow creation method, workflow creation device, electronic device and computer readable storage medium Download PDF

Info

Publication number
CN117724714A
CN117724714A CN202311681205.6A CN202311681205A CN117724714A CN 117724714 A CN117724714 A CN 117724714A CN 202311681205 A CN202311681205 A CN 202311681205A CN 117724714 A CN117724714 A CN 117724714A
Authority
CN
China
Prior art keywords
node
workflow
custom form
field
instruction
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
CN202311681205.6A
Other languages
Chinese (zh)
Inventor
张智伟
刘晓明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Mingdao Hengtong Information Technology Co ltd
Original Assignee
Beijing Mingdao Hengtong Information 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 Mingdao Hengtong Information Technology Co ltd filed Critical Beijing Mingdao Hengtong Information Technology Co ltd
Priority to CN202311681205.6A priority Critical patent/CN117724714A/en
Publication of CN117724714A publication Critical patent/CN117724714A/en
Pending legal-status Critical Current

Links

Abstract

Embodiments of the present application provide a workflow creation method, apparatus, electronic device, and computer-readable storage medium, the method including: responding to a binding instruction for each node, and displaying a custom form corresponding to each node on the design interface, wherein the custom form comprises a plurality of fields, controls capable of setting each field, field value calculation and field rules; in response to a first determination instruction for each node, a workflow is created, the workflow including a plurality of nodes, the first determination instruction being for representing configuration information of a custom form of the corresponding node. The method and the system can enable the user to flexibly design the business process more in line with business requirements by configuring the custom form.

Description

Workflow creation method, workflow creation device, electronic device and computer readable storage medium
Technical Field
Embodiments of the present application relate to the field of computer technology, and in particular, to a workflow creation method, a workflow creation device, an electronic device, and a computer readable storage medium.
Background
The workflow designer has a design interface for designing nodes in the workflow and a configuration interface for configuring data models required in the workflow nodes. When designing nodes in the workflow, if the data model configured in the configuration interface does not meet the requirement, the design interface needs to be exited to modify the data model in the configuration interface, and the operation is complex. And, the form and the content of the data model configured in the configuration interface are fixed and cannot be modified at will.
Disclosure of Invention
To solve the above technical problems, embodiments of the present application provide a workflow creation method, apparatus, electronic device, and computer-readable storage medium.
In a first aspect of the present application, there is provided a workflow creation method applied to a designer, the designer having a design interface, the method comprising:
responding to a binding instruction for each node, and displaying a custom form corresponding to each node on the design interface, wherein the custom form comprises a plurality of fields, controls capable of setting each field, field value calculation and field rules;
in response to a first determination instruction for each node, a workflow is created, the workflow including a plurality of nodes, the first determination instruction being for representing configuration information of a custom form of the corresponding node.
In one possible implementation, the method further includes: responding to a modification instruction for a certain node, and displaying the custom form which corresponds to the configuration completion of the node on a design interface; and modifying the workflow in response to a second determining instruction for the node, wherein the second determining instruction is used for representing modification information of the customized form corresponding to the completion of configuration of the node.
In one possible implementation, the method further includes: the custom form is checked before the workflow is created or modified.
In one possible implementation manner, the multiple fields in the custom form, the controls capable of setting each field, the field value calculation and the field rule all support typesetting in a dragging manner.
In a second aspect of the present application, there is provided a workflow creation apparatus applied to a designer having a design interface, the method comprising:
the first binding module is used for responding to the binding instruction of each node, displaying a custom form corresponding to each node on the design interface, wherein the custom form comprises a plurality of fields, controls capable of setting each field, field value calculation and field rules;
the system comprises a creation module, a processing module and a storage module, wherein the creation module is used for responding to a first determination instruction for each node, the workflow comprises a plurality of nodes, and the first determination instruction is used for representing configuration information of a custom form of the corresponding node.
In one possible implementation, the method further includes: the second binding module is used for responding to a modification instruction for a certain node and displaying the self-defined form which corresponds to the completion of the configuration of the node on a design interface; and the modification module is used for responding to a second determination instruction for the node, and the second determination instruction is used for representing modification information of the custom form with the configuration completion of the node.
In one possible implementation, the method further includes: and the verification module is used for verifying the custom form before the workflow is created or modified.
In one possible implementation manner, the multiple fields in the custom form, the controls capable of setting each field, the field value calculation and the field rule all support typesetting in a dragging manner.
In a third aspect of the present application, there is provided an electronic device comprising a memory and a processor, the memory having stored thereon a computer program, the processor implementing the workflow creation method as in any of the first aspects when executing the computer program.
In a fourth aspect of the present application, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the workflow creation method of any of the first aspects.
In the workflow creation method, the device, the electronic equipment and the computer readable storage medium provided by the embodiment of the application, a designer responds to a binding instruction for each node, displays a custom form corresponding to each node on a design interface, and creates a workflow in response to a first determining instruction for each node, wherein the custom form comprises a plurality of fields, controls capable of setting each field, field value calculation and field rules, so that a user can flexibly design a business flow more meeting business requirements through configuring the custom form in the use process.
It should be understood that the description in this summary is not intended to limit key or critical features of embodiments of the present application, nor is it intended to be used to limit the scope of the present application. Other features of the present application will become apparent from the description that follows.
Drawings
The above and other features, advantages and aspects of embodiments of the present application will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. In the drawings, wherein like or similar reference numerals denote like or similar elements, in which:
FIG. 1 illustrates a flow chart of a workflow creation method according to an embodiment of the present application;
FIG. 2 shows a block diagram of a workflow creation apparatus according to an embodiment of the present application;
fig. 3 shows a schematic structural diagram of an electronic device suitable for implementing embodiments of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
The workflow creation method provided by the embodiment of the application can be executed by electronic equipment, and the electronic equipment can be a server or terminal equipment. The server can be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server for providing cloud computing service; the terminal device may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, etc.
In some embodiments, the electronic device is provided with a designer, the designer is provided with a design interface, the design interface is used for showing all nodes in the workflow, the design interface is further provided with a button for binding a data model to each node in the workflow, when a user clicks a button corresponding to a certain node, a custom form corresponding to the node can be shown on the design interface, and the user can configure the custom form according to needs to complete creation of the workflow.
Workflow creation is further described below in connection with one or more embodiments of the present specification.
Referring to fig. 1, the workflow creation method includes the steps of:
step 101, responding to the binding instruction for each node, and displaying the custom form corresponding to each node on a design interface.
The custom form comprises a plurality of fields, controls capable of setting each field, field value calculation and field rules.
In one implementation, the user may trigger the binding instruction by clicking a button on the design interface that binds the data model.
For the embodiment of the application, a user can configure a plurality of fields in the custom form, controls capable of setting each field, field value calculation and field rules, and can arrange layout, style, controls and the like of the custom form. For example, custom forms may be arranged in connection with a visualization tool such as a table, tree control, statistics icon, multi-column drop down list, or the like. For example, the user can also add beautifying elements such as color collocation, icon design, layout optimization and the like into the custom form, so that the cross section of the custom form is more attractive and easy to use.
Step 102, in response to the first determination instruction for each node, creating a workflow.
The first determining instruction is used for representing configuration information of a custom form of the corresponding node. For the embodiment of the application, the workflow comprises a plurality of nodes, and the workflow is created based on the self-defined form which is configured to be corresponding to all the nodes.
It should be noted that, when designing the workflow, a custom form may be set for each node in the workflow, or a custom form may be set for some nodes, which is not limited in this embodiment of the present application, and may be selected according to actual needs.
In the embodiment of the application, the designer responds to the binding instruction for each node, displays the custom form corresponding to each node on a design interface, and responds to the first determining instruction for each node, and a workflow is created, wherein the custom form comprises a plurality of fields, controls capable of setting each field, field value calculation and field rules, so that a user can flexibly design a business flow more conforming to business requirements through configuring the custom form in the use process. For example, the user can design an interface more conforming to the operation habit and the requirement of the user according to the user-defined form, so that the user can complete the task more easily and rapidly in the use process, thereby improving the working efficiency. For example, the user can flexibly adjust each link in the business process according to the user-defined form, so that the business process meets the actual business requirement, and the adaptability and the expandability of the system are facilitated. For example, custom forms can enable workflows to be better integrated with existing services, facilitating discovery of potential problems and optimization. For example, the user-defined form has humanized interface design and operation logic, so that the experience of the user in the process of using the workflow can be improved, the learning cost of the user is reduced, and the workflow is easier to use.
Further, when the custom form configured corresponding to a certain node needs to be modified, the modification can be performed by the following steps: step a (not shown in the figure), in response to a modification instruction for a certain node, displaying a self-defined form corresponding to the completion of configuration of the node on a design interface; step b (not shown in the figure) modifies the workflow in response to a second determination instruction for the node. The second determining instruction is used for representing modification information of the custom form corresponding to the configuration completion of the node.
It should be noted that, the manner of modifying the custom form is the same as the manner of configuring the custom form, and will not be repeated here.
Further, the custom form needs to be checked before creating or modifying the workflow. Specifically, whether the fields of the user-input custom form conform to the configuration of the fields can be determined according to the setting of each field in the custom form (for example, the input modes of time control, drop-down box control, etc., field value calculation, field input rule, etc.).
The verification of input modes such as a time control, a drop-down box control and the like can be performed by verifying the interface input modes; the verification of the field input rule can be performed by verifying the background data transmission; the field entry rules may be maximum, minimum, whether field length and type must be filled, etc.
In the embodiment of the application, in order to facilitate user operation, typesetting is supported by a drag mode by a plurality of fields in a custom form, controls capable of setting each field, field value calculation and field rules.
The foregoing is a description of embodiments of the method, and the following further describes embodiments of the device.
Referring to fig. 2, the workflow creation apparatus includes:
a first binding module 201, configured to respond to a binding instruction for each node, and display a custom form corresponding to each node on the design interface.
The custom form comprises a plurality of fields, controls capable of setting each field, field value calculation and field rules.
A creation module 202 for creating a workflow in response to the first determination instruction for each node.
The workflow comprises a plurality of nodes, and the first determining instruction is used for representing configuration information of a custom form of a corresponding node.
In some embodiments, the workflow creation apparatus further comprises: the second binding module is used for responding to a modification instruction for a certain node and displaying the self-defined form which corresponds to the completion of the configuration of the node on a design interface; and the modification module is used for responding to a second determination instruction for the node, and the second determination instruction is used for representing modification information of the custom form with the configuration completion of the node.
In some embodiments, the workflow creation means: and the verification module is used for verifying the custom form before the workflow is created or modified.
In some embodiments, the plurality of fields in the custom form, the controls capable of setting each field, the field value calculation, and the field rules are all typeset by a drag mode.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the described modules may refer to corresponding procedures in the foregoing method embodiments, which are not described herein again.
In an embodiment of the present application, as shown in fig. 3, an electronic device 300 shown in fig. 3 includes: a processor 301 and a memory 303. Wherein the processor 301 is coupled to the memory 303, such as via a bus 302. Optionally, the electronic device 300 may also include a transceiver 304. It should be noted that, in practical applications, the transceiver 304 is not limited to one, and the structure of the electronic device 300 is not limited to the embodiment of the present application.
The processor 301 may be a CPU (Central Processing Unit ), general purpose processor, DSP (Digital Signal Processor, data signal processor), ASIC (Application Specific Integrated Circuit ), FPGA (Field Programmable Gate Array, field programmable gate array) or other programmable logic device, transistor logic device, hardware components, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules, and circuits described in connection with this disclosure. Processor 301 may also be a combination that implements computing functionality, e.g., comprising one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
Bus 302 may include a path to transfer information between the components. Bus 302 may be a PCI (Peripheral Component Interconnect, peripheral component interconnect Standard) bus or an EISA (Extended Industry Standard Architecture ) bus, or the like. Bus 302 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 3, but not only one bus or one type of bus.
The Memory 303 may be, but is not limited to, a ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, a RAM (Random Access Memory ) or other type of dynamic storage device that can store information and instructions, an EEPROM (Electrically Erasable Programmable Read Only Memory ), a CD-ROM (Compact Disc Read Only Memory, compact disc Read Only Memory) or other optical disk storage, optical disk storage (including compact discs, laser discs, optical discs, digital versatile discs, blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
The memory 303 is used for storing application program codes for executing the present application and is controlled to be executed by the processor 301. The processor 301 is configured to execute the application code stored in the memory 303 to implement what is shown in the foregoing method embodiments.
Among them, electronic devices include, but are not limited to: mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 3 is only an example and should not be construed as limiting the functionality and scope of use of the embodiments herein.
The present application provides a computer readable storage medium having a computer program stored thereon, which when run on a computer, causes the computer to perform the corresponding method embodiments described above.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
The foregoing is only a partial embodiment of the present application, and it should be noted that, for a person skilled in the art, several improvements and modifications can be made without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (10)

1. A workflow creation method applied to a designer, the designer having a design interface, the method comprising:
responding to a binding instruction for each node, and displaying a custom form corresponding to each node on the design interface, wherein the custom form comprises a plurality of fields, controls capable of setting each field, field value calculation and field rules;
in response to a first determination instruction for each node, a workflow is created, the workflow including a plurality of nodes, the first determination instruction being for representing configuration information of a custom form of the corresponding node.
2. The method as recited in claim 1, further comprising:
responding to a modification instruction for a certain node, and displaying the custom form which corresponds to the configuration completion of the node on a design interface;
and modifying the workflow in response to a second determining instruction for the node, wherein the second determining instruction is used for representing modification information of the customized form corresponding to the completion of configuration of the node.
3. The method as recited in claim 2, further comprising:
the custom form is checked before the workflow is created or modified.
4. The method of claim 1, wherein the plurality of fields in the custom form, the controls capable of setting each field, the field value calculation, and the field rules all support typesetting by dragging.
5. A workflow creation apparatus for application to a designer, the designer having a design interface, the method comprising:
the first binding module is used for responding to the binding instruction of each node, displaying a custom form corresponding to each node on the design interface, wherein the custom form comprises a plurality of fields, controls capable of setting each field, field value calculation and field rules;
the system comprises a creation module, a processing module and a storage module, wherein the creation module is used for responding to a first determination instruction for each node, the workflow comprises a plurality of nodes, and the first determination instruction is used for representing configuration information of a custom form of the corresponding node.
6. The apparatus as recited in claim 5, further comprising:
the second binding module is used for responding to a modification instruction for a certain node and displaying the self-defined form which corresponds to the completion of the configuration of the node on a design interface;
and the modification module is used for responding to a second determination instruction for the node, and the second determination instruction is used for representing modification information of the custom form with the configuration completion of the node.
7. The apparatus as recited in claim 6, further comprising:
and the verification module is used for verifying the custom form before the workflow is created or modified.
8. The apparatus of claim 5, wherein the plurality of fields in the custom form, the controls capable of setting each field, the field value calculation, and the field rules all support typesetting by dragging.
9. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program, characterized in that the processor, when executing the computer program, implements the workflow creation method of any of claims 1-4.
10. 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 workflow creation method of any of claims 1 to 4.
CN202311681205.6A 2023-12-08 2023-12-08 Workflow creation method, workflow creation device, electronic device and computer readable storage medium Pending CN117724714A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311681205.6A CN117724714A (en) 2023-12-08 2023-12-08 Workflow creation method, workflow creation device, electronic device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311681205.6A CN117724714A (en) 2023-12-08 2023-12-08 Workflow creation method, workflow creation device, electronic device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN117724714A true CN117724714A (en) 2024-03-19

Family

ID=90202786

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311681205.6A Pending CN117724714A (en) 2023-12-08 2023-12-08 Workflow creation method, workflow creation device, electronic device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN117724714A (en)

Similar Documents

Publication Publication Date Title
CN107957831B (en) Data processing method, device and processing equipment for displaying interface content
CN110941614A (en) Form generation method and device, electronic equipment and computer readable storage medium
CN107590205A (en) A kind of service showing method, device and equipment
CN105488125A (en) Page access method and apparatus
CN105630524A (en) Webpage text parsing method and device and mobile terminal
CN112783783A (en) Webpage point burying method, device and equipment and readable storage medium
US10572247B2 (en) Prototype management system
CN104834759A (en) Realization method and device for electronic design
US10402210B2 (en) Optimizing user interface requests for backend processing
CN105518618A (en) Input object configured to route input for a visual element to a graphic framework
CN103530105A (en) Information processing apparatus, information processing method, and program
US10366518B2 (en) Extension of text on a path
US10884765B1 (en) Object configuration dynamic graphical user interface
US9262304B2 (en) Methods and systems for testing interactions between mobile applications
US9424256B2 (en) Method and apparatus for performing type-aware change tracking in a document
CN117724714A (en) Workflow creation method, workflow creation device, electronic device and computer readable storage medium
CN104462175A (en) Method and system for establishing integrated user interface using linked data
US9230022B1 (en) Customizable result sets for application program interfaces
CN110968311A (en) Front-end page construction method and device and electronic equipment
CN114327395A (en) Webpage design method, device, computer equipment, storage medium and product
CN114253536A (en) Calling method of interface design component, terminal device and readable storage medium
US11243649B2 (en) Method and apparatus for providing web browsing interface including dividing the content display region into at least two spaces, and allowing selection of different modes for loading web pages ot the at elast two spaces
CN104883386A (en) Computer and data transmission method and system
CN111831179A (en) Signing method, device and computer readable medium
US9946440B2 (en) Method of providing flash card and apparatuses performing the same

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