Patent ID: 8060780

Claim:
A computer-readable storage medium containing instructions to configure a processor to perform a method, the method comprising: processing, at a state correlation engine, a plurality of transactions bound to database transactions, the state correlation engine evaluating the plurality of transactions comprising an event, a condition, and an action; determining whether a predetermined condition is true, the determining comprising identifying the predetermined condition as true when the at least one transaction includes at least one of the event being sent to an external application or the event being received from an external application; saving an effect of at least one of the transactions to a persistence when the predetermined condition has been determined to be true, or, when the predetermined condition has not been determined to be true, saving the effect to a buffer instead of to the persistence, the effect comprising a state variable change caused at least in part by the action; and reading the at least one transaction from the persistence to enable a re-execution of rules representing the other transactions, when a failure occurs causing a recovery.