CN112036736A - Workflow creating method and device - Google Patents

Workflow creating method and device Download PDF

Info

Publication number
CN112036736A
CN112036736A CN202010884134.XA CN202010884134A CN112036736A CN 112036736 A CN112036736 A CN 112036736A CN 202010884134 A CN202010884134 A CN 202010884134A CN 112036736 A CN112036736 A CN 112036736A
Authority
CN
China
Prior art keywords
approval
workflow
information
setting
table structure
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.)
Granted
Application number
CN202010884134.XA
Other languages
Chinese (zh)
Other versions
CN112036736B (en
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.)
Hangzhou Diji Intelligent Technology Co ltd
Original Assignee
Hangzhou Diji Intelligent 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 Hangzhou Diji Intelligent Technology Co ltd filed Critical Hangzhou Diji Intelligent Technology Co ltd
Priority to CN202010884134.XA priority Critical patent/CN112036736B/en
Publication of CN112036736A publication Critical patent/CN112036736A/en
Application granted granted Critical
Publication of CN112036736B publication Critical patent/CN112036736B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • 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

Abstract

One or more embodiments of the present specification provide a workflow creating method and apparatus, where the method includes: acquiring form content setting information input by a user aiming at a first visual page; generating object form content based on the form content setting information and a pre-constructed database table structure; acquiring flow circulation setting information input by a user aiming at the second visual page; determining an approval circulation process based on the process circulation setting information and preset process approval rule information; and then, according to the obtained object form content and the approval circulation flow, the business approval workflow is created, so that the creation efficiency of the business approval workflow can be improved, the creation cost of the business approval workflow is reduced, the change flexibility of the subsequent business approval workflow can be ensured, the change complexity of the business approval workflow is reduced, and the situations that the workflow is more time-consuming and high in cost due to the update of business approval requirements are avoided.

Description

Workflow creating method and device
Technical Field
The present disclosure relates to the field of internet technologies, and in particular, to a method and an apparatus for creating a workflow.
Background
At present, with the coming of the internet era, the internet is widely applied to daily study, work and life of people, and various daily matters of people can be processed and presented through the internet. Aiming at application scenes such as cooperative office, internal control processing, multi-person decision and the like related to an internal management process of an enterprise, related personnel are required to initiate a business approval workflow; for example, for an application scenario where an employee asks for leave, the employee is required to initiate a leave asking workflow.
Specifically, the service approval request personnel submits service approval on line to trigger corresponding service approval workflows, and each service approval node in the service approval workflows completes corresponding service approval. However, in the existing process of creating a business approval workflow, a business approval form is created in the form of building a database aiming at the part of form creation, and different external interfaces are required to be arranged to realize the database, so that the problems of low workflow building efficiency and high building cost exist; aiming at the part of process creation, a process is created in a process engine mode, and the process node is created in a character string mode, so that with the continuous improvement of the approval business, the requirement of updating the workflow corresponding to the approval business is usually met, and the structure provided by the external needs to be dynamically changed, so that the problems of longer time consumption and high cost of the workflow exist.
Disclosure of Invention
An object of an embodiment of the present specification is to provide a method and an apparatus for creating a workflow, so as to solve the problems of low workflow construction efficiency and high construction cost in the current workflow construction process.
To solve the above technical problem, one or more embodiments of the present specification are implemented as follows:
in a first aspect, it is an object of one or more embodiments of the present specification to provide a workflow creation method. The workflow creating method comprises the following steps:
acquiring form content setting information input by a user aiming at a first visual page;
generating object form content related to the business approval workflow to be created based on the form content setting information and a pre-constructed database table structure; and the number of the first and second groups,
acquiring flow circulation setting information input by the user aiming at a second visual page;
determining an approval circulation process related to the service approval workflow to be created based on the process circulation setting information and preset process approval rule information;
and creating a service approval workflow required in the process of executing the target approval service according to the content of the object form and the approval circulation flow.
In a second aspect, it is an object of one or more embodiments of the present specification to provide a workflow creation apparatus. The workflow creation apparatus includes:
the form information acquisition module is used for acquiring form content setting information input by a user aiming at the first visual page;
the workflow list generation module is used for generating object form content related to the business approval workflow to be created based on the form content setting information and a pre-constructed database table structure; and the number of the first and second groups,
the flow information acquisition module is used for acquiring flow circulation setting information input by the user aiming at a second visual page;
the workflow flow determining module is used for determining an approval flow related to the business approval workflow to be created based on the flow setting information and preset flow approval rule information;
and the workflow construction module is used for creating the service approval workflow required in the process of executing the target approval service according to the content of the object form and the approval flow process.
In a third aspect, an object of one or more embodiments of the present specification is to provide a workflow creation apparatus, including: a processor, and a memory arranged to store computer executable instructions; the computer executable instructions, when executed, cause the processor to carry out the steps of the method of the first aspect as described above.
In a fourth aspect, an object of one or more embodiments of the present specification is to provide a computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which, when being executed by a processor, implements the steps of the method of the first aspect described above.
According to the workflow creating method and device provided by the embodiment of the specification, the form content setting information input by a user aiming at a first visual page is acquired; generating object form content based on the form content setting information and a pre-constructed database table structure; acquiring flow circulation setting information input by a user aiming at the second visual page; determining an approval circulation process based on the process circulation setting information and preset process approval rule information; and then, according to the obtained object form content and the approval circulation flow, the business approval workflow is created, so that the creation efficiency of the business approval workflow can be improved, the creation cost of the business approval workflow is reduced, the change flexibility of the subsequent business approval workflow can be ensured, the change complexity of the business approval workflow is reduced, and the situations that the workflow is more time-consuming and high in cost due to the update of business approval requirements are avoided.
Drawings
In order to more clearly illustrate one or more embodiments or prior art solutions of the present specification, the drawings that are needed in the description of the embodiments or prior art will be briefly described below, it is obvious that the drawings in the following description are only some of the embodiments described in one or more of the specification, and that other drawings can be obtained by those skilled in the art without inventive exercise.
Fig. 1 is a first flowchart of a workflow creation method according to one or more embodiments of the present disclosure;
FIG. 2 is a second flowchart of a workflow creation method according to one or more embodiments of the present disclosure;
fig. 3 is a third flowchart of a workflow creation method provided in one or more embodiments of the present specification;
fig. 4 is a schematic view of a visualization page of an object form building process in a workflow creation method according to one or more embodiments of the present specification;
fig. 5 is a fourth flowchart of a workflow creation method provided in one or more embodiments of the present specification;
fig. 6 is a schematic view of a visualization page of a flow process building process in a workflow creation method according to one or more embodiments of the present specification;
fig. 7 is a schematic diagram illustrating a first module composition of a workflow creation apparatus according to one or more embodiments of the present disclosure;
fig. 8 is a schematic diagram illustrating a second module composition of a workflow creation apparatus according to one or more embodiments of the present disclosure;
fig. 9 is a schematic structural diagram of a workflow creation apparatus according to one or more embodiments of the present specification.
Detailed Description
In order to make the technical solutions in one or more embodiments of the present disclosure better understood, the technical solutions in one or more embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in one or more embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of one or more embodiments of the present disclosure, but not all embodiments. All other embodiments that can be derived by a person skilled in the art from the embodiments given in one or more of the present specification without inventive step shall fall within the scope of protection of this document.
It should be noted that one or more embodiments and features of the embodiments in the present description may be combined with each other without conflict. Reference will now be made in detail to one or more embodiments of the disclosure, examples of which are illustrated in the accompanying drawings.
One or more embodiments of the present specification provide a method and an apparatus for creating a workflow, where the method includes acquiring form content setting information input by a user for a first visual page; generating object form content based on the form content setting information and a pre-constructed database table structure; acquiring flow circulation setting information input by a user aiming at the second visual page; determining an approval circulation process based on the process circulation setting information and preset process approval rule information; and then, according to the obtained object form content and the approval circulation flow, the business approval workflow is created, so that the creation efficiency of the business approval workflow can be improved, the creation cost of the business approval workflow is reduced, the change flexibility of the subsequent business approval workflow can be ensured, the change complexity of the business approval workflow is reduced, and the situations that the workflow is more time-consuming and high in cost due to the update of business approval requirements are avoided.
Fig. 1 is a first flowchart of a workflow creating method according to one or more embodiments of the present disclosure, where the method in fig. 1 can be executed by a workflow creating apparatus with a display screen of a visual interface, where the workflow creating apparatus may be a terminal device or a server, and as shown in fig. 1, the method at least includes the following steps:
s102, acquiring form content setting information input by a user aiming at a first visual page; wherein the first visualization page may be an object form editing page in a workflow.
S104, generating object form content related to the business approval workflow to be created based on the acquired form content setting information and a pre-constructed database table structure;
wherein, the database table structure may include: an object table structure, an attribute table structure and a data storage table structure; the object form content is generated based on the database structure, the form content can be stored in a database structured mode, and the change operation aiming at the form can be conveniently and rapidly realized subsequently.
S106, acquiring flow circulation setting information input by a user aiming at the second visual page; the second visual page can be a flow process editing page in the workflow;
s108, determining an approval flow process related to the business approval workflow to be created based on the acquired flow set information and preset flow approval rule information; wherein, the process approval rule information may include: and triggering a constraint condition that the flow is transferred to the next node, for example, for a parallel approval node, the flow is transferred to the next node after all the parallel approval nodes pass.
S110, creating a service approval workflow required in the process of executing the target approval service according to the obtained object form content and the approval flow;
specifically, the target approval service may be a leave approval, and correspondingly, the service approval workflow is a leave approval workflow; the target approval business can also be reimbursement approval, and correspondingly, the business approval workflow is a reimbursement approval workflow; the target approval business can be commodity warehousing approval, and correspondingly, the business approval workflow is a commodity warehousing approval workflow.
In one or more embodiments of the present specification, in view of a process of constructing an object form in a workflow, in combination with a pre-constructed database table structure, based on form content setting information input by a user through a visual page, object form content related in the workflow is generated; and aiming at the construction process of the flow in the workflow, the approval flow related to the workflow is determined based on the flow setting information input by a user through a visual page, so that the creation efficiency of the business approval workflow can be improved, the creation cost of the business approval workflow is reduced, the change flexibility of the subsequent business approval workflow can be ensured, the change complexity of the business approval workflow is reduced, and the situations of long time consumption and high cost of the workflow caused by the update of business approval requirements are avoided.
Wherein, aiming at the specific process of constructing the object form in the workflow based on the pre-constructed database table structure, the database table structure may include: an object table structure, an attribute table structure and a data storage table structure;
correspondingly, as shown in fig. 2, in step S104, generating the object form content related to the service approval workflow to be created based on the acquired form content setting information and the pre-constructed database table structure, specifically including:
s1041, generating an approval object setting record containing first characteristic values corresponding to each field in a pre-constructed object table structure based on approval object definition information in the acquired form content setting information;
wherein, the approval object definition information includes: at least one item of object identification, object name, object page display name and object description, wherein, in order to ensure the uniqueness of the object identification, the object identification field can be automatically set by the system.
S1042, based on the object attribute definition information in the acquired form content setting information, generating an object attribute setting record containing second characteristic values corresponding to each field in a pre-constructed attribute table structure; the number of the object attributes is considered to be multiple, and on the basis, the object attributes and the object attribute setting records are one-to-one, namely, one object attribute setting record is generated aiming at each object attribute, so that the subsequent operation of increasing, deleting, modifying and checking the object attributes in the form is realized directly by adding or deleting the records when the form is changed.
Wherein the object attribute definition information includes: at least one item of attribute identification, attribute name and attribute page display name, wherein, in order to ensure the uniqueness of the attribute identification, the attribute identification field can be automatically set by the system.
And S1043, generating object form content related to the business approval workflow to be created according to the generated approval object setting record, the object attribute setting record and the pre-constructed data storage table structure.
In general, in the execution process of the workflow, a requirement for storing an object instance is met, for example, for a leave-asking workflow, an employee needs to upload a specific object instance such as a sick bill, and for an reimbursement workflow, an employee needs to upload a reimbursement voucher, and other specific object instances, so that in a workflow creation stage, the data storage table structure is used as a part of the content of the object form, and thus, the business approval object instance can be directly stored into a corresponding field in the data storage table structure in the following process.
Further, in consideration that an object instance needs to be stored in the workflow execution process, that is, there is a need to store a specific object instance, based on this, in S110, after creating a business approval workflow required in the process of executing the target approval business according to the obtained object form content and the approval flow, the method further includes:
acquiring a business approval object example which is required to be uploaded by an approval application user aiming at a business approval workflow;
generating an object instance storage record containing third characteristic values corresponding to all fields in a pre-constructed data storage table structure based on the acquired service approval object instance;
and adding the generated object instance storage record into a database table corresponding to the data storage table structure, and storing the obtained business examination and approval object instance into a corresponding field in the data storage table structure.
For example, for the leave asking workflow, storing the leave asking staff uploaded sick and fake bills into corresponding fields in a data storage table structure; for another example, for an reimbursement workflow, the reimbursement voucher uploaded by the reimburser is stored in a corresponding field in the data storage table structure.
In a specific implementation, the object table structure is shown in table 1, where the object table structure is used to define an object for which a workflow is directed, for example, an ask for leave object, a commodity warehousing object, an reimbursement object, and the like; the definition of the object is stored by adding an examination and approval object setting record in the database table corresponding to the object table structure, so that when the value of any field in the object table structure is changed subsequently aiming at the created workflow, the original examination and approval object setting record can be deleted, a new examination and approval object setting record is added, and the definition of the workflow object can be changed.
TABLE 1
Field(s) Type (B) Description of the invention
objectId String Object id to identify object uniqueness
name String Object name
label String Object page display name
objectType String System object/user-defined object
decription String Object description
In specific implementation, the attribute table structure is shown in table 2 below, where the attribute table structure is used to describe attributes of objects in the object table structure, that is, the attribute table structure is metadata of the objects in the object table structure, and implements attribute definition and storage of the objects in a metadata manner, so as to implement driving of a service audit workflow in a metadata manner; for example, for a leave object, the object attributes may include: leave asking type, start time, end time, leave asking duration, leave asking reason, etc.; the definition of the object attribute is stored by adding an object attribute setting record in the database table corresponding to the attribute table structure, so that when the definition of the object attribute is changed subsequently aiming at the created workflow, the definition of the object attribute of the workflow can be changed by performing addition, deletion, modification and check operations on the object attribute setting record, for example, attribute information needs to be added for an objected to be checked in an objected to be checked out, a new object attribute setting record is generated directly based on the attribute information needing to be added, and the new object attribute setting record is added to the corresponding database table, so that the problem that the database structure needs to be changed due to the fact that the attribute definition of the object in the workflow needs to be changed can be solved.
TABLE 2
Figure BDA0002655032330000071
Figure BDA0002655032330000081
In practical implementation, the data storage table structure is shown in table 3, where the data storage table structure is used for storing data of objects, for example, for a leave-asking object, the data storage table structure is used for storing a patient leave list of a leave-asking person, and the like;
TABLE 3
Figure BDA0002655032330000082
Figure BDA0002655032330000091
In the process of determining the form content setting information, as shown in fig. 3, in step S102, acquiring the form content setting information input by the user for the first visual page specifically includes:
s1021, monitoring the triggering operation of a user for a form setting component in the first visual page;
s1022, determining the annotation information corresponding to the target form setting component operated by the user and the input information in the input box of the target form setting component; the marking information is used for marking the field name and the component use in the database table structure corresponding to the target form setting component;
and S1023, determining form content setting information input by the user aiming at the first visual page according to the determined marking information and the input information.
In specific implementation, as shown in fig. 4, a visual page schematic diagram of an object form construction process in a workflow creation method is provided, and fields in a database table structure are assigned by dragging, clicking, inputting characters and other operations on functional components in a visual list editing page in a visual editing manner, so that quick setting of list objects and object attributes is realized;
specifically, a corresponding form setting component may be created in advance according to a field related in a database table structure, the first visualization page may be divided into a form setting component area and an object form editing area, if it is detected that a user drags a certain form setting component to the object form editing area, an input box is displayed at an adjacent position of the form setting component, information input by the user in the input box is used as a feature value of the field corresponding to the form setting component, for example, if the form setting component currently edited in the object form editing area is an object attribute name, information input by the user in the input box displayed at the adjacent position of the form setting component is the feature value of the attribute name field in the object attribute structure table.
In consideration of the setting process for the object attribute, feature values corresponding to a plurality of attribute fields, for example, attribute names, attribute page display names, and the like, need to be filled, and at this time, a user can input the feature values of the corresponding plurality of fields respectively when performing touch operation on one form setting component in a drop-down frame manner; additionally, to facilitate the user's convenience in viewing form design effects, clicking on the right side "preview" component can view form preview effects generated based on the edited form content.
As shown in fig. 5, in the process of determining the flow circulation setting information, in step S106, acquiring the flow circulation setting information input by the user for the second visual page specifically includes:
s1061, monitoring the triggering operation of the approval node setting component displayed on the second visual page by the user; the triggering operation comprises clicking operation on newly added components of the approval nodes, checking operation on attribute selection components in the node function setting area, text input operation on an input box in the node function setting area and the like;
s1062, determining attribute information of a service approval node newly added by the user based on the triggering operation; the attribute information of the service approval node may include at least one of a process transmission mode and a node circulation rule; the flow transmission mode comprises a serial flow or a parallel flow; the node circulation rule comprises optional action types set for the service approval nodes;
and S1063, determining the flow circulation setting information input by the user aiming at the second visual page according to the attribute information of the newly added service approval node.
Specifically, in the step S1062, determining the attribute information of the service approval node newly added by the user based on the trigger operation includes:
determining the type of an approval role of a newly added service approval node requested by a user based on the trigger operation; the type of the approval role can comprise at least one of an approver, a copy operator and an executor;
step two, displaying at least one node action type corresponding to the determined approval role type in a function setting area of the newly added service approval node;
for example, the at least one node action type corresponding to the approver includes: agreeing, refusing, handing over, refuting and signing; at least one node action type corresponding to the carbon copy comprises the following steps: checking; the at least one node action type corresponding to the executor comprises the following steps: submitting, transferring, storing and returning;
step three, determining an optional action type configured for the newly added service approval node according to the selection information of the user aiming at the displayed at least one node action type;
and step four, determining the attribute information of the newly added service approval node according to the approval role type and the optional action type of the newly added service approval node.
In specific implementation, as shown in fig. 6, a schematic view of a visual page of a workflow construction process in a workflow creation method is provided, and the setting of the service approval nodes and the function setting of the newly added service approval nodes are performed in a visual editing manner by performing operations such as dragging, clicking, character input and the like on functional components in the workflow visual editing page;
for example, if the type of the approval role of the currently added service approval node is an approver, in the function setting area, the displayed node action options include: agreeing, refusing, handing over, refuting and signing; and if the user selects 'consent', 'rejection', 'handover' and selects 'save', determining that the optional action types configured for the newly-added service approval nodes are 'consent', 'rejection' and 'handover'.
Further, considering that there may be a need to change the content of the object form in the created workflow, because a database table structure and a visual editing mode are adopted, the change of the form content can be completed by performing an operation of adding, deleting, modifying and checking records in a corresponding database table based on the monitored change input of the form, for example, adding an attribute information to an object, such as an attribute information of adding a leave-asking type to a leave-asking object, and directly adding an object attribute setting record in the database table corresponding to the attribute table structure to change the content of the form, based on which, in S110, after creating the service approval workflow required in the process of executing the target approval service according to the obtained content of the object form and the approval flow, the method further comprises:
monitoring a first change request for object form content in a target workflow;
responding to the first change request, and displaying corresponding object form content in an editable form in a form editing area in a first visual page;
monitoring form change input of a user for a form content field in the displayed object form content;
based on the form change input, updating a target setting record in a database table corresponding to the corresponding database table structure, wherein the target setting record comprises: examining and approving the object setting record and/or the object attribute setting record;
and updating the content of the object form in the target approval workflow according to the updated database table.
Specifically, after logging in an administrator account, a workflow designer enters a workflow change operation page, and if the clicking operation for a form change control is monitored, a first change request for the content of an object form in a target workflow is determined to be monitored; automatically jumping to an object form editing page, and monitoring form change input of a workflow designer on the object form editing page, for example, clicking change input of newly added object attributes, deleting change input of object attributes, and modifying change input of existing object attributes; and based on the monitored form change input, performing operations such as addition, deletion, modification and the like on the object attribute related to the form in the workflow to realize the rapid completion of the change of the object form in the workflow.
Further, considering that there may be a need to change the flow process in the created workflow, since a visual editing mode is adopted, the operation of dragging the approval node in the flow process and the flow connection line between the nodes is directly performed, so as to trigger the change of the flow process, for example, a parallel approval node is added to the second approval node in the flow process, an approval node is directly added at a corresponding position in an editable state, and the newly added approval node and the second approval node are connected in parallel to realize the change of the approval process, based on this, at S110, after the service approval workflow required in the process of executing the target approval service is created according to the obtained object form content and the approval flow process, the method further includes:
monitoring a second change request aiming at an approval circulation flow in the target workflow;
responding to the second change request, and displaying the service approval nodes and the inter-node flow examples in the corresponding approval flow process in an editable form in a flow editing area in a second visual page;
monitoring the process change input of a user aiming at the displayed business approval nodes and the flow examples among the nodes;
and updating the approval circulation process in the target approval workflow based on the process change input.
Specifically, after logging in an administrator account, a workflow designer enters a workflow change operation page, and if monitoring a click operation for a process change control, a second change request for an approval flow process in a target workflow is determined to be monitored; automatically jumping to an examination and approval process editing page, and monitoring process change input of a workflow designer on the examination and approval process editing page, for example, clicking change input of a newly added examination and approval node, for example, deleting change input of the examination and approval node, and for example, moving change input of the position of the examination and approval node; and based on the monitored process change input, adding, deleting, shifting and the like are carried out on the approval nodes in the workflow, so that the change of the approval process in the workflow is rapidly completed.
In a workflow creating method in one or more embodiments of the present specification, form content setting information input by a user for a first visualization page is acquired; generating object form content based on the form content setting information and a pre-constructed database table structure; acquiring flow circulation setting information input by a user aiming at the second visual page; determining an approval circulation process based on the process circulation setting information and preset process approval rule information; and then, according to the obtained object form content and the approval circulation flow, the business approval workflow is created, so that the creation efficiency of the business approval workflow can be improved, the creation cost of the business approval workflow is reduced, the change flexibility of the subsequent business approval workflow can be ensured, the change complexity of the business approval workflow is reduced, and the situations that the workflow is more time-consuming and high in cost due to the update of business approval requirements are avoided.
Corresponding to the workflow creating method described in fig. 1 to fig. 6, based on the same technical concept, one or more embodiments of the present specification further provide a workflow creating apparatus, and fig. 7 is a schematic diagram of a first module composition of the workflow creating apparatus provided in one or more embodiments of the present specification, the apparatus is configured to execute the workflow creating method described in fig. 1 to fig. 6, and as shown in fig. 7, the apparatus includes:
a form information obtaining module 702, configured to obtain form content setting information input by a user for a first visual page;
a workflow list generating module 704, configured to generate object form content related to a service approval workflow to be created based on the form content setting information and a pre-constructed database table structure; and the number of the first and second groups,
a flow information obtaining module 706, configured to obtain flow setting information input by the user for the second visual page;
a workflow flow determination module 708, configured to determine, based on the flow setting information and preset flow approval rule information, an approval flow related to the service approval workflow to be created;
and a workflow construction module 710, configured to create a service approval workflow required in the process of executing the target approval service according to the content of the object form and the approval flow.
Optionally, the database table structure comprises: an object table structure, an attribute table structure and a data storage table structure;
the workflow list generating module 704 is specifically configured to:
generating an approval object setting record containing first characteristic values corresponding to all fields in the object table structure based on approval object definition information in the form content setting information;
generating an object attribute setting record containing second characteristic values corresponding to all fields in the attribute table structure based on object attribute definition information in the form content setting information;
and generating the object form content related to the service approval workflow to be created according to the approval object setting record, the object attribute setting record and the data storage table structure.
Optionally, as shown in fig. 8, the apparatus further includes: an object instance storage module 712 to:
acquiring a business approval object example which is required to be uploaded by an approval application user aiming at the business approval workflow;
generating an object instance storage record containing third characteristic values corresponding to all fields in the data storage table structure based on the service approval object instance;
and adding the object instance storage record to a database table corresponding to the data storage table structure, and storing the service approval object instance to a corresponding field in the data storage table structure.
Optionally, the form information obtaining module 702 is specifically configured to:
monitoring a trigger operation of a user for a form setting component in a first visual page;
determining the marking information corresponding to the target form setting component operated by the user and the input information in the input box of the target form setting component;
and determining form content setting information input by a user aiming at the first visual page according to the labeling information and the input information.
Optionally, the flow information obtaining module 706 is specifically configured to:
monitoring the triggering operation of the user on an approval node setting component displayed on a second visual page;
determining attribute information of a newly added service approval node requested by the user based on the trigger operation;
and determining the flow circulation setting information input by the user aiming at a second visual page according to the attribute information of the newly added service approval node.
Optionally, the flow information obtaining module 706 is further specifically configured to:
determining the type of an approval role of a newly added service approval node requested by the user based on the trigger operation;
displaying at least one node action type corresponding to the approval role type in a function setting area of the newly added service approval node;
determining an optional action type configured for the newly added service approval node according to the selection information of the user for the action type of the at least one node;
and determining attribute information of the newly added service approval node according to the approval role type and the optional action type of the newly added service approval node.
Optionally, the apparatus further comprises: a workflow table change module 714 for:
monitoring a first change request for the object form content;
in response to the first change request, displaying the object form content in an editable form in a form editing area in the first visualization page;
monitoring form change input of a user for form content fields in the object form content;
based on the form change input, updating a target setting record in a database table corresponding to the corresponding database table structure, wherein the target setting record comprises: examining and approving the object setting record and/or the object attribute setting record;
and updating the content of the object form in the service approval workflow according to the updated database table.
Optionally, the apparatus further comprises: a workflow process change module 716 to:
monitoring a second change request aiming at the approval circulation flow;
responding to the second change request, and displaying the business approval nodes and the inter-node circulation examples in the approval circulation flow in a flow editing area in the second visual page according to an editable form;
monitoring the process change input of the user aiming at the business approval nodes and the flow examples among the nodes;
updating the approval flow process in the business approval workflow based on the process change input.
The workflow creating device in one or more embodiments of the present specification acquires form content setting information input by a user for a first visualization page; generating object form content based on the form content setting information and a pre-constructed database table structure; acquiring flow circulation setting information input by a user aiming at the second visual page; determining an approval circulation process based on the process circulation setting information and preset process approval rule information; and then, according to the obtained object form content and the approval circulation flow, the business approval workflow is created, so that the creation efficiency of the business approval workflow can be improved, the creation cost of the business approval workflow is reduced, the change flexibility of the subsequent business approval workflow can be ensured, the change complexity of the business approval workflow is reduced, and the situations that the workflow is more time-consuming and high in cost due to the update of business approval requirements are avoided.
It should be noted that the embodiment of the workflow creation apparatus in this specification and the embodiment of the workflow creation method in this specification are based on the same inventive concept, and therefore specific implementation of this embodiment may refer to implementation of the aforementioned corresponding workflow creation method, and repeated parts are not described again.
Further, corresponding to the methods shown in fig. 1 to fig. 6, based on the same technical concept, one or more embodiments of the present specification further provide a workflow creating apparatus for performing the workflow creating method, as shown in fig. 9.
The workflow creation apparatus may have a large difference due to different configurations or performances, and may include one or more processors 901 and a memory 902, and the memory 902 may store one or more stored applications or data. Memory 902 may be, among other things, transient storage or persistent storage. The application program stored in memory 902 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for the workflow creation facility. Still further, the processor 901 may be configured to communicate with the memory 902 to execute a series of computer-executable instructions in the memory 902 on the workflow creation device. The workflow creation apparatus may also include one or more power supplies 903, one or more wired or wireless network interfaces 904, one or more input-output interfaces 905, one or more keyboards 906, and the like.
In one particular embodiment, the workflow creation apparatus comprises a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may comprise one or more modules, and each module may comprise a series of computer-executable instructions for the workflow creation apparatus, and the one or more programs configured to be executed by one or more processors comprise computer-executable instructions for:
acquiring form content setting information input by a user aiming at a first visual page;
generating object form content related to the business approval workflow to be created based on the form content setting information and a pre-constructed database table structure; and the number of the first and second groups,
acquiring flow circulation setting information input by the user aiming at a second visual page;
determining an approval circulation process related to the service approval workflow to be created based on the process circulation setting information and preset process approval rule information;
and creating a service approval workflow required in the process of executing the target approval service according to the content of the object form and the approval circulation flow.
Optionally, the database table structure, when executed, comprises: an object table structure, an attribute table structure and a data storage table structure;
the generating of the object form content related to the service approval workflow to be created based on the form content setting information and the pre-constructed database table structure comprises the following steps:
generating an approval object setting record containing first characteristic values corresponding to all fields in the object table structure based on approval object definition information in the form content setting information;
generating an object attribute setting record containing second characteristic values corresponding to all fields in the attribute table structure based on object attribute definition information in the form content setting information;
and generating the object form content related to the service approval workflow to be created according to the approval object setting record, the object attribute setting record and the data storage table structure.
Optionally, when executed, the computer-executable instructions, after creating a business approval workflow required in executing the target approval business process according to the object form content and the approval flow process, further include:
acquiring a business approval object example which is required to be uploaded by an approval application user aiming at the business approval workflow;
generating an object instance storage record containing third characteristic values corresponding to all fields in the data storage table structure based on the service approval object instance;
and adding the object instance storage record to a database table corresponding to the data storage table structure, and storing the service approval object instance to a corresponding field in the data storage table structure.
Optionally, when executed, the computer executable instructions obtain form content setting information input by a user for the first visualization page, including:
monitoring a trigger operation of a user for a form setting component in a first visual page;
determining the marking information corresponding to the target form setting component operated by the user and the input information in the input box of the target form setting component;
and determining form content setting information input by a user aiming at the first visual page according to the labeling information and the input information.
Optionally, when executed, the obtaining the flow stream setting information input by the user for the second visual page includes:
monitoring the triggering operation of the user on an approval node setting component displayed on a second visual page;
determining attribute information of a newly added service approval node requested by the user based on the trigger operation;
and determining the flow circulation setting information input by the user aiming at a second visual page according to the attribute information of the newly added service approval node.
Optionally, when executed, the determining attribute information of the newly added service approval node requested by the user based on the trigger operation includes:
determining the type of an approval role of a newly added service approval node requested by the user based on the trigger operation;
displaying at least one node action type corresponding to the approval role type in a function setting area of the newly added service approval node;
determining an optional action type configured for the newly added service approval node according to the selection information of the user for the action type of the at least one node;
and determining attribute information of the newly added service approval node according to the approval role type and the optional action type of the newly added service approval node.
Optionally, when executed, the computer-executable instructions, after creating the business approval workflow required in executing the target approval business process according to the object form content and the approval flow process, further include:
monitoring a first change request for the object form content;
in response to the first change request, displaying the object form content in an editable form in a form editing area in the first visualization page;
monitoring form change input of a user for form content fields in the object form content;
based on the form change input, updating a target setting record in a database table corresponding to the corresponding database table structure, wherein the target setting record comprises: examining and approving the object setting record and/or the object attribute setting record;
and updating the content of the object form in the service approval workflow according to the updated database table.
Optionally, when executed, the computer-executable instructions, after creating the business approval workflow required in executing the target approval business process according to the object form content and the approval flow process, further include:
monitoring a second change request aiming at the approval circulation flow;
responding to the second change request, and displaying the business approval nodes and the inter-node circulation examples in the approval circulation flow in a flow editing area in the second visual page according to an editable form;
monitoring the process change input of the user aiming at the business approval nodes and the flow examples among the nodes;
updating the approval flow process in the business approval workflow based on the process change input.
In one or more embodiments of the present specification, a workflow creating apparatus acquires form content setting information input by a user for a first visualization page; generating object form content based on the form content setting information and a pre-constructed database table structure; acquiring flow circulation setting information input by a user aiming at the second visual page; determining an approval circulation process based on the process circulation setting information and preset process approval rule information; and then, according to the obtained object form content and the approval circulation flow, the business approval workflow is created, so that the creation efficiency of the business approval workflow can be improved, the creation cost of the business approval workflow is reduced, the change flexibility of the subsequent business approval workflow can be ensured, the change complexity of the business approval workflow is reduced, and the situations that the workflow is more time-consuming and high in cost due to the update of business approval requirements are avoided.
It should be noted that the embodiment of the workflow creation device in this specification and the embodiment of the workflow creation method in this specification are based on the same inventive concept, and therefore specific implementation of this embodiment may refer to implementation of the aforementioned corresponding workflow creation method, and repeated parts are not described again.
Further, based on the same technical concept, corresponding to the methods shown in fig. 1 to fig. 6, one or more embodiments of the present specification further provide a storage medium for storing computer-executable instructions, where in a specific embodiment, the storage medium may be a usb disk, an optical disk, a hard disk, and the like, and the storage medium stores computer-executable instructions that, when executed by a processor, implement the following processes:
acquiring form content setting information input by a user aiming at a first visual page;
generating object form content related to the business approval workflow to be created based on the form content setting information and a pre-constructed database table structure; and the number of the first and second groups,
acquiring flow circulation setting information input by the user aiming at a second visual page;
determining an approval circulation process related to the service approval workflow to be created based on the process circulation setting information and preset process approval rule information;
and creating a service approval workflow required in the process of executing the target approval service according to the content of the object form and the approval circulation flow.
Optionally, the storage medium stores computer-executable instructions that, when executed by the processor, the database table structure comprises: an object table structure, an attribute table structure and a data storage table structure;
the generating of the object form content related to the service approval workflow to be created based on the form content setting information and the pre-constructed database table structure comprises the following steps:
generating an approval object setting record containing first characteristic values corresponding to all fields in the object table structure based on approval object definition information in the form content setting information;
generating an object attribute setting record containing second characteristic values corresponding to all fields in the attribute table structure based on object attribute definition information in the form content setting information;
and generating the object form content related to the service approval workflow to be created according to the approval object setting record, the object attribute setting record and the data storage table structure.
Optionally, the computer-executable instructions stored in the storage medium, when executed by the processor, further include, after creating a business approval workflow required in executing a target approval business process according to the object form content and the approval flow process:
acquiring a business approval object example which is required to be uploaded by an approval application user aiming at the business approval workflow;
generating an object instance storage record containing third characteristic values corresponding to all fields in the data storage table structure based on the service approval object instance;
and adding the object instance storage record to a database table corresponding to the data storage table structure, and storing the service approval object instance to a corresponding field in the data storage table structure.
Optionally, the computer-executable instructions stored in the storage medium, when executed by the processor, obtain form content setting information input by a user for the first visualization page, including:
monitoring a trigger operation of a user for a form setting component in a first visual page;
determining the marking information corresponding to the target form setting component operated by the user and the input information in the input box of the target form setting component;
and determining form content setting information input by a user aiming at the first visual page according to the labeling information and the input information.
Optionally, the computer-executable instructions stored in the storage medium, when executed by the processor, obtain the flow stream setting information input by the user for the second visual page, including:
monitoring the triggering operation of the user on an approval node setting component displayed on a second visual page;
determining attribute information of a newly added service approval node requested by the user based on the trigger operation;
and determining the flow circulation setting information input by the user aiming at a second visual page according to the attribute information of the newly added service approval node.
Optionally, the computer-executable instructions stored in the storage medium, when executed by the processor, determine attribute information of a newly added service approval node requested by the user based on the trigger operation, where the attribute information includes:
determining the type of an approval role of a newly added service approval node requested by the user based on the trigger operation;
displaying at least one node action type corresponding to the approval role type in a function setting area of the newly added service approval node;
determining an optional action type configured for the newly added service approval node according to the selection information of the user for the action type of the at least one node;
and determining attribute information of the newly added service approval node according to the approval role type and the optional action type of the newly added service approval node.
Optionally, the computer-executable instructions stored in the storage medium, when executed by the processor, further include, after creating the business approval workflow required in executing the target approval business process according to the object form content and the approval flow process:
monitoring a first change request for the object form content;
in response to the first change request, displaying the object form content in an editable form in a form editing area in the first visualization page;
monitoring form change input of a user for form content fields in the object form content;
based on the form change input, updating a target setting record in a database table corresponding to the corresponding database table structure, wherein the target setting record comprises: examining and approving the object setting record and/or the object attribute setting record;
and updating the content of the object form in the service approval workflow according to the updated database table.
Optionally, the computer-executable instructions stored in the storage medium, when executed by the processor, further include, after creating the business approval workflow required in executing the target approval business process according to the object form content and the approval flow process:
monitoring a second change request aiming at the approval circulation flow;
responding to the second change request, and displaying the business approval nodes and the inter-node circulation examples in the approval circulation flow in a flow editing area in the second visual page according to an editable form;
monitoring the process change input of the user aiming at the business approval nodes and the flow examples among the nodes;
updating the approval flow process in the business approval workflow based on the process change input.
The computer-executable instructions stored by the storage medium in one or more embodiments of the present specification, when executed by the processor, obtain form content setting information input by a user for a first visualization page; generating object form content based on the form content setting information and a pre-constructed database table structure; acquiring flow circulation setting information input by a user aiming at the second visual page; determining an approval circulation process based on the process circulation setting information and preset process approval rule information; and then, according to the obtained object form content and the approval circulation flow, the business approval workflow is created, so that the creation efficiency of the business approval workflow can be improved, the creation cost of the business approval workflow is reduced, the change flexibility of the subsequent business approval workflow can be ensured, the change complexity of the business approval workflow is reduced, and the situations that the workflow is more time-consuming and high in cost due to the update of business approval requirements are avoided.
It should be noted that the embodiment of the storage medium in this specification and the embodiment of the workflow creation method in this specification are based on the same inventive concept, and therefore specific implementation of this embodiment may refer to implementation of the aforementioned corresponding workflow creation method, and repeated parts are not described again.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Language Description Language), traffic, pl (core unified Programming Language), Cal, jhdware Description Language, langua, mylar, pams, hardlanguage (Hardware Description Language), vhlanguage, Language, HDL, software Language (Hardware Description Language), and vhjjjjjjjjjjjjjjjg Language, which are currently used in most fields. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the various elements may be implemented in the same one or more software and/or hardware implementations of one or more of the present descriptions.
As will be appreciated by one skilled in the art, one or more embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, one or more of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied in the medium.
One or more of the present specification has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to one or more embodiments of the specification. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that 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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, one or more embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, one or more of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied in the medium.
One or more of the present specification can be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. One or more of the present specification can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is merely illustrative of one or more embodiments of the present disclosure and is not intended to limit one or more embodiments of the present disclosure. Various modifications and alterations to one or more of the present descriptions will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement or the like made within the spirit and principle of one or more of the present specification should be included in the scope of one or more claims of the present specification.

Claims (18)

1. A workflow creation method, comprising:
acquiring form content setting information input by a user aiming at a first visual page;
generating object form content related to the business approval workflow to be created based on the form content setting information and a pre-constructed database table structure; and the number of the first and second groups,
acquiring flow circulation setting information input by the user aiming at a second visual page;
determining an approval circulation process related to the service approval workflow to be created based on the process circulation setting information and preset process approval rule information;
and creating a service approval workflow required in the process of executing the target approval service according to the content of the object form and the approval circulation flow.
2. The method of claim 1, wherein the database table structure comprises: an object table structure, an attribute table structure and a data storage table structure;
the generating of the object form content related to the service approval workflow to be created based on the form content setting information and the pre-constructed database table structure comprises the following steps:
generating an approval object setting record containing first characteristic values corresponding to all fields in the object table structure based on approval object definition information in the form content setting information;
generating an object attribute setting record containing second characteristic values corresponding to all fields in the attribute table structure based on object attribute definition information in the form content setting information;
and generating the object form content related to the service approval workflow to be created according to the approval object setting record, the object attribute setting record and the data storage table structure.
3. The method of claim 2, wherein after creating a business approval workflow required in executing a target approval business process according to the object form content and the approval flow process, further comprising:
acquiring a business approval object example which is required to be uploaded by an approval application user aiming at the business approval workflow;
generating an object instance storage record containing third characteristic values corresponding to all fields in the data storage table structure based on the service approval object instance;
and adding the object instance storage record to a database table corresponding to the data storage table structure, and storing the service approval object instance to a corresponding field in the data storage table structure.
4. The method of claim 1, wherein the obtaining of the form content setting information input by the user for the first visual page comprises:
monitoring a trigger operation of a user for a form setting component in a first visual page;
determining the marking information corresponding to the target form setting component operated by the user and the input information in the input box of the target form setting component;
and determining form content setting information input by a user aiming at the first visual page according to the labeling information and the input information.
5. The method of claim 1, wherein the obtaining of the flow setting information input by the user for the second visual page comprises:
monitoring the triggering operation of the user on an approval node setting component displayed on a second visual page;
determining attribute information of a newly added service approval node requested by the user based on the trigger operation;
and determining the flow circulation setting information input by the user aiming at a second visual page according to the attribute information of the newly added service approval node.
6. The method according to claim 5, wherein the determining attribute information of the service approval node newly added by the user based on the trigger operation includes:
determining the type of an approval role of a newly added service approval node requested by the user based on the trigger operation;
displaying at least one node action type corresponding to the approval role type in a function setting area of the newly added service approval node;
determining an optional action type configured for the newly added service approval node according to the selection information of the user for the action type of the at least one node;
and determining attribute information of the newly added service approval node according to the approval role type and the optional action type of the newly added service approval node.
7. The method of claim 1, wherein after creating the business approval workflow required in executing the target approval business process according to the object form content and the approval flow process, further comprising:
monitoring a first change request for the object form content;
in response to the first change request, displaying the object form content in an editable form in a form editing area in the first visualization page;
monitoring form change input of a user for form content fields in the object form content;
based on the form change input, updating a target setting record in a database table corresponding to the corresponding database table structure, wherein the target setting record comprises: examining and approving the object setting record and/or the object attribute setting record;
and updating the content of the object form in the service approval workflow according to the updated database table.
8. The method of claim 1, wherein after creating the business approval workflow required in executing the target approval business process according to the object form content and the approval flow process, further comprising:
monitoring a second change request aiming at the approval circulation flow;
responding to the second change request, and displaying the business approval nodes and the inter-node circulation examples in the approval circulation flow in a flow editing area in the second visual page according to an editable form;
monitoring the process change input of the user aiming at the business approval nodes and the flow examples among the nodes;
updating the approval flow process in the business approval workflow based on the process change input.
9. A workflow creation apparatus comprising:
the form information acquisition module is used for acquiring form content setting information input by a user aiming at the first visual page;
the workflow list generation module is used for generating object form content related to the business approval workflow to be created based on the form content setting information and a pre-constructed database table structure; and the number of the first and second groups,
the flow information acquisition module is used for acquiring flow circulation setting information input by the user aiming at a second visual page;
the workflow flow determining module is used for determining an approval flow related to the business approval workflow to be created based on the flow setting information and preset flow approval rule information;
and the workflow construction module is used for creating the service approval workflow required in the process of executing the target approval service according to the content of the object form and the approval flow process.
10. The apparatus of claim 9, wherein the database table structure comprises: an object table structure, an attribute table structure and a data storage table structure;
the workflow list generating module is specifically configured to:
generating an approval object setting record containing first characteristic values corresponding to all fields in the object table structure based on approval object definition information in the form content setting information;
generating an object attribute setting record containing second characteristic values corresponding to all fields in the attribute table structure based on object attribute definition information in the form content setting information;
and generating the object form content related to the service approval workflow to be created according to the approval object setting record, the object attribute setting record and the data storage table structure.
11. The apparatus of claim 10, further comprising: an object instance storage module to:
acquiring a business approval object example which is required to be uploaded by an approval application user aiming at the business approval workflow;
generating an object instance storage record containing third characteristic values corresponding to all fields in the data storage table structure based on the service approval object instance;
and adding the object instance storage record to a database table corresponding to the data storage table structure, and storing the service approval object instance to a corresponding field in the data storage table structure.
12. The apparatus according to claim 9, wherein the form information obtaining module is specifically configured to:
monitoring a trigger operation of a user for a form setting component in a first visual page;
determining the marking information corresponding to the target form setting component operated by the user and the input information in the input box of the target form setting component;
and determining form content setting information input by a user aiming at the first visual page according to the labeling information and the input information.
13. The apparatus of claim 9, wherein the process information obtaining module is specifically configured to:
monitoring the triggering operation of the user on an approval node setting component displayed on a second visual page;
determining attribute information of a newly added service approval node requested by the user based on the trigger operation;
and determining the flow circulation setting information input by the user aiming at a second visual page according to the attribute information of the newly added service approval node.
14. The apparatus of claim 13, wherein the process information obtaining module is further specifically configured to:
determining the type of an approval role of a newly added service approval node requested by the user based on the trigger operation;
displaying at least one node action type corresponding to the approval role type in a function setting area of the newly added service approval node;
determining an optional action type configured for the newly added service approval node according to the selection information of the user for the action type of the at least one node;
and determining attribute information of the newly added service approval node according to the approval role type and the optional action type of the newly added service approval node.
15. The apparatus of claim 9, further comprising: a workflow table single change module for:
monitoring a first change request for the object form content;
in response to the first change request, displaying the object form content in an editable form in a form editing area in the first visualization page;
monitoring form change input of a user for form content fields in the object form content;
based on the form change input, updating a target setting record in a database table corresponding to the corresponding database table structure, wherein the target setting record comprises: examining and approving the object setting record and/or the object attribute setting record;
and updating the content of the object form in the service approval workflow according to the updated database table.
16. The apparatus of claim 9, further comprising: a workflow process change module to:
monitoring a second change request aiming at the approval circulation flow;
responding to the second change request, and displaying the business approval nodes and the inter-node circulation examples in the approval circulation flow in a flow editing area in the second visual page according to an editable form;
monitoring the process change input of the user aiming at the business approval nodes and the flow examples among the nodes;
updating the approval flow process in the business approval workflow based on the process change input.
17. A workflow creation apparatus comprising: a processor, and a memory arranged to store computer executable instructions; the computer executable instructions, when executed, cause the processor to implement the steps of the method of any of the preceding claims 1 to 8.
18. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the method of one of the preceding claims 1 to 8.
CN202010884134.XA 2020-08-28 2020-08-28 Workflow creation method and device Active CN112036736B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010884134.XA CN112036736B (en) 2020-08-28 2020-08-28 Workflow creation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010884134.XA CN112036736B (en) 2020-08-28 2020-08-28 Workflow creation method and device

Publications (2)

Publication Number Publication Date
CN112036736A true CN112036736A (en) 2020-12-04
CN112036736B CN112036736B (en) 2023-08-01

Family

ID=73586579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010884134.XA Active CN112036736B (en) 2020-08-28 2020-08-28 Workflow creation method and device

Country Status (1)

Country Link
CN (1) CN112036736B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112561386A (en) * 2020-12-24 2021-03-26 建信金融科技有限责任公司 Method, device and equipment for acquiring business process
CN113126864A (en) * 2021-04-21 2021-07-16 华世界数字科技(深圳)有限公司 Visual configuration method and device for approval process
CN113240389A (en) * 2021-05-12 2021-08-10 网宿科技股份有限公司 Workflow creating method, electronic device and storage medium
CN113269538A (en) * 2021-06-23 2021-08-17 深圳平安智汇企业信息管理有限公司 Method, device and equipment for forwarding parallel approval nodes and storage medium
CN113377351A (en) * 2021-07-05 2021-09-10 重庆市规划和自然资源信息中心 Model construction work system for large-scale government affair business
CN113450907A (en) * 2021-02-07 2021-09-28 心医国际数字医疗系统(大连)有限公司 Processing method and device for referral process and electronic equipment
CN113535687A (en) * 2021-07-29 2021-10-22 北京互金新融科技有限公司 Data variable management method and device, computer readable storage medium and processor
CN113554412A (en) * 2021-06-29 2021-10-26 国网山东省电力公司东营供电公司 Engine system for establishing approval process
CN113609834A (en) * 2021-08-18 2021-11-05 北京字跳网络技术有限公司 Information processing method, device, equipment and medium
CN113792534A (en) * 2021-03-02 2021-12-14 京东科技控股股份有限公司 Method and device for processing flow
CN113900561A (en) * 2021-10-27 2022-01-07 北京字跳网络技术有限公司 Form processing method, apparatus, electronic device, medium, and program product
CN114445049A (en) * 2022-01-30 2022-05-06 北京立达政通科技集团有限公司 Method and device for generating approval business process, equipment and storage medium
CN115526580A (en) * 2021-11-26 2022-12-27 北京字跳网络技术有限公司 Node state determination method and device, electronic equipment and storage medium
CN117634865A (en) * 2024-01-25 2024-03-01 卓望数码技术(深圳)有限公司 Workflow creation method, device, equipment and storage medium
CN115526580B (en) * 2021-11-26 2024-04-26 北京字跳网络技术有限公司 Node state determining method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011138333A (en) * 2009-12-28 2011-07-14 Canon Software Inc Workflow system, workflow control method, program, and recording medium
CN102314495A (en) * 2011-08-26 2012-01-11 大唐软件技术股份有限公司 Method for maintaining database object
CN106021211A (en) * 2016-05-18 2016-10-12 山东达创网络科技股份有限公司 Intelligent form system and generation method thereof
US20180046681A1 (en) * 2016-08-11 2018-02-15 International Business Machines Corporation Efficient list traversal
CN108053144A (en) * 2017-12-29 2018-05-18 厦门市美亚柏科信息股份有限公司 Open operation flow implementation method and workflow engine
CN108346028A (en) * 2017-01-24 2018-07-31 阿里巴巴集团控股有限公司 A kind of business approval processing method, apparatus and system
CN109858727A (en) * 2018-11-28 2019-06-07 深圳中广核工程设计有限公司 A kind of user control and its construction method and Work-flow control method
CN111027933A (en) * 2019-12-09 2020-04-17 中国建设银行股份有限公司 Approval transfer method, device and system and electronic equipment
CN111506444A (en) * 2020-04-20 2020-08-07 北京易点淘网络技术有限公司 Form approval method and device, storage medium and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011138333A (en) * 2009-12-28 2011-07-14 Canon Software Inc Workflow system, workflow control method, program, and recording medium
CN102314495A (en) * 2011-08-26 2012-01-11 大唐软件技术股份有限公司 Method for maintaining database object
CN106021211A (en) * 2016-05-18 2016-10-12 山东达创网络科技股份有限公司 Intelligent form system and generation method thereof
US20180046681A1 (en) * 2016-08-11 2018-02-15 International Business Machines Corporation Efficient list traversal
CN108346028A (en) * 2017-01-24 2018-07-31 阿里巴巴集团控股有限公司 A kind of business approval processing method, apparatus and system
CN108053144A (en) * 2017-12-29 2018-05-18 厦门市美亚柏科信息股份有限公司 Open operation flow implementation method and workflow engine
CN109858727A (en) * 2018-11-28 2019-06-07 深圳中广核工程设计有限公司 A kind of user control and its construction method and Work-flow control method
CN111027933A (en) * 2019-12-09 2020-04-17 中国建设银行股份有限公司 Approval transfer method, device and system and electronic equipment
CN111506444A (en) * 2020-04-20 2020-08-07 北京易点淘网络技术有限公司 Form approval method and device, storage medium and electronic equipment

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112561386A (en) * 2020-12-24 2021-03-26 建信金融科技有限责任公司 Method, device and equipment for acquiring business process
CN113450907A (en) * 2021-02-07 2021-09-28 心医国际数字医疗系统(大连)有限公司 Processing method and device for referral process and electronic equipment
CN113792534A (en) * 2021-03-02 2021-12-14 京东科技控股股份有限公司 Method and device for processing flow
CN113126864A (en) * 2021-04-21 2021-07-16 华世界数字科技(深圳)有限公司 Visual configuration method and device for approval process
CN113240389A (en) * 2021-05-12 2021-08-10 网宿科技股份有限公司 Workflow creating method, electronic device and storage medium
CN113269538A (en) * 2021-06-23 2021-08-17 深圳平安智汇企业信息管理有限公司 Method, device and equipment for forwarding parallel approval nodes and storage medium
CN113554412A (en) * 2021-06-29 2021-10-26 国网山东省电力公司东营供电公司 Engine system for establishing approval process
CN113377351A (en) * 2021-07-05 2021-09-10 重庆市规划和自然资源信息中心 Model construction work system for large-scale government affair business
CN113535687B (en) * 2021-07-29 2024-01-26 北京互金新融科技有限公司 Data variable management method, device, computer readable storage medium and processor
CN113535687A (en) * 2021-07-29 2021-10-22 北京互金新融科技有限公司 Data variable management method and device, computer readable storage medium and processor
CN113609834A (en) * 2021-08-18 2021-11-05 北京字跳网络技术有限公司 Information processing method, device, equipment and medium
CN113900561A (en) * 2021-10-27 2022-01-07 北京字跳网络技术有限公司 Form processing method, apparatus, electronic device, medium, and program product
CN115526580A (en) * 2021-11-26 2022-12-27 北京字跳网络技术有限公司 Node state determination method and device, electronic equipment and storage medium
CN115526580B (en) * 2021-11-26 2024-04-26 北京字跳网络技术有限公司 Node state determining method and device, electronic equipment and storage medium
CN114445049A (en) * 2022-01-30 2022-05-06 北京立达政通科技集团有限公司 Method and device for generating approval business process, equipment and storage medium
CN117634865A (en) * 2024-01-25 2024-03-01 卓望数码技术(深圳)有限公司 Workflow creation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN112036736B (en) 2023-08-01

Similar Documents

Publication Publication Date Title
CN112036736A (en) Workflow creating method and device
CN107644286B (en) Workflow processing method and device
US10275221B2 (en) Systems and methods for generating data visualization applications
EP3452924A1 (en) System, method, and apparatus for operating a unified document surface workspace
US10346381B2 (en) Atomic update operations in a data storage system
US20130339943A1 (en) Computerized migration tool and method
US20140317563A1 (en) Generate field mapping
CN107622080B (en) Data processing method and equipment
US20150261793A1 (en) Method for implementing database
US8805777B2 (en) Data record collapse and split functionality
US9652203B1 (en) Application development framework using configurable data types
CN111708801A (en) Report generation method and device and electronic equipment
CN112464625B (en) Document generation method, device, computer equipment and storage medium
CN103150145A (en) Parallel processing of semantically grouped data in data warehouse environments
KR102153259B1 (en) Data domain recommendation method and method for constructing integrated data repository management system using recommended domain
JP2016151908A (en) Personal information anonymization support device
CN114895875B (en) Zero-code visual information system metadata production application method and system
CN116167882A (en) Conditional expression dynamic configuration method, accounting condition calculation method and accounting condition calculation device
CN103809915B (en) The reading/writing method of a kind of disk file and device
CN108845857A (en) A kind of icon management method and device based on cloud platform
EP3807780A1 (en) Binding query scope to directory attributes
CN115543428A (en) Simulated data generation method and device based on strategy template
JP7279524B2 (en) Data management program, data management method and data management system
US10579622B1 (en) Data management systems for processing electronic data stored as a table
JP2018109898A (en) Data migration system

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
GR01 Patent grant
GR01 Patent grant