Patent ID: 7949551

Claim:
A method, implemented on a computer, for processing of a compensation scope of a process instance of a process model by a Workflow Management System (WFMS), said method comprising: determining, by a processor executing computer code, that said compensation scope is comprised within an atomic scope of said process model, and determining that the atomic scope has been aborted abnormally, wherein said determining that the atomic scope has been aborted abnormally comprises determining that a persistent lock associated with said compensation scope has been set, where said persistent lock has to be set before said atomic scope is aborted abnormally; responsive to determining that the atomic scope has been aborted abnormally, restarting the atomic scope; responsive to determining that the atomic scope has been aborted abnormally and restarted, determining that said compensation scope has been associated in said process model with a specific atomic scope behavior specification that defines a specific abort handling of said compensation scope in a particular case that said compensation scope is comprised within said atomic scope and said atomic scope has been aborted abnormally and restarted; responsive to determining that said compensation scope has been associated in said process model with the specific atomic scope behavior specification, processing said compensation scope according to said specific atomic scope behavior specification; and wherein said processing said compensation scope according to said specific atomic scope behavior specification comprises identifying said specific atomic scope behavior specification as a first specification, and, in response to identifying said first specification, skipping re-execution of said compensation scope and proceeding execution of the rest of the atomic scope without executing a compensation activity associated with said compensation scope and wherein said processing said compensation scope according to said specific atomic scope behavior specification comprises identifying said specific atomic scope behavior specification as a second specification, and, in response to identifying said second specification, re-executing said compensation scope and proceeding execution of the rest of the atomic scope without executing the compensation activity associated with said compensation scope.