# Class: ProcessInstanceAudit

## tibco.objectapi.ec.base.ProcessInstanceAudit

#### new ProcessInstanceAudit()

The Audit Trail for a specified Process Instance. Constructs a new ProcessInstanceAudit.

The following features are supported:

- `Entry`
- `Process Instance Ref`

### Extends

- tibco.objectapi.ec.base.CommentedAudit

### Members

#### comments :tibco.objectapi.ec.base.CommentAudit

This property holds the value of the 'Comments' containment reference.

##### Type:

- tibco.objectapi.ec.base.CommentAudit

Inherited From:
  - tibco.objectapi.ec.base.CommentedAudit#comments

#### endPosition :number

Index of the last event returned by the query. This will either correlate with either: - the numberOfItems+startPosition properties specified in the QueryOptions for the query, or - the end of the results returned by the query. This property holds the value of the 'End Position' attribute.

##### Type:

- number

Inherited From:
  - tibco.objectapi.ec.base.BaseAuditInformation#endPosition

#### entry :Array.<tibco.objectapi.ec.base.ProcessInstanceAuditEntry>

This property holds the value of the 'Entry' containment reference list.

##### Type:

- Array.<tibco.objectapi.ec.base.ProcessInstanceAuditEntry>

#### processInstanceRef :tibco.objectapi.ec.base.ProcessInstanceReference

This property holds the value of the 'Process Instance Ref' containment reference.

##### Type:

- tibco.objectapi.ec.base.ProcessInstanceReference

#### startPosition :number

Index of the first event returend by the query. This will correlate with the startPosition specified in QueryOptions in the query request. This property holds the value of the 'Start Position' attribute.

##### Type:

- number

Inherited From:
  - tibco.objectapi.ec.base.BaseAuditInformation#startPosition

#### totalItems :string

Total number of items the query could have returned (if it had specified its startPosition as 0 and numberOfItems as -1). For performance reasons, totalItems is only returned if the getTotalItems flag was specified in QueryOptions in the query request. This property holds the value of the 'Total Items' attribute.

##### Type:

- string

Inherited From:
  - tibco.objectapi.ec.base.BaseAuditInformation#totalItems