Event Input
apama.analyticskit.blocks.cumulocity.DeviceEventInput
Receives Event objects from a device or device group and reorders them based on the timestamp.
If the Ignore Timestamp parameter is set, the block ignores the timestamp of the event and processes the events as they are received, otherwise it drops old events.
The parameters that define the input stream of the block are "Device or Device Group" and "Event Type". If this block is configured with the same "Device or Device Group" and "Event Type" parameters as an Event Output block in another model, then a connection between the models is formed, as each block refers to the same stream of Event objects.
Note: When running in simulation mode, because historical input data is used, timestamps are not ignored.
Note: A history of changes is not maintained for Event objects, and it is thus not possible to retrieve the original objects from the inventory. For this reason, a model which contains this input block type may behave differently in simulation mode than it would in production mode.
Parameters
Name | Description | Type | Notes |
Device or Device Group | The device or device group from which the event has been received. The model editor uses the current device or asset name. This is mapped internally to the inventory identifier. | string | |
Event Type | The event type for which the block will listen. | string | |
Notification Mode | Filters Event events such that only new events, updated events, or all events are processed. The default is that all events are processed. | Option - one of: All Updates only New events only | Default: ALL |
Ignore Timestamp | If selected, the timestamp of the incoming event is ignored. Note: When running in simulation mode, because historical input data is used, timestamps are not ignored. | boolean | Default: false |
Output Port Details
Name | Description | Type |
Events | Generates a pulse output for each Event object received, with extra properties. | pulse |