# Class: ActivityInstanceStatus

## tibco.objectapi.pm.ActivityInstanceStatus

#### new ActivityInstanceStatus()

Type to summarize the current status of an instance of an activity in a process. Constructs a new ActivityInstanceStatus.

The following features are supported:

- `Activity ID`
- `Activity Name`
- `Activity State`
- `Start Time`
- `Completion Time`
- `Deadline Expiration Time`
- `Retries`

### Members

#### activityID :string

Unique ID assigned to the activity, for example XPDL ID assigned by BusinessStudio's BPMN Process Editor. This property holds the value of the 'Activity ID' attribute.

##### Type:

- string

#### activityName :string

Optional name of the activity This property holds the value of the 'Activity Name' attribute.

##### Type:

- string

#### activityState :string

Current state of an activity instance, for example WAITING This property holds the value of the 'Activity State' attribute.

##### Type:

- string

#### completionTime :Date

When the activity instance finishes execution This property holds the value of the 'Completion Time' attribute.

##### Type:

- Date

#### deadlineExpirationTime :Date

A timer intermediate event can be attached to any activity. This field keeps track of when time-out would occur if the activity did not complete. This property holds the value of the 'Deadline Expiration Time' attribute.

##### Type:

- Date

#### retries :number

This property holds the value of the 'Retries' attribute.

##### Type:

- number

#### startTime :Date

When the activity instance starts execution This property holds the value of the 'Start Time' attribute.

##### Type:

- Date