Compensation framework for long running transactions
First Claim
Patent Images
1. An error-handling framework for business process transactions, comprising:
- an error-handling routine that facilitates fault correction and compensation in response to a fault associated with a business transaction;
a context construct that associates a unit of work with the error-handling routine; and
an execution engine that performs selective compensation of the unit of work upon invocation of the error-handling routine according to a set of predefined rules provided by the error-handling framework, the set of predefined rules defining propagation of error-handling in nested units of work.
2 Assignments
0 Petitions
Accused Products
Abstract
An error-handling framework is provided for business process transactions. The error-handling framework facilitates coordination of the invocation of exception and compensation handlers in response to errors. The error-handling framework includes support for custom ordering of compensation actions, data flow into and out of compensation actions, and management of the process state visible to compensation actions.
87 Citations
20 Claims
-
1. An error-handling framework for business process transactions, comprising:
-
an error-handling routine that facilitates fault correction and compensation in response to a fault associated with a business transaction;
a context construct that associates a unit of work with the error-handling routine; and
an execution engine that performs selective compensation of the unit of work upon invocation of the error-handling routine according to a set of predefined rules provided by the error-handling framework, the set of predefined rules defining propagation of error-handling in nested units of work. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15)
-
-
13. A system for executing a business workflow process, comprising:
-
a schedule defining a business workflow process, the schedule having a business transaction grouping;
a context associated with the business transaction grouping and an exception handler and at least one compensation handler associated with the context, the exception handler defining the ordering of the at least one compensation handler; and
an execution engine that executes the schedule and invokes the exception handler upon detection of a fault, the exception handler performs fault correction of the business transaction grouping if the business transaction grouping has not completed, and the exception handler calls the compensation handler to perform compensation of the business transaction grouping if the business transaction grouping has completed. - View Dependent Claims (14, 16, 17)
-
-
18. A method for creating a business workflow schedule, the method comprising:
-
defining a unit of work of a business workflow process;
associating a context with the unit of work;
creating an exception handler associated with the context; and
creating a compensation handler associated with the context, the compensation handler having at least one passable parameter. - View Dependent Claims (19, 20)
-
Specification