Form Processing Method, Apparatus, Electronic Device, Medium, and Program Product
The form processing method and apparatus address the limitations of existing database table products by enabling flexible trigger time settings and operations within the online form, enhancing applicability to diverse business scenarios.
Patent Information
- Application Number
- JP2023577614
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-10-27
- Filing Date
- 2022-10-27
- Publication Date
- 2025-05-27
- Estimated Expiration
- 2042-10-27
AI Technical Summary
Existing database table products are not suitable for special scenarios as they lack flexibility in setting trigger times and operations, particularly when based on data content or time recorded in the online form.
A form processing method and apparatus that displays a workflow screen in response to an operation on a target control in an online form, allowing users to set trigger conditions and operations associated with data content or time. The method executes trigger operations based on predetermined times or times recorded in the online form, enhancing flexibility and applicability to various business scenarios.
The solution allows for flexible setting of trigger times and operations, making it suitable for more business scenarios, such as order deadline reminders, by enabling trigger operations to be executed based on times recorded in the online form.
Smart Images

Figure 0007684445000001 
Figure 0007684445000002 
Figure 0007684445000003
Abstract
Description
Technical Field
[0001] [Cross - Reference to Related Applications] This application is filed based on a Chinese patent application with an application number of 202111257767.9, an application date of October 27, 2021, and a title of "Form Processing Method, Apparatus, Electronic Device, Medium, and Program Product", claims the priority of the Chinese patent application, and all the contents of the Chinese patent application are incorporated herein by reference. [Technical Field] This application relates to the field of computer technology, and in particular, to a form processing method, apparatus, electronic device, medium, and program product.
Background Art
[0002] Currently, database table products can provide customizable rules for users. The rules may include trigger conditions and trigger operations. When the trigger conditions are met, the specified trigger operation may be automatically executed. For example, the database table can prompt the specifier to modify the corresponding records in the table before the deadline, so it may be applied to scenarios such as task / order management. However, the above - described method is not suitable for special scenarios.
Summary of the Invention
Problems to be Solved by the Invention
[0003] To solve the above - mentioned technical problems, or at least partially solve them, this application provides a form processing method, apparatus, electronic device, medium, and program product.
Means for Solving the Problems
[0004] According to a first aspect of this application, displaying a workflow screen in response to an operation on a target control in an online form; In the workflow screen, receiving a trigger condition associated with the data content or time of the online form, and a trigger operation associated with the data content or target of the online form; When the trigger condition is triggered based on a predetermined time, executing the trigger operation based on the predetermined time, or When the trigger condition is triggered based on the time recorded in the online form, executing the trigger operation based on the time recorded in the online form, including a form processing method.
[0005] Optionally, after receiving the trigger condition and the trigger operation on the workflow screen, the method includes: When the trigger condition is triggered based on an update of the data content recorded in the online form, and when the data content recorded in the online form is updated, further including executing the trigger operation.
[0006] Optionally, the trigger operation includes an operation of sending a message. Executing the trigger operation as described above includes: Sending a predetermined message to the target in an instant messaging application associated in advance, where the target includes a target user and / or a target group.
[0007] Optionally, executing the trigger operation based on the time recorded in the online form as described above includes: Determining a trigger time based on the time recorded in the online form and a target period preset in the trigger condition; When the trigger time arrives, executing the trigger operation.
[0008] Optionally, the workflow screen includes a first area for displaying condition controls and a second area for displaying operation controls.
[0009] Optionally, at least one condition control corresponding to a predetermined trigger condition is displayed in the first area, Receiving a trigger condition in the workflow interface means responding to a trigger operation on a first target condition control among the condition controls, selecting a trigger condition triggered based on the time recorded in the online form from the predetermined trigger condition, selecting a target form from the online form in response to a form selection operation, selecting a target time field from the target form in response to a time field selection operation, and or responding to a selection operation on a second target condition control among the condition controls, selecting a trigger condition triggered based on timing from the predetermined trigger condition, setting the predetermined time in response to a time setting operation.
[0010] Optionally, at least one operation control corresponding to a predetermined trigger operation is displayed in the second area, Receiving a trigger operation in the workflow interface means responding to a trigger operation on a target operation control among the operation controls and selecting the trigger operation from the predetermined trigger operation.
[0011] Optionally, after displaying the workflow screen, responding to a trigger operation on the condition control in the first control panel of the first area, replacing the first control panel with a second control panel. generating, in response to a trigger operation on a predetermined control other than the second control panel, a third control panel spatially associated with the second control panel in the first region in the first region;
[0012] Optionally, after displaying the workflow screen, replacing the fourth control panel with a fifth control panel in response to a trigger operation on the operation control in the fourth control panel in the second region; generating, in response to a trigger operation on a predetermined control other than the fifth control panel, a sixth control panel spatially associated with the fifth control panel in the second region in the second region;
[0013] Optionally, the condition control in the first region is in an active state, and the operation control in the second region is in an inactive state.
[0014] Optionally, the method further includes activating the operation control in the second region in response to the condition control in the first region being triggered.
[0015] Optionally, displaying the workflow screen in response to an operation on a target control in the online form includes displaying a workflow creation screen in response to a trigger operation on the target control in the online form; and displaying the workflow screen in response to a trigger operation on a first creation control for creating a customized workflow or a second creation control for creating a predetermined template workflow in the workflow creation screen.
[0016] Optionally, displaying a workflow screen in response to an operation on a target control in the online form is displaying a workflow creation screen located on top of the screen of the online form via an action sheet in response to a trigger operation on the target control in the online form; replacing the workflow creation screen with the workflow screen in response to a trigger operation on a predetermined creation control in the workflow creation screen.
[0017] Optionally, the online form is a database table including one or more data tables, and the data table includes one or more form views.
[0018] According to a second aspect of the present invention, a workflow screen display module for displaying a workflow screen in response to an operation on a target control in an online form; in the workflow screen, a reception module for receiving a trigger condition associated with the data content or time of the online form, and a trigger operation associated with the data content or target object of the online form; a first trigger module for executing the trigger operation based on the predetermined time when the trigger condition is triggered based on the predetermined time; a second trigger module for executing the trigger operation based on the time recorded in the online form when the trigger condition is triggered based on the time recorded in the online form, and providing a form processing apparatus.
[0019] Optionally, the apparatus When the trigger condition is triggered based on an update of the data content recorded in the online form, and when the data content recorded in the online form is updated, a third trigger module for executing the trigger operation is further provided.
[0020] Optionally, the trigger operation includes an operation of sending a message. The first trigger module, the second trigger module, and the third trigger module Realize the execution of the trigger operation by sending a predetermined message to the target in the instant messaging application associated in advance, and the target includes a target user and / or a target group.
[0021] Optionally, specifically, when the trigger condition is triggered based on the time recorded in the online form, the second trigger module is used to determine a trigger time based on the time recorded in the online form and a target period preset in the trigger condition, and execute the trigger operation when the trigger time arrives.
[0022] Optionally, the workflow screen includes a first area for displaying a condition control and a second area for displaying an operation control.
[0023] Optionally, at least one condition control corresponding to a predetermined trigger condition is displayed in the first area. Specifically, the reception module In response to a trigger operation on a first target condition control among the condition controls, select a trigger condition that is triggered based on the time recorded in the online form from the predetermined trigger conditions. In response to a form selection operation, selecting a target form from the online form, In response to a time field selection operation, selecting a target time field from the target form, and used to realize receiving a trigger condition in the workflow interface, Or, In response to a selection operation for a second target condition control among the condition controls, selecting a trigger condition triggered based on timing from the predetermined trigger conditions, In response to a time setting operation, setting the predetermined time, and used to realize receiving a trigger condition in the workflow interface.
[0024] Optionally, at least one operation control corresponding to a predetermined trigger operation is displayed in the second region, Specifically, the reception module In response to a trigger operation for a target operation control among the operation controls, selecting the trigger operation from the predetermined trigger operations, and used to realize receiving a trigger operation in the workflow interface.
[0025] Optionally, the apparatus A first control panel replacement module for replacing the first control panel with a second control panel in response to a trigger operation for the condition control in the first control panel of the first region, A first control panel generation module for generating a third control panel spatially associated with the second control panel in the first region in response to a trigger operation for a predetermined control other than the second control panel, and further includes.
[0026] Optionally, the apparatus A second control panel replacement module for replacing the fourth control panel with a fifth control panel in response to a trigger operation on the operation control in the fourth control panel of the second region; A second control panel generation module for generating a sixth control panel that is spatially associated with the fifth control panel in the second region in response to a trigger operation on a predetermined control other than the fifth control panel; and further includes.
[0027] Optionally, the condition control in the first region is in an active state, and the operation control in the second region is in an inactive state.
[0028] Optionally, the device Further includes a control activation module for activating the operation control in the second region in response to the condition control in the first region being triggered.
[0029] Optionally, the workflow screen display module is specifically used for displaying a workflow creation screen in response to a trigger operation on a target control in the online form, and for displaying the workflow screen in response to a trigger operation on a first creation control for creating a customized workflow or a second creation control for creating a predetermined template workflow on the workflow creation screen.
[0030] Optionally, the workflow screen display module is specifically used for: in response to a trigger operation on the target control in the online form, displaying a workflow creation screen located above the screen of the online form via an action sheet; and in response to a trigger operation on a preset creation control in the workflow creation screen, replacing the workflow creation screen with the workflow screen using the workflow screen.
[0031] Optionally, the online form is a database table including one or more data tables, and the data table includes one or more form views.
[0032] According to a third aspect of the present application, there is provided an electronic device including a processor for executing a computer program stored in a memory, and when the computer program is executed by the processor, the method described in the first aspect is realized.
[0033] According to a fourth aspect of the present invention, there is provided a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the method described in the first aspect is realized.
[0034] According to a fifth aspect of the present invention, there is provided a computer program product that causes a computer to execute the method described in the first aspect when operating on the computer.
[0035] The technical solution provided by the embodiments of the present application has the following advantages compared with the prior art: The user may set trigger conditions and trigger operations on the workflow screen corresponding to the online form. The trigger conditions may be triggered based on a predetermined time or based on the time recorded in the online form. That is, the corresponding trigger operation may be executed based on the time recorded in the online form. For example, when the time recorded in the online form arrives, the corresponding trigger operation may be executed. This makes the setting of the trigger time of the workflow more flexible and can meet the needs in more business scenarios, such as order deadline reminders.
Brief Description of the Drawings
[0036] The drawings here are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present application and used to interpret the principles of the present application together with the specification.
[0037] To more clearly explain the embodiments of the present application and the technical solutions of the prior art, the drawings necessary for the description of the embodiments or the prior art will be briefly described below. For those skilled in the art, other drawings can be further obtained from these drawings without creative labor.
[0038]
Figure 1
[0039]
Figure 2
[0040]
Figure 3
[0041]
Figure 4A
[0042]
Figure 4B
[0043]
Figure 5
[0044]
Figure 6
[0045]
Figure 7
[0046]
Figure 8
[0047]
Figure 9
[0048]
Figure 10
Embodiments for Carrying Out the Invention
[0049] In order to more clearly understand the above objects, features and advantages of the present application, the technical solutions of the present application will be described in more detail below. Unless there is no contradiction, the embodiments in the present application and the features in the embodiments may be combined with each other.
[0050] In the following description, in order to fully understand the present application, many specific details are described. However, the present application may be implemented in other modes different from those described here, and the embodiments in the specification are only some embodiments of the present application, not all embodiments.
[0051] FIG. 1 is a schematic diagram showing a system architecture applicable to an exemplary application environment of a form processing method according to an embodiment of the present application.
[0052] As shown in FIG. 1, the system architecture 100 includes one or more terminal devices such as terminal device 101, terminal device 102, and terminal device 103, a network 104, and a server 105. The network 104 is used as a medium for providing communication links between the terminal device 101, terminal device 102, terminal device 103, and server 105. The network 104 may include various connection types such as, for example, wired, wireless communication links, or optical fiber cables. The terminal device 101, terminal device 102, and terminal device 103 may be various electronic devices, including but not limited to desktop computers, portable computers, smartphones, tablets, etc. It should be understood that the number of terminal devices, networks, and servers in FIG. 1 is only schematically shown. Depending on actual needs, any number of terminal devices, networks, and servers may be provided. The server 105 may be, for example, a server cluster composed of multiple servers.
[0053] The form processing method provided by the embodiments of the present application is usually executed by the server 105. Therefore, the form processing device may be provided in the server 105. However, as can be easily understood by those skilled in the art, the form processing method provided by the embodiments of the present application may also be executed by the terminal device 101, terminal device 102, and terminal device 103. For example, the terminal device 101, terminal device 102, and terminal device 103 may establish a workflow in advance that includes trigger conditions and trigger operations, and upload the workflow to the server 105.
[0054] After obtaining the trigger conditions and trigger operations in the workflow, if the server 105 determines that it is to be triggered based on the time recorded in the online form as a trigger condition, it executes the trigger operation based on the time recorded in the online form.
[0055] First, the form processing method according to the embodiments of the present application will be described in detail below.
[0056] Referring to FIG. 2, FIG. 2 is a flowchart of the form processing method according to the embodiments of the present application and may include the following steps.
[0057] Step S210: In response to an operation on a target control in the online form, display a workflow screen.
[0058] In the embodiments of the present application, the online form is an online editable table that can support online editing by one or more users and may be, for example, a database table or the like. The online form may include one or more data tables, and the multiple data tables may be located on different sheets. The data table may include one or more form views. The form view is used to display the conversion status of the data in the data table.
[0059] The online form may include an entrance which is a target control for establishing a workflow. When the user performs a trigger operation on the target control, the workflow screen may be displayed. A workflow refers to the automated workflow of database tables. The user may establish a workflow that meets the business needs according to the business needs. Form operations that trigger automatic data updates, automatic sending of reminder notifications, setting of scheduled tasks, etc. can be specified in the workflow, and cumbersome manual operations can be reduced. Each workflow may include a trigger condition and a trigger operation, and when the trigger condition is satisfied, the corresponding trigger operation may be executed.
[0060] Step S220: Receive a trigger condition and a trigger operation on the workflow screen.
[0061] On the workflow screen, the user may set the corresponding trigger condition and trigger operation according to the business needs. The trigger condition may include a time-based trigger condition that is triggered when a predetermined trigger time arrives, and a data change-based trigger condition that is triggered when the data in the online form is changed. Therefore, the trigger condition may be associated with the data content or time of the online form.
[0062] The trigger time (deadline) may be set on the workflow screen. For example, a predetermined time may be directly set as the deadline, or the time included in the online form may be used as the deadline. For example, a time field may be selected in the online form, and the time corresponding to the time field may be used as the deadline. In this way, the trigger operation can be performed based on the time corresponding to the time field recorded in the online form.
[0063] For example, in the case of an order management scenario, the order management data table includes an order due time field, and when establishing a workflow, the order management data table and the order due time field may be selected. In this way, since the trigger operation can be directly performed based on the time corresponding to the order due time field in the order management data table, the user does not need to check the time corresponding to the order due time field from the order management data table and then set that time in the trigger condition, and the procedure for setting the trigger time can be simplified. In particular, when the time recorded in the online form changes, the procedure for setting the trigger time can be further simplified.
[0064] The trigger operation may include a trigger operation for sending a message to a target object and an operation for modifying data in an online form. Therefore, the trigger operation is associated with the data content of the online form or the target object. The target object may include a target user and / or a target group. That is, the present application can support sending a message to one or more users and can also support sending a message to one or more groups.
[0065] Step S230: When the trigger condition is triggered based on a predetermined time, execute a trigger operation according to the predetermined time.
[0066] When the trigger condition is triggered based on a predetermined time, the trigger operation may be executed when the predetermined time arrives. Taking the predetermined time as an intermediate time, a target period may be set when setting the predetermined time, and a function of triggering earlier than the predetermined time by the target period may be provided.
[0067] Step S240: When the trigger condition is triggered based on the time recorded in the online form, execute a trigger operation based on the time recorded in the online form.
[0068] Similar to performing a trigger operation based on a specified time, a trigger operation may be performed when the time recorded in the online form arrives. This can be set as an intermediate time, and a function to trigger N days, Y hours, or M minutes earlier may be provided, where N, Y, and M are all positive integers.
[0069] In the form processing method according to an embodiment of the present application, a user may set a trigger condition and a trigger operation on a workflow screen corresponding to an online form. The trigger condition may be triggered based on a specified time, or may also be triggered based on the time recorded in the online form. That is, a corresponding trigger operation may be performed based on the time recorded in the online form. For example, a corresponding trigger operation may be performed when the time recorded in the online form arrives. This makes the setting of the trigger time for the workflow more flexible and can meet the needs in more business scenarios, such as order deadline reminders.
[0070] Referring to FIG. 3, FIG. 3 is a flowchart for establishing a workflow according to an embodiment of the present application, that is, a flowchart of the method for establishing the workflow according to the embodiment of FIG. 2, and may include the following steps.
[0071] Step S310: In response to an operation on a target control in the online form, display a workflow screen.
[0072] The online form may include an entrance to an automated workflow that is the target control, and the user can access the workflow screen through that target control. After triggering the target control, the user may directly access the workflow screen, or may first access the workflow creation screen, perform a trigger operation on the workflow creation screen, and then access the workflow screen.
[0073] In an alternative embodiment, in response to a trigger operation on a target control in an online form, a workflow creation screen is displayed, and in response to a trigger operation on a first creation control or a second creation control on the workflow creation screen, a workflow screen is displayed. The first creation control is for creating a customized workflow, and the second creation control is for creating a predetermined template workflow.
[0074] On the workflow creation screen, a plurality of different predetermined template workflows may be provided to the user. Different template workflows correspond to different second creation controls. When the template workflow meets the user's actual needs, the user may directly trigger the second creation control to select the corresponding template workflow. When the template workflow does not meet the user's actual needs, the user may trigger the first creation control to create a new customized workflow. For example, a new workflow can be created by clicking the "New Customized Flow Addition" button.
[0075] Referring to FIG. 4A, FIG. 4A is a schematic diagram of a workflow creation screen according to an embodiment of the present application, and includes one first creation control for creating a customized workflow and five second creation controls for creating a template workflow. The user can select the first creation control or the second creation control according to actual needs.
[0076] In an alternative embodiment, in response to a trigger operation on a target control in an online form, a workflow creation screen is displayed, and the workflow creation screen is positioned over the screen of the online form via an action sheet. That is, the workflow creation screen may be a newly added independent screen. The user may update this screen in subsequent operation procedures. In response to a trigger operation on a predetermined creation control in the workflow creation screen, the workflow creation screen is replaced with a workflow screen using the workflow screen. The predetermined creation control may be the above-mentioned first creation control or second creation control.
[0077] In an embodiment of the present application, the workflow screen may include a first area where a condition control is displayed and a second area where an operation control is displayed. At least one condition control corresponding to a predetermined trigger condition may be displayed in the first area, and at least one operation control corresponding to a predetermined trigger operation may be displayed in the second area.
[0078] Referring to FIG. 4B, FIG. 4B is a schematic diagram of a workflow screen in an embodiment of the present application. The workflow screen includes two areas on the left and right. In the first area on the left, four condition controls, namely "when record content is changed", "when a new form record is added", "when it is time in the record", and "timing trigger", are displayed, each corresponding to four predetermined trigger conditions, and the user can select the required trigger conditions. In the second area on the right, three operation controls, namely "message sending", "new record addition", and "record modification", are displayed, each corresponding to three predetermined trigger operations, and the user can select the required trigger operations. It will be understood that the types and numbers of the condition controls and operation controls in the workflow screen are not limited to these.
[0079] Step S320: In response to a trigger operation on the first target condition control among the condition controls, select a trigger condition that is triggered based on the time recorded in the form from the preset trigger conditions.
[0080] In an embodiment of the present application, the first target condition control is one condition control in the first region, and the corresponding trigger condition is triggered based on the time recorded in the online form. For example, in FIG. 4B, the condition control of "when it is the time in the record" is the first target condition control. After this condition control is triggered, a form selection screen may be displayed, and the user may further select a form on this form selection screen.
[0081] Step S330: In response to a form selection operation, select a target form from the online forms.
[0082] Step S340: In response to a time field selection operation, select a target time field from the target form.
[0083] The target form is a table in the online form, and this table includes the time field that the user wants to select. The setting of the trigger condition is completed by selecting the target form and the target time field.
[0084] Referring to FIG. 5, FIG. 5 is another schematic diagram of the workflow screen according to the embodiment of the present application. After the user selects "when it is the time in the record", a form selection button may be displayed. The user may continue to perform a form selection operation and select the target form, which is data table A. The user may further select a target time field with the corresponding time from the target form. The target time field shown in FIG. 5 is "due date".
[0085] Step S350: In response to a selection operation on the second target condition control among the condition controls, select a trigger condition that is triggered based on timing from the preset trigger conditions.
[0086] The user may further trigger the second target condition control and select a trigger condition that is triggered based on a predetermined time. For example, in FIG. 4B, the condition control "timing trigger" is the second target condition control. Thereafter, the user may further set a predetermined time.
[0087] Step S360: In response to a time setting operation, set a predetermined time.
[0088] In the embodiments of the present application, when the user sets a trigger condition, the condition control in the first region is in an active state, and at this time, the operation control in the second region may be in an inactive state. That is, the user may first set the trigger condition in order and then set the trigger operation. If the setting of the trigger condition is not completed, it may be impossible to set the trigger operation.
[0089] Step S370: In response to a trigger operation on the target operation control among the operation controls, select the trigger operation from the preset trigger operations.
[0090] After the trigger condition is determined, a trigger operation in the workflow of the embodiment of FIG. 2 may be further selected from the predetermined trigger operations. Similarly, the trigger operation may be one or more of a plurality of preset trigger operations. For example, the trigger operation may be record modification and message sending, that is, the record may be modified and the message may be sent at the same time.
[0091] It will be understood that while the user is operating the controls in the first area and the second area, the screens in the first area and the second area may also be updated synchronously. In response to a trigger operation on the condition control in the first control panel of the first area, replace the first control panel with the second control panel. For example, as shown in FIG. 5, the left side is the first area, and the gray area within the first area is the first control panel including four condition controls. After the user performs a trigger operation on any of the condition controls, the first control panel may be updated to the second control panel. Of course, when the user selects different condition controls, the corresponding second control panels will also be different.
[0092] In the embodiments of the present application, the user may set one predetermined trigger condition or may set a plurality of predetermined trigger conditions. When a plurality of preset trigger conditions are set, the trigger operation is executed when the plurality of preset trigger conditions are satisfied simultaneously. For example, the user may perform a trigger operation on a predetermined control to set a plurality of predetermined trigger conditions. In response to a trigger operation on a predetermined control other than the second control panel, a third control panel is generated in the first area.
[0093] For example, as shown in FIG. 5, the first area includes a "+" control, and this "+" control is a predetermined control. By the user triggering this control, a third control panel that is spatially associated with the second control panel in the first area may be generated in the first area. In this way, the user can select a predetermined trigger condition in each of the second control panel and the third control panel.
[0094] In response to a trigger operation on an operation control in the fourth control panel of the second region, the fourth control panel is replaced with a fifth control panel. In response to a trigger operation on a predetermined control other than the fifth control panel, a sixth control panel spatially associated with the fifth control panel in the second region is generated in the second region. Note that the update of the control panel in the second region is similar to the update of the control panel in the first region. For details, refer to the update of the control panel in the first region, and it will not be repeatedly described here.
[0095] When generating a workflow, this workflow may be enabled by default, or a "Enable" button may be provided to the user, and when the user clicks the "Enable" button, this workflow is enabled. After this workflow is enabled, a trigger operation may be automatically executed according to the trigger condition in this workflow.
[0096] Referring to FIG. 6, FIG. 6 is another flowchart of the form processing method according to the embodiment of the present application, and may include the following steps.
[0097] Step S610: In response to an operation on a target control in an online form, display a workflow screen.
[0098] Step S620: Receive a trigger condition and a trigger operation on the workflow screen. The trigger condition is associated with the data content or time of the online form, and the trigger operation is associated with the data content or target object of the online form.
[0099] Step S630: When the trigger condition is triggered based on a predetermined time, execute the trigger operation based on the predetermined time.
[0100] The above steps S610 to S630 are the same as steps S210 to S230 in the embodiment of FIG. 2. For details, refer to the description of the embodiment of FIG. 2 and will not be repeatedly described here.
[0101] Step S640: When the trigger condition is triggered based on the time recorded in the online form, execute a trigger operation based on the time recorded in the online form.
[0102] In the embodiment of the present application, the time recorded in the online form may be directly used as the trigger time, or the trigger time may be determined based on the time recorded in the online form and a target period preset in the trigger condition. When the trigger time arrives, execute a trigger operation. The target period can be set in units of minutes, hours, days, weeks, or months. For example, if the time recorded in the online form is 8:00 on October 12th and the target period is 5 minutes, the trigger operation may be executed at 7:55 on October 12th, or the trigger operation may be executed at 8:05 on October 12th. That is, according to the actual needs, the trigger operation may be executed earlier or the execution of the trigger operation may be delayed.
[0103] Referring to FIG. 7, FIG. 7 is another schematic diagram of the workflow screen according to the embodiment of the present application. The user may use the time corresponding to the target time field as the trigger time, or may select an earlier target period or a later target period. Note that if the time corresponding to the target time field is relatively accurate, for example, accurate to minutes or hours, etc., the set trigger time may be when the time recorded in the online form arrives, or may be when it becomes the time that can be advanced or delayed by only the target period. When the time corresponding to the target time field is not so accurate, a specified trigger time may be set, for example, the time of a certain hour and minute on the same day may be set, or it may be the time that can be advanced or delayed by only the target period, etc.
[0104] Step S650: When the trigger condition is triggered based on the update of the data content recorded in the online form, a trigger operation is executed when the data content recorded in the online form is updated.
[0105] The above step S630 and step S640 both belong to time-based trigger conditions, but the present application also provides data change-based trigger conditions. When establishing a workflow, the user may select a data change-based trigger condition. For example, in FIG. 4B, "when the record content is changed" or "when a new form record is added" may be selected. The update of the data content recorded in the online form may include, in addition to the change of the record content and the new addition of the form record, the deletion of the form record, etc.
[0106] When the trigger condition is triggered based on the update of the data recorded in the online form, the trigger operation may be "add new record" or "modify record", and the form corresponding to the trigger condition and the form corresponding to the trigger operation may be different forms. For example, when the data content in Form A is changed, it may trigger the modification of the data content in Form B, or it may trigger the addition of new data content in Form C.
[0107] In the embodiments of the present application, the trigger operation may include an operation of sending a message, and optionally, a predetermined message may be sent to the target in a pre-associated instant messaging application. The target includes target users and / or target groups. That is, the present application supports selecting users and / or groups as the recipients. If the recipient is a target group, the predetermined message will be sent to each user within the target group. When the number of users in the target group increases or decreases, when sending the predetermined message, there is no need for the user to manually adjust the recipient according to the latest member list in the target group at the time of triggering.
[0108] Referring to FIG. 8, FIG. 8 is another schematic diagram of the workflow screen according to the embodiments of the present application. If the trigger operation is an operation of sending a message, when establishing the workflow, after the user selects "message sending" from a plurality of predetermined trigger operations, the user may further set the recipient and the predetermined message to be sent. In response to the selection operation on the target in the instant messaging application executed by the user on the workflow screen, the target is selected, and in response to the message editing operation executed by the user on the workflow screen, a predetermined message is edited and generated.
[0109] When selecting a target, you may directly select the target from the instant messaging application, or select a member field from the form. The member name of the user corresponding to this member field may be the same as the member name of the user in the instant messaging application.
[0110] In the form processing method according to the embodiment of the present application, the trigger condition in the pre-established workflow may be triggered based on the time recorded in the online form, that is, a corresponding trigger operation may be executed based on the time recorded in the online form. For example, when the time recorded in the online form arrives, a corresponding trigger operation may be executed. Or, taking the time recorded in the online form as an intermediate time, a function of triggering earlier or delaying by a predetermined target period may be provided. As can be seen, the setting of the trigger time of the workflow becomes more flexible, and it can meet the needs in more business scenarios, such as order deadline reminders. When the trigger operation is an operation of sending a message, a predetermined message can be sent as the destination in group units, solving the problem that it is necessary to add one by one for each user when sending a notification message on a large scale. And when the members of the group change, there is no need to manually modify the destination, avoiding the problems of information synchronization delay and information leakage caused by the failure to change the destination in time.
[0111] Corresponding to the above method embodiment, the embodiment of the present application further provides a form processing device. Referring to FIG. 9, the form processing device 900 includes a workflow screen display module 910 for displaying a workflow screen in response to an operation on a target control in an online form; An acceptance module 920 for receiving trigger conditions associated with the data content or time of an online form and trigger operations associated with the data content or target of the online form on the workflow screen, A first trigger module 930 for executing a trigger operation based on a predetermined time when the trigger condition is triggered based on the predetermined time, A second trigger module 940 for executing a trigger operation based on the time recorded in the online form when the trigger condition is triggered based on the time recorded in the online form, and comprising:
[0112] Optionally, the form processing apparatus 900 When the trigger condition is triggered based on an update of the data content recorded in the online form, and when the data content recorded in the online form is updated, further comprising a third trigger module for executing a trigger operation.
[0113] Optionally, the trigger operation includes an operation of sending a message. The first trigger module 930, the second trigger module 940, and the third trigger module Execute the trigger operation by sending a predetermined message to a target in a pre-associated instant messaging application, and the target includes a target user and / or a target group.
[0114] Optionally, the second trigger module 940 is specifically used for determining a trigger time based on the time recorded in the online form and a target period preset in the trigger condition when the trigger condition is triggered based on the time recorded in the online form, and executing the trigger operation when the trigger time arrives. Optionally, the workflow screen includes a first area where condition controls are displayed and a second area where operation controls are displayed.
[0115] Optionally, at least one condition control corresponding to a predetermined trigger condition is displayed in the first area, The reception module 920 specifically, In response to a trigger operation on the first target condition control among the condition controls, select a trigger condition that is triggered based on the time recorded in the form from a predetermined trigger condition, In response to a form selection operation, select a target form from the online form, In response to a time field selection operation, select a target time field from the target form, and is used to realize receiving a trigger condition in the workflow interface, Or, In response to a selection operation on the second target condition control among the condition controls, select a trigger condition that is triggered based on timing from a predetermined trigger condition, In response to a time setting operation, set a predetermined time, and is used to realize receiving a trigger condition in the workflow interface.
[0116] Optionally, at least one operation control corresponding to a predetermined trigger operation is displayed in the second area, The reception module 920 specifically, In response to a trigger operation on the target operation control among the operation controls, select a trigger operation from a predetermined trigger operation, and is used to realize receiving a trigger operation in the workflow interface.
[0117] Optionally, the above form processing device 900, In response to a trigger operation on a conditional control in the first control panel of the first region, a first control panel replacement module for replacing the first control panel with a second control panel, and a first control panel generation module for generating, in the first region, a second control panel and a third control panel spatially associated with the first region in response to a trigger operation on a predetermined control other than the second control panel.
[0118] Optionally, the form processing device 900 includes a second control panel replacement module for replacing the fourth control panel with a fifth control panel in response to a trigger operation on an operation control in the fourth control panel of the second region, and a second control panel generation module for generating, in the second region, a fifth control panel and a sixth control panel spatially associated with the second region in response to a trigger operation on a predetermined control other than the fifth control panel.
[0119] Optionally, the conditional control in the first region is in an active state, and the operation control in the second region is in an inactive state.
[0120] Optionally, the form processing device 900 further includes a control activation module for activating the operation control in the second region in response to the conditional control in the first region being triggered.
[0121] Optionally, the workflow screen display module 910 is specifically used to display a workflow creation screen in response to a trigger operation on a target control in an online form, and to display a workflow screen in response to a trigger operation on a first creation control for creating a customized workflow or a second creation control for creating a predetermined template workflow on the workflow creation screen.
[0122] Optionally, the workflow screen display module 910 is specifically used to display a workflow creation screen located above the screen of the online form via an action sheet in response to a trigger operation on a target control in the online form, and to replace the workflow creation screen with the workflow screen in response to a trigger operation on a predetermined creation control on the workflow creation screen.
[0123] Optionally, the online form is a database table including one or more data tables including one or more form views.
[0124] Details of each module or unit in the above device have been described in detail in the corresponding method, so they will not be repeated here.
[0125] In the above detailed description, some modules or units of the device for executing operations have been mentioned. It should be noted that such a division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or two or more units described above may be embodied in one module or one unit. Conversely, the features and functions of one module or one unit described above may be further divided to be embodied by a plurality of modules or a plurality of units.
[0126] In an exemplary embodiment of the present application, an electronic device is further provided. The electronic device includes a processor and a memory for storing instructions executable by the processor. The processor is configured to execute the form processing method in this exemplary embodiment.
[0127] FIG. 10 is a schematic diagram of the configuration of an electronic device according to an embodiment of the present application. Note that the electronic device 1000 shown in FIG. 10 is only an example and does not limit the functions and usage scope of the embodiments of the present application.
[0128] As shown in FIG. 10, the electronic device 1000 includes a central processing unit (CPU) 1001 that can execute various appropriate operations and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage unit 1008 into a random access memory (RAM) 1003. Various programs and data necessary for system operations are also stored in the RAM 1003. The central processing unit 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.
[0129] An input unit 1006 including a keyboard, a mouse, etc., an output unit 1007 including, for example, a cathode ray tube (CRT), a liquid crystal display (LCD), a speaker, etc., a storage unit 1008 including, for example, a hard disk, etc., and a communication unit 1009 including a network interface card such as a local area network (LAN) card or a modem are connected to the I / O interface 1005. The communication unit 1009 executes communication processing via a network such as the Internet. A driver 1010 is also connected to the I / O interface 1005 as needed. A removable medium 1011 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is attached to the driver 1010 as needed, and thus the computer program read therefrom is installed in the storage unit 1008 as needed.
[0130] In particular, according to the embodiments of the present application, the process described with reference to the above flowchart can be implemented as a computer software program. For example, the embodiments of the present application include a computer program product. The computer program product includes a computer program carried on a non-transitory computer-readable storage medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication unit 1009 and / or installed from the removable media 1011. When the computer program is executed by the central processing unit 1001, various functions limited to the device of the present application are executed.
[0131] In the embodiments of the present application, a computer-readable storage medium storing a computer program is further provided. When the computer program is executed by a processor, the above form processing method is realized.
[0132] Note that the computer-readable storage medium shown in this application may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof, but is not limited thereto. More specific examples of computer-readable storage media may include electrical connections having one or more wires, portable computer disks, hard disks, random access memories, read-only memories, erasable programmable read-only memories (EPROMs or flash memories), optical fibers, portable compact disk read-only memories (CD-ROMs), optical memory devices, magnetic memory devices, or any suitable combination of the above, but are not limited thereto. In this application, a computer-readable storage medium may be any tangible medium that includes or stores a program that can be used by or in combination with an instruction execution system, apparatus, or device. The program code included in the computer-readable medium may be transmitted over any suitable medium, including wireless, wire, optical cable, RF, etc., or any suitable combination of the above, but is not limited thereto.
[0133] In an embodiment of this application, when operating on a computer, a computer program product for causing the computer to execute the above form processing method is further provided.
[0134] In the present text, relative terms such as "first" and "second" are used only for the purpose of distinguishing one entity or operation from another entity or operation, and do not necessarily require or imply the existence of such an actual relationship or order between these entities or operations. And terms such as "include", "including" or any other variations mean non-exclusive inclusion, so that a process, method, article or device of a series of elements includes not only those elements but also other elements not expressly listed, or includes elements inherent in this kind of process, method, article or device. In a situation without further limitations, elements defined by the phrase "comprising one..." do not exclude the further existence of other identical elements in the process, method, article or device comprising the said elements.
[0135] What has been described above are only specific embodiments of the present application that those skilled in the art can understand or implement. Various changes to these examples will be apparent to those skilled in the art. Therefore, the present application is not limited to these examples described in the text, but conforms to the broadest scope consistent with the principles and novel features disclosed in the text.
Claims
1. A method for form processing executed by a terminal device, comprising: displaying a workflow screen in response to an operation on a target control in an online form; receiving, on the workflow screen, a trigger condition associated with the data content or time of the online form, and a trigger operation associated with the data content or target of the online form; when the trigger condition is triggered based on the time recorded in the online form, executing the trigger operation based on the time recorded in the online form. A method.
2. After receiving the trigger condition and the trigger operation on the workflow screen, when the trigger condition is triggered based on an update of the data content recorded in the online form, and when the data content recorded in the online form is updated, further comprising executing the trigger operation. The method according to claim 1.
3. The trigger operation includes an operation of sending a message. Executing the trigger operation includes sending a predetermined message to the target in a pre-associated instant messaging application. The target includes a target user and / or a target group. The method according to claim 1 or 2.
4. Executing the trigger operation based on the time recorded in the online form includes determining a trigger time based on the time recorded in the online form and a target period preset for the trigger condition; and executing the trigger operation when the trigger time arrives. The method according to claim 1.
5. The workflow screen includes a first area for displaying condition controls and a second area for displaying operation controls. The method according to claim 1.
6. At least one condition control corresponding to a predetermined trigger condition is displayed in the first area. Receiving a trigger condition on the workflow screen In response to a trigger operation for a first target condition control among the condition controls, selecting a trigger condition triggered based on the time recorded in the online form from the predetermined trigger conditions; In response to a form selection operation, selecting a target form from the online form; In response to a time field selection operation, selecting a target time field from the target form, including: The method according to claim 5.
7. In the second region, at least one operation control corresponding to a predetermined trigger operation is displayed; Receiving a trigger operation on the workflow screen; In response to a trigger operation for a target operation control among the operation controls, selecting the trigger operation from the predetermined trigger operations, including: The method according to claim 5.
8. After displaying the workflow screen; In response to a trigger operation for the condition control in the first control panel of the first region, replacing the first control panel with a second control panel; In response to a trigger operation for a predetermined control other than the second control panel, further including generating a third control panel spatially associated with the second control panel in the first region in the first region; The method according to claim 5.
9. After displaying the workflow screen; In response to a trigger operation for the operation control in the fourth control panel of the second region, replacing the fourth control panel with a fifth control panel; In response to a trigger operation for a predetermined control other than the fifth control panel, further including generating a sixth control panel spatially associated with the fifth control panel in the second region in the second region; The method according to claim 5.
10. The condition control in the first region is in an active state, and the operation control in the second region is in an inactive state; The method according to claim 5.
11. Further comprising activating an operation control of the second region in response to the condition control of the first region being triggered. The method according to claim 10. **Claim 12** Displaying a workflow screen in response to an operation on a target control in an online form comprises: Displaying a workflow creation screen in response to a trigger operation on the target control in the online form; and Displaying the workflow screen in response to a trigger operation on a first creation control for creating a customized workflow or a second creation control for creating a predetermined template workflow on the workflow creation screen. The method according to claim 1. **Claim 13** Displaying a workflow screen in response to an operation on a target control in an online form comprises: Displaying a workflow creation screen located on top of the screen of the online form via an action sheet in response to a trigger operation on the target control in the online form; and Replacing the workflow creation screen with the workflow screen in response to a trigger operation on a predetermined creation control on the workflow creation screen. The method according to claim 1. **Claim 14** The online form is a database table including one or more data tables, and the data table includes one or more form views. The method according to claim 1. **Claim 15** An apparatus for form processing, comprising: A workflow screen display module for displaying a workflow screen in response to an operation on a target control in an online form; A reception module on the workflow screen for receiving a trigger condition associated with the data content or time of the online form, and a trigger operation associated with the data content or target of the online form; A first trigger module for executing the trigger operation based on the predetermined time when the trigger condition is triggered based on the predetermined time. A second trigger module for executing the trigger operation based on the time recorded in the online form when the trigger condition is triggered based on the time recorded in the online form, Device. **Claim 16** Including a processor for executing a computer program stored in a memory, When the computer program is executed by the processor, the steps of the method according to any one of Claims 1 to 2 and 4 to 14 are realized. Electronic device. **Claim 17** A computer-readable storage medium storing a computer program, When the computer program is executed by the processor, the steps of the method according to any one of Claims 1 to 2 and 4 to 14 are realized. Computer-readable storage medium. **Claim 18** When executed by a computer, causing the computer to execute the steps of the method according to any one of Claims 1 to 2 and 4 to 14. A computer program characterized by this.
Citation Information
Patent Citations
Job execution supporting system
JP1998143574A
Automated electronic document workflows
US20200151630A1