- TIBCO BusinessEvents®
- ActiveSpaces(Deprecated)
- AS

# AS.getEventType()

## Signature

`String getEventType(SimpleEvent event)`

## Domain

ACTION, CONDITION, QUERY, BUI

## Description

Gets the Event type.

## Parameters

Name | Type | Description
--- | --- | ---
`event` | `SimpleEvent` | The event being tested

## Returns

Type | Description
--- | ---
`String` | The event type of the event if the consumption mode of destination is set to be EventListener. The range of value is 'PutEvent', 'TakeEvent' and 'ExpireEvent'