Pattern |
Explanation |
Work Item Failure |
| SFF-CWC-COM |
An activity can have a fault handler specified for it that defines the actions to be undertaken should the activity fail. |
| SFF-CWC-NIL |
The fault handler for an activity can be empty. |
| SFF-RCC-COM |
A fault handler can compensate for the failed activity. The last action in the fault handler could be a <terminate> activity thus ending all activities in the current process instance. Alternatively, the fault handler could rethrow a detected fault to a higher level. Where it is thrown to the global scope, this could be used terminate all other activities being executed in the process instance. |
| SFF-RCC-NIL |
As for SFF-CWC-NIL except that the fault handler is simply a <terminate> activity. |
Work Item Deadline |
| SCE-CWC-COM |
Alarm events can be specified for an activity which initiate a sequence of actions when a specified deadline is reached. These actions execute concurrently with the activity on which the alarm was raised. |
| SCE-CWC-NIL |
The alarm event can have an empty set of actions associated with it. |
| SFF-CWC-COM |
An alarm event can be associated with an activity which invokes a fault handler when a deadline is exceeded. When this occurs the activity is terminated and the fault handler initiates a sequence of compensating activities. |
| SFF-CWC-NIL |
As for SFF-CWC-COM except that the fault handler is empty. |
| SFF-RCC-COM |
As for SFF-CWC-COM except that the last activity in the fault handler is a <terminate> activity which cancels all activities in the current process instance. |
| SFF-RCC-NIL |
Similar to SFF-RCC-COM except that the <terminate> is the only activity in the fault handler. |
External Trigger |
| SCE-CWC-COM |
A message event handler can be specified for an activity which initiates a series of compensating activities when a nominated message is received. The activity which receives the message continues to execute. |
| SCE-CWC-NIL |
As for SCE-COM-NIL except that the message event handler can be empty. |
| SFF-CWC-COM |
An activity can have a message event handler associated with it which initiates compensating activities when a nominated message is received. The last action of the message event handler is to invoke a fault handler which terminates the activity. |
| SFF-CWC-NIL |
As for SFF-CWC-NIL except the only action of the message event handler is to invoke the fault handler hence no compensating activities are initiated. |
| SFF-RCC-COM |
As for SFF-CWC-COM except the last action in the message event handler is a <terminate>. |
| SFF-RCC-NIL |
Similar to SFF-RCC-COM except that the only action in the message event handler is a <terminate>. |