uCosminexus Service Platform, Overview
Activity is a business process component and represents the processing structure. The flow of the business process is defined by linking multiple activities.
Define activity by deploying and linking activites in the Define Business Process Window in the development environment. The following table describes the attribute information of all activities:
Table 3-4 Attribute information of activity
Attribute | Description |
---|---|
Process instance identifier | Process instance identifier to which the target activity belongs. |
Activity number | Number to identify activity. Corresponds to the index of activity list. |
Business process definition name | Definition name of the business process to which the target activity belongs. Corresponds to the service name when invoking from a service requester. |
Business process definition version | Definition version of the business process to which the target activity belongs. |
Activity definition name | Activity definition name of the target activity. |
Activity type | Activity type of the target activity. |
Status | Status of the target activity. |
Start time | Start time (GMT) of the target activity. Note Time when the activity transits to ACTIVE status |
End time | End time (GMT) of the target activity. Note Time when activity transits to COMPLETED status |
Standby cancellation time | Standby cancellation time (GMT) for target activity. Use it for wait activity. |
The following figure shows the status transition of the activity:
Figure 3-15 Status transition of activity
The following table lists and describes the status of the activity as shown in "Figure 3-15 Status transition of activity".
Table 3-5 Status of activity
Status | Description | |
---|---|---|
READY status | Unexecution | Status in which the activity instance is not executed and is likely to be executed in the future. |
Unomission | Status in which the activity instance is not executed and is likely to be omitted in the future. | |
ACTIVE status | Executing | Status in which the activity instance is being executed. |
Executingwait | Status in which rollback is performed, and scope activity instance can be re-executed. | |
Awaiting | Status in which the activity instance is received. | |
Faulting | Activity instance is executing an activity caught by the faultHandler. | |
ERROR status | Error | An exception occurs in the invoke service activity or scope activity process and, the activity instance process is aborted due to error. |
COMPLETED status | Completed | Completed status in which the activity instance is executed normally. |
Completedwait | Status in which the activity instance is normally executed. Instance of activity is likely to be re-executed. |
|
Canceled | Status in which a fault occurs, and execution of the activity instance is canceled. | |
Faulted | Status in which a fault occurs during the execution of the activity instance. | |
Omitted | Status in which the execution of the activity instance is omitted. |
For details on all activities, see "5.6 Defining activities" in "Service Platform Basic Development Guide".
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.