CN116501718B - Processor configuration method, custom workflow configuration method and workflow system - Google Patents

Processor configuration method, custom workflow configuration method and workflow system Download PDF

Info

Publication number
CN116501718B
CN116501718B CN202310735469.9A CN202310735469A CN116501718B CN 116501718 B CN116501718 B CN 116501718B CN 202310735469 A CN202310735469 A CN 202310735469A CN 116501718 B CN116501718 B CN 116501718B
Authority
CN
China
Prior art keywords
configuration
processor
dimension
workflow
selection
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.)
Active
Application number
CN202310735469.9A
Other languages
Chinese (zh)
Other versions
CN116501718A (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.)
Shandong Yuanqiao Information Technology Co ltd
Original Assignee
Shandong Yuanqiao Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Yuanqiao Information Technology Co ltd filed Critical Shandong Yuanqiao Information Technology Co ltd
Priority to CN202310735469.9A priority Critical patent/CN116501718B/en
Publication of CN116501718A publication Critical patent/CN116501718A/en
Application granted granted Critical
Publication of CN116501718B publication Critical patent/CN116501718B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/21Design, administration or maintenance of databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention relates to a processor configuration method, a user-defined workflow configuration method and a workflow system, and relates to the technical field of workflows, wherein the processor configuration method comprises the steps of selecting processing rules, previewing processor configuration, judging whether the processing rules accord with expectations, storing configuration rules and the like; the self-defined workflow configuration method comprises the steps of form design, flow design, node configuration, flow release, flow authorization and the like; the workflow system comprises a database, a workflow engine, a workflow configuration module, a user workbench and other modules. According to the invention, through the custom SQL statement, a developer can realize the capacity expansion of the selection dimension without modifying the bottom code, the efficiency of secondary development of the workflow system by the developer is improved, the development time is shortened, and the development cost is saved.

Description

Processor configuration method, custom workflow configuration method and workflow system
Technical Field
The present invention relates to the technical field of workflows, and in particular, to a human processing configuration method, a custom workflow configuration method, and a workflow system.
Background
The workflow engine has been applied for many years, and has formed a relatively stable design thought, and provides basic design logic and core operation services for us from aspects of flow design, flow deployment, start operation and the like.
A general workflow system can provide a simple flow design function; as an administrator user of the workflow system, the workflow can be configured in functions provided in the existing flow design list, so that part of function expansion of the built-in flow is realized.
However, in some cases, the user's requirements exceed the functions provided in the flow design list, and only the development department can be entrusted to redevelop the underlying code of the workflow system, so as to meet the user's requirements. The redevelopment of the underlying code not only increases the development cost of the workflow system, but also consumes a long time in the development process, and is difficult to rapidly meet the use requirements of users on special business processes.
Disclosure of Invention
In order to reduce the redevelopment cost of a workflow system and improve the redevelopment efficiency of a developer on the workflow, the invention provides a processor configuration method, a custom workflow configuration method and a workflow system.
In a first aspect, the present invention provides a human configuration processing method, which adopts the following technical scheme:
a method of processing a person configuration, comprising the steps of:
selecting a processing rule: selecting configuration rules required by a processor;
preview handler configuration: previewing the processor conforming to the configuration rule;
judging whether the expected conditions are met: if the processor is found to be in line with the expectations when previewing the processor in line with the configuration rules, executing the step of storing the configuration rules; otherwise, executing the step of selecting the processing rule, and further changing the configuration rule;
saving configuration rules: saving the set configuration rule;
the step of selecting the processing rule comprises a built-in dimension judging step, a dimension creating step and a dimension selecting step;
judging built-in dimensions: judging whether the dimension built in the database can meet the configuration requirement required by selecting transactors; if yes, executing a dimension selection step; if the dimension cannot be met, executing a dimension creating step;
creating dimensions: creating a new selection dimension according to the user requirement, creating a custom SQL statement according to the newly created selection dimension, calling information in a database table through the SQL statement, inputting the new selection dimension into the database, and then executing a dimension selection step;
dimension selection: selecting a required selection dimension from the database, and further screening out a processor list.
By adopting the technical scheme, when the configuration rule required by the user exceeds the configuration rule provided by the database, a developer can call the information in the database table by creating a new selection dimension and creating a custom SQL sentence according to the new selection dimension, so that the selection space of the configuration rule is enlarged; therefore, the developer can realize the capacity expansion of the selection dimension without modifying the bottom code, the efficiency of secondary development of the workflow system by the developer is improved, the development time is shortened, and the development cost is saved.
Optionally, the step of selecting the processing rule further includes a step of creating a dimension availability judgment step and a database table editing step;
creating dimension availability judgment: judging whether the newly created selection dimension can be directly used; if the data can be directly used, executing a dimension selection step, and if the data can not be directly used, executing a database table editing step;
database table editing: information required for the newly created selection dimension is inserted into the database table.
By adopting the technical scheme, after the new selection dimension is created, if the data in the database table cannot meet the requirement of the newly created selection dimension, a developer can input data information corresponding to a processor into the database table, so that more custom selection dimensions can be realized by the workflow.
Optionally, the step of selecting a processing rule further includes a logical relationship configuration step of:
the logic relationship configuration step comprises a logic relationship judging step, an intersection taking step and a logic relationship creating step;
judging the logic relation: judging whether the logic relationship needs to be configured, and if the logic relationship does not need to be configured, executing an intersection taking step; if the logic relationship needs to be configured, executing a step of creating a custom logic relationship;
taking intersection: taking intersection sets from the processor lists selected by the frames in multiple dimensions, and further forming a new processor list;
creating a custom logical relationship: establishing a self-defined logic relationship, and calculating a new processor list according to the self-defined logic relationship in the processor list selected by the frames in the multiple dimensions.
By adopting the technical scheme, a plurality of processing dimensions can be selected in one task node, and logic operation is carried out on the plurality of processing dimensions, so that configuration rules required by a processor for processing the task node are obtained; by creating a custom logic relationship, more configuration rules can be possessed when a processor is selected, thereby facilitating screening of more suitable processors.
In a second aspect, the present invention provides a method for configuring a custom workflow, which adopts the following technical scheme:
a self-defined workflow configuration method comprises the following steps:
form design: form filled in according to user's need in the business addition workflow;
and (3) flow design: according to the operation flow of the business design;
node configuration: configuring task nodes in the operation flow, and further formulating processing permissions;
and (3) issuing a flow: storing and releasing the configuration of the workflow;
and (3) process authorization: authorizing the user, so that the authorized user can initiate workflow;
the node configuration step includes a handler configuration step and a permission configuration step,
the processor configures: selecting the type of the processor of the current task node, after determining the type of the processor, executing the processor configuration method according to the first aspect to obtain a processor list, and selecting the processor in the processor list;
and (3) authority configuration: and selecting the operation authority of the current task node to the form.
By adopting the technical scheme, when the workflow is configured, a corresponding processor is required to be configured for each task node of the workflow; when the configuration rules required by the user exceed the configuration rules provided by the database, a developer can create new selection dimensions and create custom SQL sentences according to the new selection dimensions to call the information in the database table, so that the selection space of the configuration rules is enlarged; therefore, the developer can realize the capacity expansion of the selection dimension without modifying the bottom code, the efficiency of secondary development of the workflow system by the developer is improved, the development time is shortened, and the time required by the workflow configuration is further selected.
Optionally, the processor configuration step includes a step of selecting a transactor or a step of selecting an optional person;
selecting a transactor: performing the handler configuration method according to the first aspect to obtain a handler list, and selecting an actual handler in the handler list;
selecting optional people: the processor configuration method according to the first aspect is performed to obtain a processor list, and the actual processor of the current task node is selected from the processor list by the actual processor of the previous task node.
By adopting the technical scheme, when the actual transactor of the previous task node is required to designate the actual transactor of the current task node, the node configurator can generate a required processor list through the processor configuration method, so that the user range of the task node is effectively limited, the override probability is reduced, and the information security is improved.
In a third aspect, the present invention provides a workflow system, which adopts the following technical scheme:
a workflow system, comprising:
database: for storing configuration rules, logical relationships, and database tables;
workflow engine: the workflow is used for executing the set work flow;
and a workflow configuration module: for formulating a workflow;
user workstation: the task node is used for operating the task node in the workflow;
the workflow configuration module comprises a form configuration module, a flow configuration module and a node configuration module;
form configuration module: the method comprises the steps of configuring a form required to be filled by a user in a workflow;
the flow configuration module: an operation flow for configuring a workflow;
and a node configuration module: the processing method comprises the steps of configuring a processor and processing rights for a selected task node;
the node configuration module comprises a processor configuration module and a permission configuration module,
the processor configuration module: configuring operators of the current task node;
and the permission configuration module is used for: configuring the operation authority of the current task node;
the processor configuration module comprises a dimension quick selection module and a custom SQL editing module;
and a dimension quick selection module: according to the configuration rules of the self-contained processor, a processor list conforming to the rules is obtained from a database table;
the custom SQL editing module: the method is used for editing the custom SQL sentence to call the data in the database table, and further a processor list conforming to the custom rule is obtained.
By adopting the technical scheme, a configurator configures the workflow through the workflow configuration module, if the configuration rules carried by the dimension quick selection module can not meet the screening requirement of the processor when configuring the task node, the configurator or the developer can edit the custom SQL statement according to the custom SQL editing module, and further call the data in the database table to generate a processor list conforming to the custom rule, so that the selection space of the configuration rule is enlarged; and the configurator or developer can realize the expansion of the selection dimension without modifying the bottom code, thereby improving the efficiency of secondary development of the workflow system by the configurator or developer and reducing the development time.
Optionally, the processor configuration module further includes a database table editing module;
database table editing module: and adding data into the database table so as to enable the database table to meet the logic requirement edited by the custom SQL editing module.
By adopting the technical scheme, after the user-defined SQL editing module is used for creating the new selection dimension, if the data in the database table cannot meet the requirement of the newly created selection dimension, a developer or a configurator can input data information corresponding to a processor into the database table through the database table editing module, so that more user-defined selection dimensions can be realized by the workflow.
Optionally, the processor configuration module includes a processor type selection module including a processor selection dimension and an optional person selection dimension;
the transactor selection dimension and the optional person selection dimension comprise a custom SQL editing module and a plurality of dimension quick selection modules.
By adopting the technical scheme, under certain conditions, the transactor of the current task node is designated by the configurator, and at the moment, the transactor selection dimension is selected in the processing human type selection module; in some cases, the transactor of the current task node is selected by the transactor of the last task node, at which point the selectable person selection dimension is selected in the process human type selection module. Due to the design of the dimension quick selection module and the custom SQL editing module, the screened processor list is more reasonable, the user range of the task node is effectively limited, and when the processor of the previous task node selects the processor of the task node, the probability of override is reduced, and the safety of information is improved.
Optionally, the transactor selection dimension and the optional person selection dimension further comprise a logic relationship configuration module;
a logic relation configuration module: a plurality of logical operation methods are configured, and logical operation is carried out on the handler list screened by the dimension quick selection module and the custom SQL editing module, so that a new handler list is obtained.
By adopting the technical scheme, when the handler list screened by the dimension quick selection module and the custom SQL editing module still cannot meet the screening requirement, a logic operation method can be configured by the logic relation configuration module, so that the handler list screened by the dimension quick selection module and the custom SQL editing module is re-screened, and a new handler list is obtained.
Optionally, the transactor selection dimension and the optional person selection dimension further comprise a preview module;
and a preview module: the screened handler list is previewed, so that a configurator or a developer can conveniently judge whether the handler list accords with the expectation.
By adopting the technical scheme, after the configuration of the dimension quick selection module, the custom SQL editing module and the logic relationship configuration module is completed, the configurator can preview the finally obtained handler list through the preview module to judge whether the handler list is reasonable or not, so that the configuration relationship among the dimension quick selection module, the custom SQL editing module and the logic relationship configuration can be conveniently adjusted in time.
In summary, the present invention includes at least one of the following beneficial technical effects:
1. through setting the dimension creating step, when the configuration rule required by the user exceeds the configuration rule provided by the database, a developer can call the information in the database table by creating a new selection dimension and creating a custom SQL sentence according to the new selection dimension, so that the selection space of the configuration rule is enlarged; therefore, the developer can realize the capacity expansion of the selection dimension without modifying the bottom code, the efficiency of secondary development of the workflow system by the developer is improved, the development time is shortened, and the development cost is saved.
2. By setting up the step of defining the logic relationship, a plurality of processing dimensions can be selected in one task node, and logic operation is carried out on the plurality of processing dimensions, so that the configuration rule required by a processor for processing the task node is obtained; when the processor is selected, more configuration rules are provided, so that more proper processors can be conveniently screened.
3. Through the setting of the custom SQL editing module, if the configuration rules carried by the dimension quick selection module cannot meet the screening requirement of the processor when the task node is configured by the processor, the configurator or the developer can edit the custom SQL statement according to the custom SQL editing module, and then call the data in the database table to generate a processor list conforming to the custom rules, so that the selection space of the configuration rules is enlarged; and the configurator or developer can realize the expansion of the selection dimension without modifying the bottom code, thereby improving the efficiency of secondary development of the workflow system by the configurator or developer and reducing the development time.
4. Through the setting of the database table editing module, after the user-defined SQL editing module is used for creating a new selection dimension, if the data in the database table cannot meet the requirement of the newly created selection dimension, a developer or a configurator can input data information corresponding to a processor into the database table through the database table editing module, so that more user-defined selection dimensions can be realized by the workflow.
Drawings
FIG. 1 is a flow chart of example 1;
FIG. 2 is a flow chart of the processor configuration steps of embodiment 1;
FIG. 3 is a system diagram of example 2;
FIG. 4 is a system diagram of a workflow configuration module of embodiment 2;
fig. 5 is a system diagram of embodiment 2 at a processor selection dimension.
Detailed Description
The invention is described in further detail below in connection with fig. 1-5.
Example 1:
the embodiment discloses a custom workflow configuration method, referring to fig. 1 and 2, the custom workflow configuration method comprises the following steps:
s1: form design: and adding the form required to be filled in by the user in the workflow according to the service.
S2: and (3) flow design: and designing an operation flow according to the service.
S3: node configuration: and configuring task nodes in the operation flow, and further formulating processing permission. The node configuration step S3 includes a handler configuration step S31 and a rights configuration step S32.
S31: the processor configures: the processor type of the current task node is selected, after determining the processor type, the processor configuration method as described in the first aspect is performed to obtain a processor list, and the processor is selected from the processor list. The handler configuration step S31 includes a select processing rule step S311, a preview handler configuration step S312, a determine if the expected step S313 is met, and a hold configuration rule step S314.
In this embodiment, the types of the handler are three types, namely a transactor, a transcriber and an optional person, wherein the transactor and the optional person are mutually exclusive options, and the transcriber is an optional option.
S311: selecting a processing rule: configuration rules required by the handler are selected.
S312: preview handler configuration: previewing the handler conforming to the configuration rules.
S313: judging whether the expected conditions are met: if the processor is found to be in line with the expectations when previewing the processor in line with the configuration rules, executing the step of storing the configuration rules; otherwise, executing the step of selecting the processing rule, and further changing the configuration rule.
S314: saving configuration rules: the configuration rules that have been set are saved.
The selection processing rule step S311 includes a built-in dimension determination step S3111, a dimension creation step S3112, a dimension availability determination step S3113, a database table editing step S3114, a dimension selection step S3115, and a logical relationship configuration step S3116.
S3111: judging built-in dimensions: judging whether the dimension built in the database can meet the configuration requirement required by selecting transactors; if yes, executing a dimension selection step S3113; if not, a create dimension step S3112 is performed.
S3112: creating dimensions: creating a new selection dimension according to the user' S need, creating a custom SQL statement according to the newly created selection dimension, calling information in the database table through the SQL statement, inputting the new selection dimension into the database, and then executing a dimension selection step S3113.
S3113: creating dimension availability judgment: judging whether the newly created selection dimension can be directly used; if the data can be directly used, the dimension selection step is executed, and if the data can not be directly used, the database table editing step is executed.
S3114: editing a database table: information required for the newly created selection dimension is inserted into the database table.
S3115: dimension selection: selecting a required selection dimension from the database, and further screening out a processor list.
The following are examples of choices for dimensions:
in the initial state, a plurality of configuration dimensions can be built into the database, for example: dimension of departments, positions and the like; when selecting a handler, if the above dimension cannot meet the filtering requirement, the creating dimension step S3112 is performed. In a create dimension step S3112, information in the database table is invoked by creating a custom SQL statement, and then by the SQL statement. The created dimension may be a selective dimension, such as gender; also, an interval dimension, such as work age, etc.; other dimensions are also possible. Taking the created dimension as the sex as an example, if the sex of the user is recorded in the database table, the sex can be directly called by the SQL sentence; if the gender of the user is not recorded in the database table, the database table editing step S3114 is executed to edit the database table and add the gender information of the user, so that the database table can be called by the SQL statement.
S3116: logic relationship configuration: and configuring logic calculation relation for the selected dimension, and screening out a new processor list.
The logical relation configuration step S3116 includes a logical relation judgment step S31161, an intersection taking step S31162, and a logical relation creation step S31163.
S31161 logical relation judgment: judging whether the logic relationship needs to be configured, and if the logic relationship does not need to be configured, executing an intersection taking step S31162; if the logical relationship needs to be configured, a create custom logical relationship step S31163 is performed.
S31162: taking intersection: and taking intersection sets from the processor lists selected by the frames in the multiple dimensions, and further forming a new processor list.
S31163: creating a custom logical relationship: establishing a self-defined logic relationship, and calculating a new processor list according to the self-defined logic relationship in the processor list selected by the frames in the multiple dimensions. The logical relationship may be union, non-union, priority calculation, etc.
The following is an example of the selection of logical relationships:
when the dimensions are selected to be plural, for example, the department dimension selects the department a, the sex dimension selects the woman, the desired result is the handler with the sex of the woman in the department a, and the intersection taking step S31162 can be directly performed. When the dimensions are selected to be plural, for example, the sex dimension is selected to be female and the business dimension is selected to be more than 3 years, the expected result is that the sex is selected to be female or the business dimension is selected to be a handler for more than 3 years, and at this time, the step of creating a logical relationship S31163 is executed to create a logical relationship of the union.
After the processor configuration step S31 selects the type of the processor once, the selection processing rule step S311 is executed for the current processor type, so as to screen out the suitable processor.
For example: the processor type selected in the processor configuration step S31 is a transactor and a transcriber; then, a selection processing rule step S311 is executed to screen out a suitable transactor list and a transcriber list. The configurator can select a specific transactor in the transactor list, or can select a plurality of transactors in the transactor list; if the transactor list has a plurality of transactors, the plurality of transactors can preemptively claim the task when the workflow is executed to the current task node. The configurator can also select a specific person or persons from the list of the copy persons, so that the selected copy persons can browse the processing condition of the dry task node.
For another example: the processor type selected in the processor configuration step S31 is an optional person, and then the selection processing rule step S311 is executed to screen out a suitable optional person list. When the actual transactor of the previous task node transacts the task, any one of the actual transactors serving as the current task node can be designated in the selectable person list.
S32: and (3) authority configuration: and configuring the operation authority of the task node.
S4: and (3) issuing a flow: and storing and releasing the configuration of the workflow, so that the workflow is in a usable state.
S5: and (3) process authorization: authorizing the user, so that the authorized user can initiate workflow; for example, the leave process may be authorized for all users, the business trip process may be authorized only for users with business trip requirements, the project stand process may be authorized only for responsible department leads, etc.
The implementation principle of the custom workflow configuration method of the embodiment is as follows:
in the process of configuring the workflow, if the configuration rules provided in the database can not meet the requirements of users, configuration personnel or developers can create custom SQL sentences and call information in the database table through the SQL sentences so as to create new selection dimensions; if the information in the database table can not meet the calling condition of the SQL statement, editing the database table, adding the information required by the SQL statement, and further expanding the selection space of the configuration rule.
Through the method, a developer or a configurator can realize the capacity expansion of the selection dimension without modifying the bottom code, the efficiency of secondary development of the workflow system by the developer is improved, the development time is shortened, and the development cost is saved. In addition, a user-defined SQL sentence is created to further create a new selection dimension, so that the user selection is more targeted in the step of configuring the processor, the probability of override is reduced, and the safety of information is improved.
Example 2:
the present embodiment discloses a workflow system, referring to fig. 3 to 5, the workflow system includes the following modules:
database: for storing configuration rules, logical relationships, and database tables;
workflow engine: the workflow is used for executing the set work flow;
and a workflow configuration module: for formulating a workflow;
user workstation: for operating on task nodes in the workflow.
The workflow configuration module comprises a form configuration module, a flow configuration module and a node configuration module.
Form configuration module: the method comprises the steps of configuring a form required to be filled by a user in a workflow, wherein the form comprises common form input controls such as an input box, a plurality of lines of text boxes, a drop-down box, a plurality of selection boxes, a single selection box, a date selection box, file uploading, picture long transmission, a tree selector and the like;
the flow configuration module: the operation flow for configuring the workflow comprises a circulation route, circulation conditions and the like.
And a node configuration module: for configuring a handler and a processing right for the selected task node.
The node configuration module comprises a processor configuration module and a permission configuration module.
The processor configuration module: and configuring operators of the current task node.
And the permission configuration module is used for: configuring the operation authority of the current task node, including the authorities such as submitting, transferring, delegating, returning, terminating, designating the next processor and the like; and viewing and modifying rights to the contents in the form that the user needs to fill in the workflow.
The processor configuration module comprises a processor type selection module, wherein the processor type selection module comprises a processor selection dimension, a selectable person selection dimension and a transcriber selection dimension; wherein the transactor selection dimension and the optional person selection dimension are mutually exclusive options, and the transcriber selection dimension is an optional option.
The transactor selection dimension, the optional person selection dimension and the transcriber selection dimension comprise a dimension quick selection module, a custom SQL editing module, a database table editing module, a logical relationship configuration module and a preview module.
And a dimension quick selection module: and obtaining a processor list conforming to the rule from the database table according to the configuration rule of the database.
The custom SQL editing module: the method comprises the steps of editing a custom SQL sentence to form a new configuration rule, calling data in a database table, and further obtaining a handler list conforming to the custom rule; the edited configuration rules are input into a database for storage.
Database table editing module: the method is used for adding data into the database table so as to enable the database table to meet the logic requirement edited by the custom SQL editing module.
A logic relation configuration module: and carrying out logic operation on the handler list screened by the dimension quick selection module and the custom SQL editing module according to the logic operation rule of the database, thereby obtaining a new handler list.
And a preview module: the screened handler list is previewed, so that a configurator or a developer can conveniently judge whether the handler list accords with the expectation.
The implementation principle of the workflow system of the embodiment is as follows:
when the workflow is configured, the workflow is formulated by using the workflow configuration module, then the workflow is executed by using the workflow engine, and a user can operate task nodes in the workflow through the user workbench.
When the workflow is formulated by using the workflow configuration module, the form required to be filled by a user in the workflow is configured by the form configuration module, the operation flow of the workflow is configured by the flow configuration module, and the processor and the processing authority of the task node are configured by the node configuration module.
When the operator of the current task node is configured, the type of the processor is selected first, and the processor is screened under the type of the current processor. When screening the handler, the dimension quick selection module can directly obtain a handler list conforming to the rule according to the configuration rule of the database; the custom SQL sentence can be edited by the custom SQL editing module to call the data in the database table, so as to obtain the processor list conforming to the custom rule. By setting the custom SQL editing module, a configurator or a developer can expand a new selection dimension without modifying the bottom code, so that the efficiency of secondary development of the workflow system by the developer is improved, the development time is shortened, and the development cost is saved; and the selection dimension created by the custom SQL editing module has stronger pertinence, so that the screened handler list accords with the design expectation of the workflow, the user range of the task node is effectively limited, the override probability is reduced, and the information security is improved.
After the custom SQL editing module creates the new selection dimension, if the data in the database table can not support the new selection dimension, a configurator or developer can also add the data into the database table through the database table editing module, so that the database table meets the logic requirement edited by the custom SQL editing module.
And in the processor list screened by the dimension quick selection module and the custom SQL editing module, the logic operation is carried out on the listed processor list by the logic relation configuration module, wherein the logic operation can be in an AND operation mode, an OR operation mode, a NOT operation mode, a priority operation mode and the like so as to obtain a new processor list, so that the selection freedom degree of the processor is further improved.
The above embodiments are not intended to limit the scope of the present invention, so: all equivalent changes in structure, shape and principle of the invention should be covered in the scope of protection of the invention.

Claims (10)

1. A method of processing a person configuration, characterized by: the method comprises the following steps:
selecting a processing rule: selecting configuration rules required by a processor;
preview handler configuration: previewing the processor conforming to the configuration rule;
judging whether the expected conditions are met: if the processor is found to be in line with the expectations when previewing the processor in line with the configuration rules, executing the step of storing the configuration rules; otherwise, executing the step of selecting the processing rule, and further changing the configuration rule;
saving configuration rules: saving the set configuration rule;
the step of selecting the processing rule comprises a built-in dimension judging step, a dimension creating step and a dimension selecting step;
judging built-in dimensions: judging whether the dimension built in the database can meet the configuration requirement required by selecting transactors; if yes, executing a dimension selection step; if the dimension cannot be met, executing a dimension creating step;
creating dimensions: creating a new selection dimension according to the user requirement, creating a custom SQL statement according to the newly created selection dimension, calling information in a database table through the SQL statement, inputting the new selection dimension into the database, and then executing a dimension selection step;
dimension selection: selecting a required selection dimension from the database, and further screening out a processor list.
2. A human handling configuration method according to claim 1, characterized in that: the step of selecting the processing rule further comprises a step of establishing dimension availability judgment and a step of editing a database table;
creating dimension availability judgment: judging whether the newly created selection dimension can be directly used; if the data can be directly used, executing a dimension selection step, and if the data can not be directly used, executing a database table editing step;
database table editing: information required for the newly created selection dimension is inserted into the database table.
3. A human handling configuration method according to claim 1 or 2, characterized in that: the selecting processing rule step further includes a logical relationship configuration step of:
the logic relationship configuration step comprises a logic relationship judging step, an intersection taking step and a logic relationship creating step;
judging the logic relation: judging whether the logic relationship needs to be configured, and if the logic relationship does not need to be configured, executing an intersection taking step; if the logic relationship needs to be configured, executing a step of creating a custom logic relationship;
taking intersection: taking intersection sets from the processor lists selected by the frames in multiple dimensions, and further forming a new processor list;
creating a custom logical relationship: establishing a self-defined logic relationship, and calculating a new processor list according to the self-defined logic relationship in the processor list selected by the frames in the multiple dimensions.
4. A self-defined workflow configuration method is characterized in that: the method comprises the following steps:
form design: form filled in according to user's need in the business addition workflow;
and (3) flow design: according to the operation flow of the business design;
node configuration: configuring task nodes in the operation flow, and further formulating processing permissions;
and (3) issuing a flow: storing and releasing the configuration of the workflow;
and (3) process authorization: authorizing the user, so that the authorized user can initiate workflow;
the node configuration step includes a handler configuration step and a permission configuration step,
the processor configures: selecting the type of the processor of the current task node, after determining the type of the processor, executing the processor configuration method according to any one of claims 1-3 to obtain a processor list, and selecting the processor in the processor list;
and (3) authority configuration: and selecting the operation authority of the current task node to the form.
5. The method for configuring a custom workflow according to claim 4, wherein: the processor configuration step includes a step of selecting a transactor or a step of selecting an optional person;
selecting a transactor: executing a processor configuration method to obtain a processor list, and selecting an actual transactor from the processor list;
selecting optional people: executing the processor configuration method to obtain a processor list, and selecting the actual processor of the current task node from the processor list by the actual processor of the previous task node.
6. A workflow system for implementing the custom workflow configuration method of claim 4 or 5, characterized in that: comprising the following steps:
database: for storing configuration rules, logical relationships, and database tables;
workflow engine: the workflow is used for executing the set work flow;
and a workflow configuration module: for formulating a workflow;
user workstation: the task node is used for operating the task node in the workflow;
the workflow configuration module comprises a form configuration module, a flow configuration module and a node configuration module;
form configuration module: the method comprises the steps of configuring a form required to be filled by a user in a workflow;
the flow configuration module: an operation flow for configuring a workflow;
and a node configuration module: the processing method comprises the steps of configuring a processor and processing rights for a selected task node;
the node configuration module comprises a processor configuration module and a permission configuration module,
the processor configuration module: configuring operators of the current task node;
and the permission configuration module is used for: configuring the operation authority of the current task node;
the processor configuration module comprises a dimension quick selection module and a custom SQL editing module;
and a dimension quick selection module: according to the configuration rules of the self-contained processor, a processor list conforming to the rules is obtained from a database table;
the custom SQL editing module: the method is used for editing the custom SQL sentence to call the data in the database table, and further a processor list conforming to the custom rule is obtained.
7. A workflow system as claimed in claim 6 wherein: the processor configuration module further comprises a database table editing module;
database table editing module: and adding data into the database table so as to enable the database table to meet the logic requirement edited by the custom SQL editing module.
8. A workflow system according to claim 6 or 7, characterized in that: the processor configuration module comprises a processor type selection module, wherein the processor type selection module comprises a processor selection dimension and a selectable person selection dimension;
the transactor selection dimension and the optional person selection dimension comprise a custom SQL editing module and a plurality of dimension quick selection modules.
9. A workflow system as claimed in claim 8 wherein: the transactor selection dimension and the optional person selection dimension further comprise a logic relationship configuration module;
a logic relation configuration module: a plurality of logical operation methods are configured, and logical operation is carried out on the handler list screened by the dimension quick selection module and the custom SQL editing module, so that a new handler list is obtained.
10. A workflow system as claimed in claim 9 wherein: the transactor selection dimension and the optional person selection dimension further comprise a preview module;
and a preview module: the screened handler list is previewed, so that a configurator or a developer can conveniently judge whether the handler list accords with the expectation.
CN202310735469.9A 2023-06-21 2023-06-21 Processor configuration method, custom workflow configuration method and workflow system Active CN116501718B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310735469.9A CN116501718B (en) 2023-06-21 2023-06-21 Processor configuration method, custom workflow configuration method and workflow system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310735469.9A CN116501718B (en) 2023-06-21 2023-06-21 Processor configuration method, custom workflow configuration method and workflow system

Publications (2)

Publication Number Publication Date
CN116501718A CN116501718A (en) 2023-07-28
CN116501718B true CN116501718B (en) 2023-08-25

Family

ID=87324989

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310735469.9A Active CN116501718B (en) 2023-06-21 2023-06-21 Processor configuration method, custom workflow configuration method and workflow system

Country Status (1)

Country Link
CN (1) CN116501718B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2557748A1 (en) * 2004-05-05 2005-11-17 Eplus Systems, Inc. System and method for ecatalog supplier portal
CN102073702A (en) * 2010-12-30 2011-05-25 浪潮集团山东通用软件有限公司 Personnel information dynamic-extension realizing method for human resource management information system
CN110688403A (en) * 2019-09-23 2020-01-14 中国船舶重工集团公司第七一六研究所 Activiti process manual node transactor screening engine
CN111369223A (en) * 2020-03-11 2020-07-03 南京金信通信息服务有限公司 Secondary processing approver method for workflow
CN112700219A (en) * 2020-12-31 2021-04-23 宝付网络科技(上海)有限公司 ACTIVITI-based process management platform
CN113657869A (en) * 2021-08-31 2021-11-16 上海中通吉网络技术有限公司 Configuration method and device for process approval personnel

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070245013A1 (en) * 2006-04-13 2007-10-18 Fischer International Identity Llc Cross domain provisioning methodology and apparatus
CN107430605A (en) * 2015-01-02 2017-12-01 华为技术有限公司 Method and result for the summary report option that provides Query Result collect device
CN115310945A (en) * 2022-08-25 2022-11-08 中睿信数字技术有限公司 Method and system for multi-dimensional process grouping examination and approval

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2557748A1 (en) * 2004-05-05 2005-11-17 Eplus Systems, Inc. System and method for ecatalog supplier portal
CN102073702A (en) * 2010-12-30 2011-05-25 浪潮集团山东通用软件有限公司 Personnel information dynamic-extension realizing method for human resource management information system
CN110688403A (en) * 2019-09-23 2020-01-14 中国船舶重工集团公司第七一六研究所 Activiti process manual node transactor screening engine
CN111369223A (en) * 2020-03-11 2020-07-03 南京金信通信息服务有限公司 Secondary processing approver method for workflow
CN112700219A (en) * 2020-12-31 2021-04-23 宝付网络科技(上海)有限公司 ACTIVITI-based process management platform
CN113657869A (en) * 2021-08-31 2021-11-16 上海中通吉网络技术有限公司 Configuration method and device for process approval personnel

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ARDE:a novel framework to define workflow participants;Qijun Deng 等;《IEEE》;第150-157页 *

Also Published As

Publication number Publication date
CN116501718A (en) 2023-07-28

Similar Documents

Publication Publication Date Title
CN111880837B (en) Business process engine system supporting dynamic expansion and visual configuration
JP3023690B2 (en) Document processing apparatus and method
US6275977B1 (en) Application cooperation method and apparatus
CN107688500A (en) A kind of distributed task scheduling processing method, device, system and equipment
US7356479B2 (en) Device and method for accommodating business process
JP2863428B2 (en) Conversational graphics system
CN110543303B (en) Visual service platform
CN102810094A (en) Report generation method and device
US20050131714A1 (en) Method, system and program product for hierarchically managing a meeting
CN110968653B (en) Tree-shaped data dictionary maintenance system and method
US7483869B2 (en) Rule templates
CN112035708A (en) Knowledge graph display method and device, computer device and readable storage medium
CN103123660B (en) A kind of method to software and hardware system CAD mathematics library
CN105184145A (en) Permission management method and management apparatus
CN105743946A (en) Template disposition method and apparatus
CN110046287A (en) A kind of the data query method, apparatus and storage medium unrelated with type of database
CN105871998A (en) Data displaying method and device
CN116501718B (en) Processor configuration method, custom workflow configuration method and workflow system
CN113919041A (en) Collaborative design method and electronic equipment
US7603394B2 (en) Client-server system, a generator unit and a method to customize a user application
CN114816170A (en) Rule scheme generation method, device, medium and electronic equipment
JPH08287157A (en) Business process defining method
CN114219451A (en) Workflow design method and system based on visualization engine
CN114417789A (en) Data reference method and device, electronic equipment and storage medium
CN114416070B (en) Node assembly and device for visually configuring trigger

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