Service realizing method and apparatus
An implementation method and business technology, applied in the workflow field, can solve the problems of determining the number, name and execution mode of sub-processes of business instances, and the inflexibility of business implementation methods, so as to achieve the effect of flexible and convenient business implementation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] Referring to Fig. 2, a method for implementing a service of the present invention includes:
[0042] S201. Set a dynamic sub-process node in the parent process, and set an object variable for the dynamic sub-process node;
[0043]The object variable is used to receive dynamic sub-process information, and the dynamic sub-process information includes the identification and execution mode of the sub-process, that is to say, in the process of creating the parent process, a containing object is set for the parent process Variable dynamic sub-process nodes, when running the parent process, assign values to the object variables according to actual needs, for example, in this dynamic sub-process node actually needs three sub-processes to complete the business, then the object variables include Three sets of dynamic sub-process information, each set of dynamic sub-process information includes the name and execution mode of the sub-process, then when the parent process executes...
Embodiment 2
[0055] Referring to Figure 3, when two sub-processes of different templates need to be executed in a parent process, one of the sub-processes is executed in a synchronous execution mode, and the other sub-process is executed in an asynchronous execution mode, then a business implementation of the present invention The methods specifically include:
[0056] S301. Set sub-process templates, and respectively complete the modeling of each sub-process template according to the actual business process;
[0057] Wherein, the names of the subflow templates are respectively subflow1 and subflow2; the execution mode corresponding to the subflow1 subflow is a synchronous execution mode; the execution mode corresponding to the subflow2 subflow is an asynchronous execution mode;
[0058] The process template is an abstract definition of the actual business process, which is a definition of the process and is static;
[0059] S302. Set the parent process template, and define object variabl...
Embodiment 3
[0088] Referring to FIG. 4 , a device for implementing a service in the present invention specifically includes: a parent process unit 401 and a sub-process unit 402;
[0089] The parent process unit 401 runs the parent process, and when running to a dynamic sub-process node in the parent process, sends a trigger signal to the sub-process unit 402, and the sub-process unit 402, after receiving the trigger signal, Create and run a sub-process according to the sub-process identification in the configured dynamic sub-process information and the sub-process execution mode corresponding to the sub-process identification, and the parent process unit 401, according to the sub-process execution mode in the dynamic sub-process information, Continue running said parent process;
[0090] The execution mode of the sub-process is a synchronous execution mode or an asynchronous execution mode;
[0091] The dynamic sub-process information includes at least one sub-process identifier and a s...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com