Editing method and device for business process in table, storage medium and program product
By displaying the condition judgment node and its branch lines on the business process editing page of the low-code development platform, and configuring the conditions based on the table field information, the problem of complex condition judgment logic in the table business process is solved, and the logic is clear, intuitive and simple, reducing the problem of clear, simple logic. User learning costs.
Patent Information
- Application Number
- CN202411224028.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-02
- Publication Date
- 2024-12-10
AI Technical Summary
The existing low-code development platform has complex conditional judgment logic in the table business process, resulting in high learning costs for users and difficulty in understanding and operation.
By displaying the condition judgment node and its branch lines on the business process editing page, users are allowed to configure conditions based on the table field information and add corresponding process nodes when the conditions are met or not, the logic is clear and intuitive, and the user's learning costs are reduced.
It simplifies the operation process of conditional judgment, improves the intuitiveness and flexibility of user operations, reduces learning costs, and avoids logical complexity and errors.
Smart Images

Figure CN119105747A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the field of computer technology, and in particular to a method, device, storage medium, and program product for editing a business process in a table. Background Art
[0002] When developing business processes, such as developing business processes in tables, you can develop based on a low-code development platform. Business processes in tables usually require conditional judgment.
[0003] In related technologies, low-code development platforms usually use exclusive branches or parallel branches to implement conditional judgments.
[0004] However, the inventors have discovered that there are at least the following technical problems in the related art: In the above method, the logic of conditional judgment is relatively complex, requiring users to put in a lot of effort to learn, and the cost of user understanding and learning is high. Summary of the invention
[0005] The embodiments of the present disclosure provide a method, device, storage medium, and program product for editing a business process in a table, so as to make the logic clearer and more intuitive and reduce the learning cost of users.
[0006] In a first aspect, an embodiment of the present disclosure provides a method for editing a business process in a table, comprising:
[0007] Displaying a business process editing page; the business process editing page presents an add control for the business process to be edited corresponding to the target table;
[0008] In response to a node adding operation on the adding control, a first conditional judgment node and a first branch line and a second branch line of the first conditional judgment node are displayed at a corresponding position of the adding control, so as to perform a subsequent editing operation to obtain a target business process of the target table;
[0009] Wherein, the first condition judgment node is used to configure the target condition according to the field information in the target table;
[0010] Wherein, a first control is displayed at a corresponding position of the first branch line; the first control is used to add a corresponding process node when the target condition is met;
[0011] Among them, a second control is displayed at the corresponding position of the second branch line; the second control is used to add a corresponding process node when the target condition is not met.
[0012] In a second aspect, an embodiment of the present disclosure provides a device for editing a business process in a table, including:
[0013] A display module, used to display a business process editing page; the business process editing page presents an add control for the business process to be edited corresponding to the target table;
[0014] An editing module, for displaying a first conditional judgment node and a first branch line and a second branch line of the first conditional judgment node at a corresponding position of the adding control in response to a node adding operation on the adding control, so as to perform a subsequent editing operation to obtain a target business process of the target table;
[0015] Wherein, the first condition judgment node is used to configure the target condition according to the field information in the target table;
[0016] Wherein, a first control is displayed at a corresponding position of the first branch line; the first control is used to add a corresponding process node when the target condition is met;
[0017] Among them, a second control is displayed at the corresponding position of the second branch line; the second control is used to add a corresponding process node when the target condition is not met.
[0018] In a third aspect, an embodiment of the present disclosure provides an electronic device, including: a processor and a memory;
[0019] The memory stores computer-executable instructions;
[0020] The processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the method for editing the business process in the table as described in the first aspect and various possible designs of the first aspect.
[0021] In a third aspect, an embodiment of the present disclosure provides a computer-readable storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, a method for editing a business process in a table as described in the first aspect and various possible designs of the first aspect is implemented.
[0022] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements the method for editing a business process in a table as described in the first aspect and various possible designs of the first aspect.
[0023] The method, device, storage medium and program product for editing a business process in a table provided by the present embodiment, the method first displays a business process editing page, the business process editing page presents an add control of the business process to be edited corresponding to the target table, in response to the node adding operation for the add control, a first conditional judgment node and a first branch line and a second branch line of the first conditional judgment node are displayed at the corresponding position of the add control, so as to perform subsequent editing operations to obtain the target business process of the target table, wherein the first conditional judgment node is used to configure the target condition according to the field information in the target table, wherein the corresponding position of the first branch line displays a first control, the first control is used to add the corresponding process node when the target condition is met, wherein the corresponding position of the second branch line displays a second control, the second control is used to add the corresponding process node when the target condition is not met. The method provided by the embodiment of the present disclosure, in the editing process of the business process in the table, by setting a conditional judgment node, configuring conditions for the conditional judgment node, and setting two branches for the conditional judgment node, one branch is used to select execution when the condition is met, and the other branch is used to select execution when the condition is not met, the logic is clear and intuitive, the operation is simple, and the learning cost of the user is greatly reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0025] Figure 1 A flowchart of a method for editing a business process in a table provided in an embodiment of the present disclosure;
[0026] Figure 2a to Figure 2l A schematic diagram of the interface of a business process editing page of a method for editing a business process in a table provided in an embodiment of the present disclosure;
[0027] Figure 3 A structural block diagram of a device for editing a business process in a table provided in an embodiment of the present disclosure;
[0028] Figure 4 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0030] When developing business processes, such as the development of business processes for forms, you can develop based on a low-code development platform. The low-code development platform allows users to create applications through a graphical user interface and configuration instead of traditional programming code. It simplifies the software development process, making it faster and more accessible, especially for business analysts and citizen developers who do not have a programming background.
[0031] Conditional judgment is usually required in the business process in the table to perform different processing for different situations, improve work efficiency and data processing flexibility. In related technologies, low-code development platforms usually use exclusive branches or parallel branches to implement conditional judgment. Specifically, in the exclusive branch method, multiple branches can be supported. Each branch sets a corresponding condition. In a certain order, each branch is checked and the first branch that meets the condition is executed. In the parallel branch method, each branch sets a corresponding condition and all branches are executed at the same time. However, in the above method, the logic of conditional judgment is more complicated, requiring users to spend more effort to learn, and the cost of user understanding and learning is high.
[0032] In order to solve the above technical problems, the inventors of the present disclosure have found that in order to make the judgment process more concise and intuitive, the conditions can be set first, and then the corresponding branches can be selected based on whether the conditions are met. The user entry threshold is low, the conditional judgment logic is displayed more clearly and directly, and conflicts and errors are less likely to occur. Based on this, the embodiment of the present disclosure provides a method for editing a business process in a table.
[0033] The technical solution of the present application is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0034] refer to Figure 1 , Figure 1 A flowchart of a method for editing a business process in a table provided in an embodiment of the present disclosure. The method of this embodiment can be applied in a terminal device or a server. The method for editing a business process in the table includes:
[0035] 101. Display a business process editing page; the business process editing page presents an add control for the business process to be edited corresponding to the target table.
[0036] In the embodiments of the present disclosure, a business process refers to a combination of steps that need to be executed in a certain logical order to complete a specific business. For example, the collection of implementation steps for processing a target table is the business process of the table. Exemplarily, the method of the embodiments of the present disclosure can be applied to a software development platform, such as a low-code development platform, and developers and programmers can edit the business process of a table based on the method provided in the embodiments of the present disclosure to achieve effective management of the target table.
[0037] In the specific implementation process, the business process to be edited may include multiple nodes, which may include trigger-type process nodes (such as adding a new record in the target table) and action-type process nodes (such as sending a group message), and the action-type process nodes may include conditional judgment nodes. The business process to be edited displayed on the business process editing page may be a newly created business process or a historical business process that has been edited.
[0038] Taking the creation of a new business process as an example, a user's touch operation (such as a click operation or a long press operation, etc.) on the new business process control in the new task operation page is received. In response to the touch operation, the business process editing page is displayed. The business process editing page can display a blank page. In response to the touch operation on the blank page, the corresponding process node is added. The business process editing page can also display the initial process layout of the business process to be edited, for example, it can include a trigger node addition control and an action node addition control. First, the trigger node addition control can receive the user's touch operation, and in response to the touch operation, the trigger condition of the entire business process is configured. For example, the trigger condition can be a new data record in the target table. Secondly, the action node addition control receives the user's touch operation, and in response to the touch operation, a process node of the corresponding action type is added. For example, the event of the newly added data record is sent to the target account (for example, a target account with access rights to the target table). The addition control in the embodiment of the present disclosure can be an addition control for the action node.
[0039] 102. In response to the node adding operation for the adding control, a first conditional judgment node and a first branch line and a second branch line of the first conditional judgment node are displayed at the corresponding position of the adding control, so as to perform subsequent editing operations to obtain the target business process of the target table. The first conditional judgment node is used to configure the target condition according to the field information in the target table; the first control is displayed at the corresponding position of the first branch line; the first control is used to add the corresponding process node when the target condition is met; the second control is displayed at the corresponding position of the second branch line; the second control is used to add the corresponding process node when the target condition is not met.
[0040] Specifically, after receiving a touch operation (such as a click operation or a long press operation) for adding a control, in response to the touch operation, a first conditional judgment node is added. Among them, the first conditional judgment node, the first branch line corresponding to the first conditional judgment node, and the second branch line can be displayed simultaneously or successively. When displayed successively, the two branch lines can be displayed based on an event trigger, for example, after the conditional configuration of the conditional judgment node is completed. The first branch line and the second branch line have their own adding controls, the first control and the second control, respectively, so as to add subsequent steps for the target table.
[0041] In the embodiment of the present disclosure, the field information in the target table includes configuration information of the field, such as one or more of the field name, field type, data format, and length.
[0042] Among them, the first branch line can be a solid line or a dotted line, and can be a straight line or a curve or other graphics, and can have an arrow indicating the direction of the process. The first branch line and the first control can be in a connected state or a separated state. In order to keep the picture simple, the end segment of the first branch line can be highlighted (for example, displayed in bold) as the first control. It can be set according to actual needs, and the embodiment of the present disclosure is not limited to this. The first branch line and the second branch line, the first control and the second control can adopt the same style.
[0043] Exemplarily, taking the execution subject as a computer as an example, in response to a user's touch operation (such as a click operation or a long press operation) on a new business process control or a touch operation (such as a click operation or a long press operation) on an open control of an existing business process, a business process editing page is displayed on the display screen of the computer, and an add control in the business process editing page receives the user's touch operation, and in response to the touch operation, such as Figure 2a Shown, displayed Figure 2a The business process editing page 20 shown is used to add or delete process nodes, adjust the execution order of each process node, configure parameters for each process node, etc.
[0044] like Figure 2a As shown, the page 20 includes a conditional judgment node 201, a first branch line 211 and a second branch line 212 connected to the conditional judgment node 201, a first control 221 connected to the first branch line 211, and a second control 222 connected to the second branch line 212. The conditional judgment node 201 is used to configure the target condition according to the field information in the target table; the first control 221 can be used to add a corresponding process node when the target condition is met; the second control 222 can be used to add a corresponding process node when the target condition is not met.
[0045] In the embodiment of the present disclosure, a rule can be pre-specified as to which of the two branch lines is used as the first branch line and which is used as the second branch line, so that the user can know in advance. For example, different branch lines are displayed in different colors, green is the first branch line, and red is the second branch line. Corresponding marks can also be made on the branch lines to remind the user, for example, text reminders of satisfaction or dissatisfaction can be added.
[0046] In one embodiment of the present disclosure, a first mark is displayed on the first branch line; the first mark is used to indicate that the process branch corresponding to the first branch line is the branch selected for execution when the target condition is met. The present disclosure embodiment sets the first mark to indicate the meaning of the corresponding branch, which can serve as a reminder to the user and is less prone to error.
[0047] like Figure 2a As shown, page 20 also includes a first mark 231 located on the first branch line 211 and a second mark 232 located on the second branch line 212. The first mark 231 is used to indicate that the process branch corresponding to the first branch line is the branch selected for execution when the target condition is met, and the second mark 232 is used to indicate that the process branch corresponding to the second branch line is the branch selected for execution when the target condition is not met.
[0048] In one embodiment of the present disclosure, in order to present the process direction concisely and clearly, the first branch line and the second branch line are symmetrically distributed with the central axis of the first condition judgment node as the center line.
[0049] From the above description, it can be seen that the method for editing the business process in the table provided by the embodiment of the present disclosure, in the process of editing the business process in the table, sets a conditional judgment node, configures conditions for the conditional judgment node, and sets two branches for the conditional judgment node, one branch is used to select execution when the condition is met, and the other branch is used to select execution when the condition is not met. The logic is clear and intuitive, the operation is simple, and the user's learning cost is greatly reduced.
[0050] In one embodiment of the present disclosure, before the conditional judgment node is conditionally configured, the corresponding reminder information can be displayed at the corresponding position of the conditional judgment node. Figure 2a As shown in the figure, a reminder message of "Incomplete Configuration" can be displayed to prevent users from forgetting to configure conditions and reduce errors.
[0051] In one embodiment of the present disclosure, based on the above embodiment, step 102 may also include: in response to a touch operation on the first condition judgment node, displaying a condition configuration panel; in response to a configuration operation on the condition configuration panel, obtaining a determined target field and a corresponding threshold, generating a target condition corresponding to the first condition judgment node according to the target field and the corresponding threshold, and displaying all or part of the target condition information at the corresponding position of the first condition judgment node.
[0052] The target condition may be composed of one or more conditions, and when there are multiple conditions, the logical relationship between the conditions may be included, such as (condition 1 and condition 2) or condition 3, that is, when both condition 1 and condition 2 are satisfied, or when only condition 3 is satisfied, the target condition is satisfied, otherwise, the target condition is not satisfied.
[0053] For example, receiving Figure 2a In response to the touch operation, the following is displayed: Figure 2b Page 21 shown. Figure 2b As shown, in Figure 2a On the basis, page 21 also includes: a condition configuration panel 241. The condition configuration panel 241 can be set at the upper layer of the business process editing page so that the user can see the various information in the condition configuration panel to a limited extent. The condition configuration panel 241 can also be displayed side by side with the various process nodes and controls in the business process to be edited without obstruction. When the display area is not enough, the business process to be edited can be moved to leave enough display space to display the condition configuration panel 241. The condition configuration panel 241 may include configuration controls and completion controls 242. The configuration controls may include controls for configuring parameters, logical relationships, and corresponding values. For example, the target condition may be set to field A equal to value B (for example, the customer type is a consumer user). The configuration control may be a drop-down selection type control or a text input box type control, which is not limited in the embodiment of the present disclosure. The completion control 242 is used to trigger the completion of the condition configuration to close the condition configuration panel 241.
[0054] In one embodiment of the present disclosure, the configuration panel may be displayed simultaneously with the first condition judgment node so as to remind the user to configure the target condition in time to avoid forgetting.
[0055] For example, receiving Figure 2bIn response to the touch operation, the following is displayed: Figure 2c Page 22 shown. Figure 2c As shown, the conditional judgment node 201 displays the target condition "field A is equal to value B".
[0056] When the configured target condition includes multiple conditions, if the required display control exceeds the preset value, partial content can be displayed. For example, one condition can be displayed per line, and if the number of words in the condition exceeds the preset value, it is omitted. When there are more than two conditions, the third condition and subsequent conditions can be displayed instead of ellipsis. This embodiment of the present disclosure is not limited to this.
[0057] The method provided by the embodiment of the present disclosure can improve the flexibility of operation by configuring the condition for the condition judgment node through the condition configuration panel. In addition, by displaying the target condition in the condition judgment node, it can give the user a more intuitive reminder, avoiding the user opening the panel to view the specific conditions and wasting time.
[0058] In one embodiment of the present disclosure, based on the above embodiment, Figure 1 Based on the illustrated embodiment, step 202 may further include: in response to a touch operation on the first control, displaying a first process node at a corresponding position of the first control; and / or, in response to a touch operation on the second control, displaying a second process node at a corresponding position of the second control.
[0059] In the disclosed embodiment, taking the trigger node of the business process as adding a data record to the target table as an example, assuming that the judgment condition of the conditional judgment node is configured as the customer industry is the new energy industry, then the first process node can be adding the customer to the first-level attention group, and the second process node can be adding the customer to the second-level attention group.
[0060] In one embodiment of the present disclosure, a third control is displayed at a corresponding position of the first process node; after the first process node is displayed at the corresponding position of the first control, it may also include: in response to a touch operation on the third control, displaying a third process node at the corresponding position of the third control.
[0061] For example, take adding process nodes to two branches (the process branch corresponding to the first branch line and the process branch corresponding to the second branch line) as an example. Figure 2c In response to the touch operation, a touch operation on the first control in the display is displayed. Figure 2d Page 23 shown. Figure 2d As shown, in Figure 2cOn the basis, page 24 further includes: a first process node 251 and a second process node 252. The first process node 251 is used to execute action 1, and the second process node 252 is used to execute action 2.
[0062] The method provided by the embodiment of the present disclosure can improve operational flexibility by setting corresponding controls in the satisfied branches or the unsatisfied branches to add process nodes, so that users can conveniently add process nodes to both the branches that meet the conditions and the branches that do not meet the conditions, thereby improving development efficiency.
[0063] In one embodiment of the present disclosure, in order to improve the flexibility of use, nesting of conditional judgments can be supported. Specifically, the first process node is the second conditional judgment node; the display of the first process node at the corresponding position of the first control may include: displaying the second conditional judgment node and the third branch line and the fourth branch line of the second conditional judgment node at the corresponding position of the first control; wherein the third branch and the fourth branch are symmetrically distributed with the central axis of the second conditional judgment node as the center line. In this way, nesting of conditional judgments can be achieved, and in order to avoid logical confusion caused by too many nested levels, the nested level can be limited to be less than or equal to a preset value, such as 5.
[0064] For example, receiving Figure 2c In response to a touch operation of the first control in the display, Figure 2e As shown on page 24. Figure 2e As shown, in Figure 2c On this basis, page 24 also includes: a conditional judgment node 271, a third branch line 281 and a fourth branch line 282 connected to the conditional judgment node 271, and may also include a control 291 connected to the third branch line 281 and a control 292 connected to the fourth branch line 282. Control 291 is used to add a subsequent process node to the process branch corresponding to the third branch line. Control 292 adds a subsequent process node to the process branch corresponding to the third branch line. The third branch line 281 and the fourth branch line 282 are symmetrically distributed with the central axis of the rectangular marking box corresponding to the conditional judgment node 271 as the center, and can clearly show the direction of the process.
[0065] The method provided in the embodiment of the present disclosure can adapt to a wider range of application scenarios and improve user experience by implementing conditional nesting.
[0066] In one embodiment of the present disclosure, in order to improve operational flexibility, when adding nodes to subordinate branches of a conditional judgment node, it is possible to support merging branches so that the merged processing steps can be added later. The displaying of the first process node at the corresponding position of the first control in response to the touch operation on the first control may include: displaying multiple candidate processing items in response to the touch operation on the first control; the multiple candidate processing items include a branch merge processing item; displaying the first process node at the corresponding position of the first control in response to the touch operation on the branch merge processing item, connecting the end of the process branch corresponding to the first branch line and the end of the process branch corresponding to the second branch line to the merged trend line; wherein a fourth control is displayed at the corresponding position of the merged trend line; the fourth control is used to add subsequent process nodes.
[0067] The end of a process branch refers to the front end of the process direction. Figure 2c As shown, control 221 is the end of the process branch corresponding to the first branch line, and control 222 is the end of the process branch corresponding to the second branch line.
[0068] For example, receiving Figure 2c In response to a touch operation of the first control in the display, Figure 2f Page 25 shown. Figure 2f As shown, in Figure 2c On the basis, page 25 also includes: multiple candidate processing items (non-branching and merging, split merging), receiving a touch operation on the branch merging processing item, and displaying the following in response to the touch operation: Figure 2g Page 26 shown, Figure 2c On the basis of, page 26 also includes a merged trend line 301 and a fourth control 302 connected to the merged trend line. The fourth control 302 is used to add a subsequent merged process node.
[0069] It should be noted that the branch merging process can be applied to the add controls corresponding to each process node in each branch. Figure 2g Control 222 in Figure 2d Control 261 and control 262, etc.
[0070] In the disclosed embodiment, by setting the option of whether to merge in the control for adding nodes in the process branch, it is convenient to quickly realize branch merging, simplify the operation, and improve the operational flexibility.
[0071] In one embodiment of the present disclosure, the first identifier is a switching control; after displaying the first conditional judgment node and the first branch line and the second branch line of the first conditional judgment node at the corresponding position of the added control, it can also include: displaying at least one candidate item for selective execution in response to the touch operation of the switching control; wherein the at least one candidate item includes: Candidate 1: switching the first identifier to the second identifier, the second identifier is used to characterize that the process branch corresponding to the first branch line is the branch selected for execution when the target condition is not met; Candidate 2: swapping the positions of the first branch line and the associated process node with the second branch line and the associated process node.
[0072] For example, receiving Figure 2d A touch operation is received on the first identifier 231 (satisfied) in the example, and in response to the touch operation, at least one candidate item is displayed (candidate item 1: the first identifier is switched to the second identifier, and the second identifier is used to indicate that the process branch corresponding to the first branch line is the branch selected for execution when the target condition is not satisfied; candidate item 2: the first branch line and the associated process node are swapped with the second branch line and the associated process node). A touch operation is received on candidate item 1, and in response to the touch operation, at least one candidate item is displayed. Figure 2i As shown on page 28. Figure 2i As shown, in Figure 2d Based on the above, the first mark 231 and the second mark 232 are swapped. A touch operation on candidate item 2 is received, and in response to the touch operation, a display is displayed as follows: Figure 2h As shown on page 27. Figure 2h As shown, in Figure 2d On the basis of the above, the process nodes and controls (231, 251, 261) corresponding to the first branch line 211 in page 27 are swapped with the process nodes and controls (232, 252, 262) corresponding to the second branch line 212. When there are more than three branch lines in the conditional judgment node 201, the branch lines can be distinguished by serial numbers and other identifiers, and then the serial numbers corresponding to the branch lines to be swapped can be selected.
[0073] The method provided by the embodiment of the present disclosure can more flexibly and conveniently realize the movement of the branch position by using the first identifier as a control, which is simpler and easier to operate than dragging different nodes or controls multiple times.
[0074] In one embodiment of the present disclosure, a fifth control is presented at the corresponding position of the first conditional judgment node; in response to a touch operation on the fifth control, a fifth branch line is displayed at the corresponding position of the first conditional judgment node; wherein a sixth control is displayed at the corresponding position of the fifth branch line; the sixth control is used to add a process node corresponding to the target condition being met, or to add a process node corresponding to the target condition not being met. The operation steps corresponding to the process nodes added by different branches are different.
[0075] For example, Figure 2j As shown, in Figure 2a On the basis of , page 29 also includes a fifth control 202. A touch operation on the fifth control 202 is received, and in response to the touch operation, a display is shown as follows Figure 2k The page 30 shown in FIG. 1 further includes multiple options: Option 1 satisfies the branch; Option 2 does not satisfy the branch. A touch operation on Option 1 is received, and in response to the touch operation, a display is displayed as follows: Figure 2l Page 31 shown, page 31 in Figure 2a The fifth branch line 213 and the sixth control 223 may also be included on the basis of the third identification 233. The sixth control 223 is used to add a corresponding process node when the target condition is met.
[0076] The method provided by the embodiment of the present disclosure can support parallel processing and improve processing efficiency by adding multiple satisfied branches or multiple unsatisfied branches, and different branches correspond to different processing operations.
[0077] In one embodiment of the present disclosure, in order to ensure the correctness of the business process, error reminders for logic errors that are not easily detected are supported. After displaying the first conditional judgment node and the first branch line and the second branch line of the first conditional judgment node at the corresponding position of the added control, it can also include: when the target business process is being released, if the process branches corresponding to the branch lines of the first conditional judgment node have not added corresponding process nodes, then an error message is generated and displayed.
[0078] Specifically, by editing the business process, the target business process of the target table can be obtained. In the process of publishing the target business process, logical errors can be checked. Considering that the target condition of the conditional judgment node is either met or not met, each branch of the conditional judgment node (satisfied branch and not satisfied branch) must have at least one branch with a processing step. Based on this, error reminders can be given for situations where no process nodes are added to each branch, so as to improve the correctness of the business process.
[0079] The method provided by the embodiment of the present disclosure can improve the comprehensiveness of error checking and the correctness of business processes by determining whether there is at least one branch in the conditional judgment and reporting an error if there is one or more nodes.
[0080] Corresponding to the method for editing the business process in the table in the above embodiment, Figure 3 A structural block diagram of a device for editing a business process in a table provided in an embodiment of the present disclosure. For ease of explanation, only the parts related to the embodiment of the present disclosure are shown. Figure 3 The device 40 includes: a display module 401 and an editing module 402.
[0081] Display module 401, used to display a business process editing page; the business process editing page presents an add control for the business process to be edited corresponding to the target table;
[0082] An editing module 402, for displaying a first conditional judgment node and a first branch line and a second branch line of the first conditional judgment node at a corresponding position of the adding control in response to a node adding operation on the adding control, so as to perform a subsequent editing operation to obtain a target business process of the target table;
[0083] Wherein, the first condition judgment node is used to configure the target condition according to the field information in the target table;
[0084] Wherein, a first control is displayed at a corresponding position of the first branch line; the first control is used to add a corresponding process node when the target condition is met;
[0085] Among them, a second control is displayed at the corresponding position of the second branch line; the second control is used to add a corresponding process node when the target condition is not met.
[0086] In one embodiment of the present disclosure, the editing module 402 is further configured to:
[0087] In response to a touch operation on the first condition judgment node, displaying a condition configuration panel;
[0088] In response to the configuration operation on the condition configuration panel, the determined target field and the corresponding threshold are obtained, the target condition corresponding to the first condition judgment node is generated according to the target field and the corresponding threshold, and all or part of the information of the target condition is displayed at the corresponding position of the first condition judgment node.
[0089] In one embodiment of the present disclosure, the editing module 402 is further configured to:
[0090] In response to a touch operation on the first control, displaying a first process node at a corresponding position of the first control;
[0091] and / or,
[0092] In response to a touch operation on the second control, a second process node is displayed at a corresponding position of the second control.
[0093] In one embodiment of the present disclosure, the editing module 402 is further configured to:
[0094] In response to a touch operation on the third control, a third process node is displayed at a corresponding position of the third control.
[0095] In one embodiment of the present disclosure, the first process node is a second condition judgment node; the editing module 402 is specifically used to:
[0096] A second conditional judgment node and a third branch line and a fourth branch line of the second conditional judgment node are displayed at a corresponding position of the first control; wherein the third branch and the fourth branch are symmetrically distributed with the central axis of the second conditional judgment node as the center line.
[0097] In one embodiment of the present disclosure, the editing module 402 is specifically used to:
[0098] In response to a touch operation on the first control, a plurality of candidate processing items are displayed; the plurality of candidate processing items include a branch merge processing item;
[0099] In response to a touch operation on the branch merging processing item, a first process node is displayed at a corresponding position of the first control, and an end of the process branch corresponding to the first branch line and an end of the process branch corresponding to the second branch line are connected to a merging trend line;
[0100] Among them, a fourth control is displayed at the corresponding position of the merged trend line; the fourth control is used to add subsequent process nodes.
[0101] In one embodiment of the present disclosure, a first identifier is displayed on the first branch line; the first identifier is used to indicate that the process branch corresponding to the first branch line is the branch selected for execution when the target condition is met.
[0102] In one embodiment of the present disclosure, the first identifier is a switch control; the editing module 402 is further used to:
[0103] In response to the touch operation of the switching control, at least one candidate item is displayed for selection and execution;
[0104] The at least one candidate item includes:
[0105] Switching the first identifier to a second identifier; the second identifier is used to indicate that the process branch corresponding to the first branch line is the branch selected for execution when the target condition is not met;
[0106] The first branch line and the associated process node are swapped with the second branch line and the associated process node.
[0107] In one embodiment of the present disclosure, a fifth control is presented at the corresponding position of the first condition judgment node; the editing module 402 is further used to:
[0108] In response to a touch operation on the fifth control, displaying a fifth branch line at a corresponding position of the first condition judgment node;
[0109] Among them, a sixth control is displayed at the corresponding position of the fifth branch line; the sixth control is used to add a corresponding process node when the target condition is met, or to add a corresponding process node when the target condition is not met.
[0110] In one embodiment of the present disclosure, the first branch line and the second branch line are symmetrically distributed with the central axis of the first condition judgment node as the center line.
[0111] In one embodiment of the present disclosure, the editing module 402 is further configured to:
[0112] When the target business process is being published, if no corresponding process nodes are added to the process branches corresponding to the branch lines of the first condition judgment node, an error message is generated and displayed.
[0113] The device provided in this embodiment can be used to execute the technical solution of the above method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.
[0114] In order to implement the above embodiment, the embodiment of the present disclosure also provides an electronic device.
[0115] refer to Figure 4, which shows a schematic diagram of the structure of an electronic device 500 suitable for implementing the embodiment of the present disclosure, and the electronic device 500 may be a terminal device or a server. The terminal device may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (Portable Android Devices, PADs), portable multimedia players (PMPs), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0116] like Figure 4 As shown, the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 to a random access memory (RAM) 503. Various programs and data required for the operation of the electronic device 500 are also stored in the RAM 503. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0117] Typically, the following devices may be connected to the I / O interface 505: input devices 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 508 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 509. The communication devices 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 4 The electronic device 500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0118] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0119] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0120] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0121] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the method shown in the above embodiment.
[0122] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0123] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0124] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".
[0125] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0126] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0127] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0128] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0129] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A method for editing a business process in a table, It is characterized in that include: Displaying a business process editing page; the business process editing page presents an add control for the business process to be edited corresponding to the target table; In response to a node adding operation on the adding control, a first conditional judgment node and a first branch line and a second branch line of the first conditional judgment node are displayed at a corresponding position of the adding control, so as to perform a subsequent editing operation to obtain a target business process of the target table; Wherein, the first condition judgment node is used to configure the target condition according to the field information in the target table; Wherein, a first control is displayed at a corresponding position of the first branch line; the first control is used to add a corresponding process node when the target condition is met; Among them, a second control is displayed at the corresponding position of the second branch line; the second control is used to add a corresponding process node when the target condition is not met.
2. The method according to claim 1, It is characterized in that After displaying the first conditional judgment node and the first branch line and the second branch line of the first conditional judgment node at the corresponding position of the added control, the method further includes: In response to a touch operation on the first condition judgment node, displaying a condition configuration panel; In response to the configuration operation on the condition configuration panel, the determined target field and the corresponding threshold are obtained, the target condition corresponding to the first condition judgment node is generated according to the target field and the corresponding threshold, and all or part of the information of the target condition is displayed at the corresponding position of the first condition judgment node.
3. The method according to claim 1, It is characterized in that After displaying the first conditional judgment node and the first branch line and the second branch line of the first conditional judgment node at the corresponding position of the added control, the method further includes: In response to a touch operation on the first control, displaying a first process node at a corresponding position of the first control; and / or, In response to a touch operation on the second control, a second process node is displayed at a corresponding position of the second control.
4. The method according to claim 3, It is characterized in that A third control is displayed at a corresponding position of the first process node; after the first process node is displayed at a corresponding position of the first control, the method further includes: In response to a touch operation on the third control, a third process node is displayed at a corresponding position of the third control.
5. The method according to claim 3, It is characterized in that The first process node is a second condition judgment node; and displaying the first process node at a corresponding position of the first control includes: The second conditional judgment node and the third branch line and the fourth branch line of the second conditional judgment node are displayed at the corresponding position of the first control; wherein the third branch and the fourth branch are symmetrically distributed with the central axis of the second conditional judgment node as the center line.
6. The method according to claim 3, It is characterized in that The step of displaying a first process node at a corresponding position of the first control in response to a touch operation on the first control includes: In response to a touch operation on the first control, a plurality of candidate processing items are displayed; the plurality of candidate processing items include a branch merge processing item; In response to a touch operation on the branch merging processing item, a first process node is displayed at a corresponding position of the first control, and an end of the process branch corresponding to the first branch line and an end of the process branch corresponding to the second branch line are connected to a merging trend line; Among them, a fourth control is displayed at the corresponding position of the merged trend line; the fourth control is used to add subsequent process nodes.
7. The method according to any one of claims 1 to 6, It is characterized in that A first mark is displayed on the first branch line; the first mark is used to indicate that the process branch corresponding to the first branch line is the branch selected for execution when the target condition is met.
8. The method according to claim 7, It is characterized in that The first identifier is a switching control; after displaying the first conditional judgment node and the first branch line and the second branch line of the first conditional judgment node at the corresponding position of the added control, the method further includes: In response to the touch operation of the switching control, at least one candidate item is displayed for selection and execution; The at least one candidate item includes: Switching the first identifier to a second identifier; the second identifier is used to indicate that the process branch corresponding to the first branch line is the branch selected for execution when the target condition is not met; The first branch line and the associated process node are swapped with the second branch line and the associated process node.
9. The method according to any one of claims 1 to 6, It is characterized in that A fifth control is presented at a corresponding position of the first conditional judgment node; after the first conditional judgment node and the first branch line and the second branch line of the first conditional judgment node are displayed at the corresponding position of the added control, the method further includes: In response to a touch operation on the fifth control, displaying a fifth branch line at a corresponding position of the first condition judgment node; Among them, a sixth control is displayed at the corresponding position of the fifth branch line; the sixth control is used to add a corresponding process node when the target condition is met, or to add a corresponding process node when the target condition is not met.
10. The method according to any one of claims 1 to 6, It is characterized in that The first branch line and the second branch line are symmetrically distributed with the central axis of the first condition judgment node as the center line.
11. The method according to any one of claims 1 to 6, It is characterized in that After displaying the first conditional judgment node and the first branch line and the second branch line of the first conditional judgment node at the corresponding position of the added control, the method further includes: When the target business process is being published, if no corresponding process nodes are added to the process branches corresponding to the branch lines of the first condition judgment node, an error message is generated and displayed.
12. A device for editing business processes in a table, It is characterized in that include: A display module, used to display a business process editing page; the business process editing page presents an add control for the business process to be edited corresponding to the target table; An editing module, for displaying a first conditional judgment node and a first branch line and a second branch line of the first conditional judgment node at a corresponding position of the adding control in response to a node adding operation on the adding control, so as to perform a subsequent editing operation to obtain a target business process of the target table; Wherein, the first condition judgment node is used to configure the target condition according to the field information in the target table; Wherein, a first control is displayed at a corresponding position of the first branch line; the first control is used to add a corresponding process node when the target condition is met; Among them, a second control is displayed at the corresponding position of the second branch line; the second control is used to add a corresponding process node when the target condition is not met.
13. An electronic device, It is characterized in that include: Processor and memory; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor executes the method for editing a business process in a table as described in any one of claims 1 to 11.
14. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions. When the processor executes the computer-executable instructions, the method for editing a business process in a table as described in any one of claims 1 to 11 is implemented.
15. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the method for editing a business process as claimed in any one of claims 1 to 11 is implemented.
Citation Information
Cited By
Process editing method and device, equipment and storage medium
CN119781759A
