Asynchronous fault handling in process-centric programs
First Claim
1. A computerized method for asynchronously handling a faulting event for an activity of a workflow, said workflow being processed by a computing device, said method comprising:
- defining a state automaton for an activity, said state automaton including at least an executing state, a faulting state, and a closed state, said state automaton classifying an execution lifetime of the activity;
defining the activity to include a plurality of work items, said defined activity having an execution hierarchy for the plurality of work items, each of the work items including an operation for executing a portion of the activity;
transitioning each of the work items to the executing state;
executing the included operation of transitioned work items in the executing state;
receiving the faulting event associated with one or more work items;
identifying the one or more of the transitioned work items in response to a fault-handling operation that handles the received faulting event as a function of the execution hierarchy and the included operation, wherein each of the identified one or more of the transitioned work items including the fault-handling operation therein; and
asynchronously handling the faulting event by executing the fault-handling operation associated with the each of the identified one or more of the transitioned work items to the faulting state in response to the received faulting event and transitioning the one or more identified work items to the faulting state while executing the included operation of the remaining transitioned work items not identified in response to the faulting event, wherein the one or more identified work items in the faulting state are transitioned to the closed state after execution of the fault-handling operation is completed.
2 Assignments
0 Petitions
Accused Products
Abstract
Asynchronous fault handling for a workflow. A state automaton for an activity in the workflow is defined. The state automaton includes at least an executing state, a faulting state, and a closed state and classifies an execution lifetime of the activity. The activity is defined to include work items and includes an execution hierarchy for the work items. Each work item includes an operation for executing a portion of the activity. Each work item is transitioned to the executing state. The included operation of transitioned work items is executed in the executing state. One or more of the transitioned work items are identified in response to the faulting event as a function of the execution hierarchy and the included operation. The faulting event is asynchronously handled by transitioning the one or more identified work items to the faulting state while executing the included operation of the remaining transitioned work items.
121 Citations
20 Claims
-
1. A computerized method for asynchronously handling a faulting event for an activity of a workflow, said workflow being processed by a computing device, said method comprising:
-
defining a state automaton for an activity, said state automaton including at least an executing state, a faulting state, and a closed state, said state automaton classifying an execution lifetime of the activity; defining the activity to include a plurality of work items, said defined activity having an execution hierarchy for the plurality of work items, each of the work items including an operation for executing a portion of the activity; transitioning each of the work items to the executing state; executing the included operation of transitioned work items in the executing state; receiving the faulting event associated with one or more work items; identifying the one or more of the transitioned work items in response to a fault-handling operation that handles the received faulting event as a function of the execution hierarchy and the included operation, wherein each of the identified one or more of the transitioned work items including the fault-handling operation therein; and asynchronously handling the faulting event by executing the fault-handling operation associated with the each of the identified one or more of the transitioned work items to the faulting state in response to the received faulting event and transitioning the one or more identified work items to the faulting state while executing the included operation of the remaining transitioned work items not identified in response to the faulting event, wherein the one or more identified work items in the faulting state are transitioned to the closed state after execution of the fault-handling operation is completed. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system for asynchronously handling faulting events in a workflow, said system comprising:
-
a storage for storing data associated with work items of an activity in the workflow, said activity having an execution hierarchy for the work items, each of the work items including an operation for executing a portion of the activity; a processor configured to execute computer-executable instructions for; defining a state automaton for the activity, said state automaton including at least an executing state, a faulting state, and a closed state, said state automaton classifying an execution lifetime of the activity; transitioning each of the work items to the executing state; executing the included operation of transitioned work items in the executing state; receiving a faulting event associated with one or more work items; identifying the one or more of the transitioned work items in response to a fault-handling operation that handles the received faulting event based on the execution hierarchy and the included operation, wherein each of the identified one or more of the transitioned work items including the fault-handling operation therein; and asynchronously handling the faulting event by executing the fault-handling operation associated with the each of the identified one or more of the transitioned work items to the faulting state in response to the received faulting event and transitioning the one or more identified work items to the faulting state while executing the included operation of the remaining transitioned work items not identified in response to the faulting event, wherein the one or more identified work items in the faulting state are transitioned to the closed state after execution of the fault-handling operation is completed. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. One or more computer storage media having computer-executable components for asynchronously handling a faulting event in a workflow, said computer-executable components comprising:
-
a state machine for defining a state automaton for the activity, said state automaton including at least an executing state, a faulting state, and a closed state, said state automaton classifying an execution lifetime of the activity; an activity component for defining the activity to include a plurality of work items, said defined activity having an execution hierarchy for the plurality of work items, each of the work items including an operation for executing a portion of the activity; a scheduler component for transitioning each of the work items to the executing state; an execution component for executing the included operation of transitioned work items in the executing state; an identification component for identifying one or more of the transitioned work items in response to a fault handling operation that handles the faulting event based on the execution hierarchy and the included operation, wherein each of the identified one or more of the transitioned work items including the fault handling operation therein; and a fault handler, in response to receiving the faulting event associated with one or more identified work items, for asynchronously handling the faulting event by invoking the fault handling operation in each of the identified one or more transitioned work items in response to the received faulting event to transition the one or more identified work items to the faulting state while executing the included operation of the remaining transitioned work items not identified in response to the faulting event by the identification component, wherein the one or more identified work items in the faulting state are transitioned to the closed state after execution of the fault handling operation is completed. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification