Patent ID: 8661441

Claim:
A computer implemented method performed by one or more processors for reducing transaction loads for process instance completion, the method comprising the following operations: identifying an end event triggered by an initial token of a process instance; determining a type of end event associated with the identified end event; performing a search for additional tokens associated with the process instance that are distinct from the initial token; and performing a termination action based on the type of end event and a number of additional tokens identified in the search; wherein the type of end event is a non-terminating end event and the termination action includes: joining each finalization action for each process instance variable associated with the process instance to a completion transaction for the process instance if no additional tokens are found in the search, wherein joining each finalization action includes performing the joining into a join rule at compile time and executing the join rule at runtime; and executing the completion transaction to terminate the process instance, wherein executing the completion transaction further includes executing each finalization action for each process instance variable.