Abstract:
The present disclosure discloses a notification service processing method for business process management and a business process management engine. The method includes parsing a definition of a business process when business process starts running, and creating a business process instance for a business activity when execution reaches the business activity, where an event listener is configured for the business activity, and where at least one notification service is configured for the event listener, parsing, based on the created business process instance, the event listener configured for the business activity, and invoking the notification service configured for the event listener when the event listener learns by listening that a notification service trigger condition is met to send a notification message to a corresponding party. In this way, complexity of notification service processing in business process management is reduced.
Abstract:
A communications processing method includes: receiving, by a service node, service data sent by an upstream service node; establishing at least one egress branch according to the service data and a process variable that is of the service node and corresponds to the service data, where the process variable is used to indicate an attribute of a downstream service node; outputting, by the service node, the at least one egress branch to a display page; and determining, by the service node, the egress branch according to the received trigger instruction, and outputting the service data by using the egress branch. Efficiency of an online process adjustment of service processing can be improved, thereby improving flexibility of the entire service processing.
Abstract:
A computer device, a method, and an apparatus for business flow scheduling. The method for business flow scheduling includes determining that a transaction savepoint is configured on a to-be-scheduled node, creating an asynchronous task according to the transaction savepoint, where the asynchronous task includes a to-be-scheduled task that is on the to-be-scheduled node and that is after the transaction savepoint, using a first thread to execute a transaction that includes a task in the flow other than the asynchronous task, and submitting the transaction executed by the first thread in order to ensure data consistency, and using a second thread to execute the asynchronous task in order to implement transaction splitting between task nodes.
Abstract:
A computer device, a method, and an apparatus for business flow scheduling. The method for business flow scheduling includes determining that a transaction savepoint is configured on a to-be-scheduled node, creating an asynchronous task according to the transaction savepoint, where the asynchronous task includes a to-be-scheduled task that is on the to-be-scheduled node and that is after the transaction savepoint, using a first thread to execute a transaction that includes a task in the flow other than the asynchronous task, and submitting the transaction executed by the first thread in order to ensure data consistency, and using a second thread to execute the asynchronous task in order to implement transaction splitting between task nodes.