Workflow creating method and apparatus, adn device and storage medium
By adding text processing nodes to the node connection graph and obtaining configuration information, the problem of needing to edit code in existing technologies is solved, thereby improving the efficiency of workflow development.
Patent Information
- Application Number
- PCT/CN2025/085162
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-06-07
- Filing Date
- 2025-03-26
- Publication Date
- 2025-12-11
AI Technical Summary
In the workflow development process, existing technologies require editing code to implement text processing, which affects the efficiency of workflow development.
By responding to editing operations, a first node for text processing is added to the node connection graph, and the configuration information of the node is obtained through a set of input controls. The target workflow is then created based on the node connection graph.
It improves the efficiency of workflow development, supports configuring text processing through a graphical interface, and enhances the speed and efficiency of workflow creation.
Smart Images

Figure CN2025085162_11122025_PF_FP_ABST
Abstract
Description
Method, device, equipment and storage medium for creating workflow
[0001] The present application claims priority to the Chinese patent application No. 202410741568.2, filed on June 7, 2024, entitled “Method, device, equipment and storage medium for creating workflow”, the whole content of which is incorporated herein by reference. TECHNICAL FIELD
[0002] Example embodiments of the present disclosure generally relate to the field of computer, and in particular, to a method, device, equipment and computer readable storage medium for creating workflow. BACKGROUND
[0003] With the development of computer technology, people can create and publish various types of applications through some platforms. In the development process of the application, the creation and management of the workflow is an important task. For example, a user can indicate the processing flow of a request by editing nodes in a workflow. SUMMARY
[0004] In a first aspect of the present disclosure, a method for creating a workflow is provided. The method comprises: in response to a received editing operation, adding a first node for text processing to a node connection graph; acquiring configuration information of the first node via a set of input controls associated with the first node, the configuration information being used to indicate a text processing process corresponding to the first node; and creating a target workflow based on the node connection graph.
[0005] In a second aspect of the present disclosure, a device for creating a workflow is provided. The device comprises: an adding module configured to, in response to a received editing operation, add a first node for text processing to a node connection graph; an acquiring module configured to acquire configuration information of the first node via a set of input controls associated with the first node, the configuration information being used to indicate a text processing process corresponding to the first node; and a creating module configured to create a target workflow based on the node connection graph.
[0006] In a third aspect of the present disclosure, an electronic device is provided. The device comprises at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. The instructions, when executed by the at least one processing unit, cause the device to perform the method of the first aspect.
[0007] In a fourth aspect of the present disclosure, a computer readable storage medium is provided. The computer readable storage medium has stored thereon a computer program, the computer program being executable by a processor to implement the method of the first aspect.
[0008] It is to be understood that the particulars shown herein are by way of example and for purposes of illustrative discussion of the embodiments of the present disclosure only and are not intended to limit the scope of the present disclosure to the particular embodiments illustrated. Other BRIEF DESCRIPTION OF DRAWINGS
[0009] The above-mentioned and other features and advantages of various embodiments of the present disclosure will become more apparent by reference to the following description taken in conjunction with the accompanying drawings. In the drawings, like reference numerals denote like elements, wherein:
[0010] FIG. 1 illustrates a schematic diagram of an example environment in which embodiments according to the present disclosure can be implemented;
[0011] FIG. 2 illustrates a flow diagram of an example process of creating a workflow, according to some embodiments of the present disclosure;
[0012] FIG. 3 illustrates an example editing interface, according to some embodiments of the present disclosure;
[0013] FIG. 4 illustrates a schematic block diagram of an example apparatus for creating a workflow, according to some embodiments of the present disclosure; and
[0014] FIG. 5 illustrates a block diagram of an electronic device capable of implementing various embodiments of the present disclosure. DETAILED DESCRIPTION
[0015] Embodiments of the present disclosure will be described in more detail by referring to the drawings. Although certain embodiments of the present disclosure are illustrated in the drawings, it is to be understood that the present disclosure can be embodied in various forms and should not be construed as being limited to the embodiments set forth herein, but rather should be construed to encompass all alternatives and modifications falling within the scope of the present disclosure. It is to be understood that the drawings and embodiments of the present disclosure are only for illustrative purposes and should not be construed as limiting the scope of protection of the present disclosure.
[0016] It is noted that the headings provided herein are not limitations of the embodiments of the present disclosure. Various embodiments are described throughout this document and can be included under any heading. Moreover, embodiments described in any heading can be combined with any other embodiment described in the same heading and / or a different heading in any manner.
[0017] In the description of the embodiments of the present disclosure, the term "comprising" and its similar terms shall be understood to be open-ended, i.e., "including but not limited to". The term "based on" shall be understood as "based at least in part on". The term "one embodiment" or "the embodiment" shall be understood as "at least one embodiment". The term "some embodiments" shall be understood as "at least some embodiments". Other explicit or implicit definitions can also be included below. The terms "first", "second", etc. can refer to different or same objects. Other explicit or implicit definitions can also be included below.
[0018] The embodiments of the present disclosure can involve data of users, acquisition and / or use of data, etc. These aspects all comply with the corresponding laws and regulations and relevant provisions. In the embodiments of the present disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user is aware of and confirms. Accordingly, when implementing the embodiments of the present disclosure, the type of data or information that can be involved, the use range, the use scenario, etc. should be notified to the user and the authorization of the user should be obtained through appropriate means according to the relevant laws and regulations. The specific notification and / or authorization manner can vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this aspect.
[0019] In the present specification and embodiments, if the scheme involves processing of personal information, it will be processed on the premise of having a legal basis (for example, obtaining the consent of the subject of personal information, or being necessary for the performance of a contract, etc.), and will only be processed within the prescribed or agreed range. The user refuses to process personal information other than the necessary information required for the basic function, which does not affect the user's use of the basic function.
[0020] Traditionally, a user can quickly create a workflow by configuring different processing nodes in the workflow. However, in such a workflow creation process, one needs to implement a text processing process by editing code, which affects the efficiency of workflow development.
[0021] Embodiments of the present disclosure propose a scheme for creating a workflow. According to the scheme, in response to a received editing operation, a first node for text processing can be added to a node connection graph. Further, configuration information of the first node can be acquired via a set of input controls associated with the first node, the configuration information being used to indicate a text processing process corresponding to the first node. Accordingly, a target workflow can be created based on the node connection graph.
[0022] In this way, embodiments of the present disclosure can support configuring a text processing process of a workflow when processing a request by adding a text processing node, thereby improving the efficiency of workflow development.
[0023] Various example implementations of the scheme are described in further detail below in conjunction with the accompanying drawings.
[0024] Example Environment
[0025] FIG. 1 illustrates a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. As shown in FIG. 1, the example environment 100 can include an electronic device 110.
[0026] In this example environment 100, the electronic device 110 can run an application 120 that supports interface interaction. The application 120 can be any suitable type of application for interface interaction, examples of which can include, but are not limited to, a development application or other suitable application that supports workflow creation. A user 140 can interact with the application 120 via the electronic device 110 and / or its attached devices.
[0027] In the environment 100 of FIG. 1, the electronic device 110 can present an interface 150 for supporting creation of a workflow through the application 120 if the application 120 is in an active state.
[0028] In some embodiments, the electronic device 110 communicates with a server 130 to implement provisioning of services to the application 120. The electronic device 110 can be any type of mobile terminal, fixed terminal, or portable terminal including a mobile handset, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a palmtop computer, a portable gaming terminal, a VR / AR device, a Personal Communication System (PCS) device, a personal navigation device, a Personal Digital Assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an electronic book device, a game device, or any combination thereof, including an apparatus and peripherals or peripherals thereof, or any combination thereof. In some embodiments, the electronic device 110 can also support any type of interface to the user (such as “wearable” circuitry, etc.).
[0029] The server 130 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and basic cloud computing services such as big data and artificial intelligence platforms. The server 130 may, for example, include a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like. The server 130 can provide background services for the application 120 in the electronic device 110 that supports virtual scenarios.
[0030] A communication connection can be established between the server 130 and the electronic device 110. The communication connection can be established through a wired manner or a wireless manner. The communication connection can include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, and the like, and embodiments of the present disclosure are not limited in this regard. In embodiments of the present disclosure, the server 130 and the electronic device 110 can implement signaling interaction through the communication connection therebetween.
[0031] It should be understood that the structure and function of the various elements in the environment 100 are described for illustrative purposes only, without implying any limitation on the scope of the present disclosure.
[0032] Some example embodiments of the present disclosure will be described below with continued reference to the drawings.
[0033] Example process
[0034] FIG. 2 illustrates a flowchart of a process 200 of creating a workflow, according to some embodiments of the present disclosure. In the context of the present disclosure, “creating a workflow” can include various forms, for example, a new workflow can be created using the example process 200, or an existing workflow can be opened and edited using an editing interface as introduced below. The process 200 can be implemented at the electronic device 110. The process 200 will be described below with reference to FIG. 1.
[0035] As shown in FIG. 2, in response to the received editing operation, the electronic device 110 adds a first node for text processing to the node connection graph, at block 210.
[0036] The process 200 will be described below with reference to FIG. 3. FIG. 3 illustrates an example editing interface 300, according to some embodiments of the present disclosure.
[0037] As shown in FIG. 3, the interface 300 can be a node editing interface for creating a workflow. As shown, the electronic device 110 can present a plurality of interface elements corresponding to a plurality of node types in the interface 300, for example, interface element 305-1 to interface element 305-6. As an example, the interface element 305-1 can be used to add a knowledge base node, the interface element 305-2 can be used to add a code node, the interface element 305-3 can be used to add a message node, the interface element 305-4 can be used to add a text processing node, the interface element 305-5 can be used to add an image flow node, and the interface element 305-6 can be used to add a database node.
[0038] In some embodiments, in addition to the above specific nodes, embodiments of the present disclosure can also support the addition of other appropriate types of nodes. For example, the electronic device 110 can support a user to add an already created other workflow as a single processing node to the node connection graph.
[0039] As an example, the electronic device 110 can receive a user selection of the interface element 305-4 to add a first node 315 to the node connection graph. The first node 315 is also referred to as a text processing node.
[0040] At block 220, the electronic device 110 obtains configuration information of the first node via a set of input controls associated with the first node, the configuration information being used to indicate a text processing process corresponding to the first node.
[0041] In some embodiments, the configuration information of the first node 315 can indicate a processing type of the text processing process corresponding to the first node 315. As shown in FIG. 3, the electronic device 110 can provide a first input control 325 for configuring the processing type.
[0042] As an example, the electronic device 110 can present a set of candidate types supported based on a trigger of the input control 325. Such a set of candidate types can correspond to different text processing processes, examples of which can include but are not limited to: string concatenation, string split, text replacement, string word count, text format conversion, text verification, and the like.
[0043] As shown in FIG. 3, the electronic device 110 may, for example, receive a user selection of the type “string concatenation” via the input control 325, and determine that the first node 315 corresponds to a string concatenation process.
[0044] In some embodiments, the configuration information of the first node 315 can also indicate an input parameter of the text processing process. As shown in FIG. 3, the electronic device 110 can provide a second input control 330 for configuring the input parameter.
[0045] In some embodiments, the second input control 330 can support a user to configure the input parameter by referencing a target data object of a second node associated with the first node 315.
[0046] Taking FIG. 3 as an example, in a case where the user selects the data source as “reference”, the electronic device 110 can present at least one node associated with the first node 315 in the second input control 330. Such at least one node may, for example, include one or more upstream nodes of the first node 315, e.g., the second node 310.
[0047] Further, the electronic device 110, for example, can receive a user selection of the second node 310 and can present one or more data objects associated with the second node 310 accordingly. In some embodiments, such one or more data objects can include data objects defined in the second node 310 processing process, or output data objects.
[0048] In some embodiments, the electronic device 110, for example, can also filter or screen specific data objects based on the type of the text processing process. For example, when the text processing process involves processing of a string, the electronic device 110, for example, can display only data objects containing the string.
[0049] Further, the electronic device 110 can receive a user selection of a target data object in the set of data objects and can configure the input parameter accordingly. Taking FIG. 3 as an example, the electronic device 110, for example, can complete the configuration of the input parameter "Stringl" based on the user selection of the target data object "key0". In this way, the value of the input parameter "Stringl" will be determined based on the target data object "key0".
[0050] In some embodiments, the second input control 330 can also support defining a new input parameter. For example, when the user selects the data source as "input", the user can configure the value of the input parameter "String2" via the second input control 330.
[0051] In some embodiments, the configuration information of the first node 315 can also indicate at least one operator of the text processing process. As shown in FIG. 3, the electronic device 110, for example, can receive a user selection of the set button in the fourth input control 335 and can display a third input control 340 for configuring the at least one operator accordingly.
[0052] In some embodiments, the third input control 340 can correspond to the text processing type of the first node 315. For example, when the first node 315 corresponds to "string concatenation", the third input control 340 can be used to configure a "concatenation symbol" for "string concatenation". As another example, when the first node 315 corresponds to "string split", the third input control 340 can be used to configure one or more "split symbols" for "string split".
[0053] As an example, the third input control 340, for example, can indicate that the user selects one or more operators from a set of pre-set operators. Alternatively, the third input control 340, for example, can also support user free input of a specific operator.
[0054] In some embodiments, the configuration information of the first node 315 can further indicate an expression corresponding to the text processing process. As shown in FIG. 3, the electronic device 110 can provide a fourth input control 335 for inputting the expression. In some embodiments, such an expression can indicate a specific operation process of the text processing, which can be expressed by means of appropriate non-programming code, for example.
[0055] Taking "string concatenation" as an example, the fourth input control 335 obtains the expression input by the user, for example, to define the specific concatenation order of "string concatenation". Taking FIG. 3 as an example, the user can input the expression through the fourth input control 335 to specify the processing process of "string concatenation" as connecting the input parameters "String1" and "String2" by using the specified concatenation symbol (for example, comma). In some embodiments, the fourth input control 335 can also support the user to freely input other character content to be concatenated, and the like.
[0056] Based on the above configuration process, the embodiments of the present disclosure can support the user to conveniently configure the text processing process of the to-be-worked workflow in a graphical manner, thereby improving the efficiency of workflow development.
[0057] In some embodiments, the electronic device 110 can also connect the output of the first node 315 to the input of one or more third nodes 320 based on the received connection operation in the node connection graph. Accordingly, in the processing process of the target workflow, the output result of the text processing process of the first node 315 will be provided as the input of the third node 320.
[0058] In block 230, the electronic device 110 creates a target workflow based on the node connection graph.
[0059] In some embodiments, after completing the editing of the node connection graph, the electronic device 110 can trigger the corresponding debugging process based on the control 345, for example. Additionally, the electronic device 110 can also create and publish the corresponding target workflow based on the triggering of the control 350.
[0060] As an example, the electronic device 110 can create a corresponding target workflow based on the configuration information of each node in the node connection graph and the connection between the nodes, and the like. Such a target workflow can be published or shared to other users, for example.
[0061] In some embodiments, such a target workflow can be independently published, or can trigger the creation and / or publication of an application based on the target workflow, for example, a bot or an agent.
[0062] Based on the process described above, embodiments of the present disclosure can support configuring a text processing process of a workflow when processing a request by adding a text processing node, thereby improving the efficiency of workflow development.
[0063] Example apparatus and device
[0064] Embodiments of the present disclosure also provide a corresponding apparatus for implementing the above method or process. FIG. 4 shows a schematic structural block diagram of an example apparatus 400 for creating a workflow, according to certain embodiments of the present disclosure. The apparatus 400 can be implemented as or included in the electronic device 110. Various modules / components in the apparatus 400 can be implemented by hardware, software, firmware, or any combination thereof.
[0065] As shown in FIG. 4, the apparatus 400 includes an adding module 410 configured to add, in response to a received editing operation, a first node for text processing to a node connection graph; an obtaining module 420 configured to obtain configuration information of the first node via a set of input controls associated with the first node, the configuration information being used to indicate a text processing process corresponding to the first node; and a creating module 430 configured to create a target workflow based on the node connection graph.
[0066] In some embodiments, the adding module 410 is further configured to: present a plurality of interface elements corresponding to a plurality of node types; and add the first node to the node connection graph in response to selection of a target interface element in the plurality of interface elements, the target interface element corresponding to the text processing node.
[0067] In some embodiments, the obtaining module 420 is further configured to: present a set of candidate types in a first input control of the set of input controls; and determine a processing type of the text processing process corresponding to the first node based on selection of a target type in the set of candidate types.
[0068] In some embodiments, the obtaining module 420 is further configured to: obtain an input parameter of the text processing process via a second input control of the set of input controls.
[0069] In some embodiments, the input parameter includes: a first input parameter configured by referencing a target data object in a second node associated with the first node, and / or a second input parameter defined via the second input control.
[0070] In some embodiments, the obtaining module 420 is further configured to: present at least one node associated with the first node in the second input control; present a set of data objects associated with a second node in the at least one node in response to selection of the second node; and configure the first input parameter based on selection of a target data object in the set of data objects.
[0071] In some embodiments, the obtaining module 420 is further configured to obtain, via a third input control of the set of input controls, at least one operator associated with the text processing process, where the third input control corresponds to a processing type of the text processing process.
[0072] In some embodiments, the obtaining module 420 is further configured to obtain, via a fourth input control of the set of input controls, an expression corresponding to the text processing process.
[0073] In some embodiments, the apparatus 400 further includes a connecting module configured to connect, in the node connection graph, an output of the first node to an input of the third node to indicate that an output result of the text processing process of the first node is provided as an input of the third node.
[0074] FIG. 5 illustrates a block diagram of an electronic device 500 in which one or more embodiments of the disclosure can be implemented. It should be understood that the electronic device 500 illustrated in FIG. 5 is merely an example and should not be construed as limiting on the functionality and scope of the embodiments described herein. The electronic device 500 illustrated in FIG. 5 can be used to implement the electronic device 110 of FIG. 1.
[0075] As shown in FIG. 5, the electronic device 500 is in the form of a general electronic device. The components of the electronic device 500 can include, but are not limited to, one or more processors or processing units 510, a memory 520, a storage device 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. The processing unit 510 can be a real or virtual processor and is capable of executing various processing according to programs stored in the memory 520. In a multi-processor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of the electronic device 500.
[0076] The electronic device 500 typically includes a number of computer storage media. Such media can be any available media that is accessible by the electronic device 500 and includes both volatile and non-volatile media, removable and non-removable media. The memory 520 can be a volatile memory (e.g., registers, cache, random access memory (RAM)), a non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 530 can be a removable or non-removable media and can include machine-readable media, such as a flash drive, a magnetic disk, or any other medium that can be used to store information and / or data and that can be accessed by the electronic device 500.
[0077] The electronic device 500 can further include additional detachable / non-detachable, volatile / non-volatile storage media. Although not shown in FIG. 5, a disk drive for reading from or writing to a detachable, non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a detachable, non-volatile optical disk (e.g., a CD-ROM) can be provided. In these cases, each drive can be connected to the bus (not shown) by one or more data media interfaces. The memory 520 can include a computer program product 525 having one or more program modules configured to carry out the various methods or acts of the various embodiments of the present disclosure.
[0078] The communication unit 540 enables communication with other electronic devices through communication media. Additionally, the functionality of the components of the electronic device 500 can be implemented in a single computing cluster or a plurality of computer machines capable of communicating with one another through a communication connection. As such, the electronic device 500 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network nodes in the networking environment.
[0079] The input device 550 can be one or more input devices, such as a mouse, a keyboard, a trackball, etc. The output device 560 can be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 500 can also communicate with one or more external devices (not shown) such as a storage device, a display device, etc., one or more devices that enable a user to interact with the electronic device 500, or any devices (e.g., a network card, a modem, etc.) that enable the electronic device 500 to communicate with one or more other electronic devices, through the communication unit 540, as needed. Such communication can be carried out via an input / output (I / O) interface (not shown).
[0080] According to an example implementation of the present disclosure, there is provided a computer-readable storage medium having computer-executable instructions stored thereon, where the computer-executable instructions are executed by a processor to implement the method described above. According to an example implementation of the present disclosure, there is also provided a computer program product tangibly stored on a non-transitory computer-readable medium and comprising computer-executable instructions, where the computer-executable instructions are executed by a processor to implement the method described above.
[0081] Various aspects of the disclosure are now described with reference to the drawings. In general, the drawings described below are diagrammatic and schematic representations of actual or conceptual structures and processes, and are not limiting of the scope of the present disclosure. In the drawings, the size and relative positioning of components can be exaggerated for clarity and / or descriptive purposes. Also, the drawings represent examples of the various aspects of the disclosure and, as such, the drawings should not be interpreted to limit the scope of the claims. The both can be implemented by computer readable program instructions.
[0082] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0083] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0084] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0085] Various implementations of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.
Claims
1. A method for creating a workflow, comprising: adding, in response to a received edit operation, a first node for text processing to a node connection graph; acquiring, via a set of input controls associated with the first node, configuration information of the first node, the configuration information being used to indicate a text processing process corresponding to the first node; and creating, based on the node connection graph, a target workflow.
2. The method of claim 1, wherein adding, in response to a received edit operation, a first node for text processing to a node connection graph comprises: presenting a plurality of interface elements corresponding to a plurality of node types; and adding, in response to a selection of a target interface element of the plurality of interface elements, the first node to the node connection graph, the target interface element corresponding to a text processing node.
3. The method of claim 1, wherein acquiring, via a set of input controls associated with the first node, configuration information of the first node comprises: presenting, in a first input control of the set of input controls, a set of candidate types; and determining, based on a selection of a target type of the set of candidate types, a processing type of the text processing process corresponding to the first node.
4. The method of claim 1, wherein acquiring, via a set of input controls associated with the first node, configuration information of the first node comprises: acquiring, via a second input control of the set of input controls, an input parameter of the text processing process.
5. The method of claim 4, wherein the input parameter comprises: a first input parameter configured by referencing a target data object in a second node associated with the first node, and / or a second input parameter defined via the second input control.
6. The method of claim 5, wherein acquiring, via a second input control of the set of input controls, an input parameter of the text processing process comprises: presenting, in the second input control, at least one node associated with the first node; presenting, in response to a selection of the second node of the at least one node, a set of data objects associated with the second node; and configuring, based on a selection of the target data object of the set of data objects, the first input parameter.
7. The method of claim 1, wherein acquiring, via a set of input controls associated with the first node, configuration information of the first node comprises: acquiring, via a third input control of the set of input controls, at least one operator associated with the text processing process, wherein the third input control corresponds to a processing type of the text processing process.
8. The method of claim 1, wherein acquiring, via a set of input controls associated with the first node, configuration information of the first node comprises: acquiring, via a fourth input control of the set of input controls, an expression corresponding to the text processing process.
9. The method of claim 1, further comprising: connecting, in the node connection graph, an output of the first node to an input of a third node to indicate that an output result of the text processing process of the first node is provided as an input of the third node.
10. An apparatus for creating a workflow, comprising: an adding module configured to add, in response to a received edit operation, a first node for text processing to a node connection graph; an obtaining module configured to obtain configuration information of the first node via a set of input controls associated with the first node, the configuration information being used to indicate a text processing process corresponding to the first node; and a creating module configured to create a target workflow based on the node connection graph.
11. An electronic device, comprising: at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions, when executed by the at least one processing unit, cause the electronic device to perform the method according to any one of claims 1 to 9.
12. A computer-readable storage medium having stored thereon a computer program, the computer program being executable by a processor to implement the method according to any one of claims 1 to 9.
13. A computer program product tangibly stored in a computer storage medium and comprising computer-executable instructions that, when executed by a device, cause the device to perform the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Page workflow construction method and device based on text processing
CN110188335A
Workflow generation method and device, computer equipment and storage medium
CN111813391A
Data processing method, computing device and storage medium
CN117075877A
Workflow creation method and device, electronic equipment and computer readable storage medium
CN117724714A
Visual Creation Of Computer-Based Workflows
US20100185973A1