Analytics Builder 10.13.0 | Using Analytics Builder for Cumulocity IoT | Block Reference | Output | Event Output
 
Event Output
apama.analyticskit.blocks.cumulocity.CreateEvent
Creates a new Event object for the associated device or the triggering device.
This block sends a new event to the current device or the device specified. The text of the event is determined by the Text Input input port or by the Message parameter. You must not set both. If neither are set, the model name is used as the text.
This block produces synchronous output. The parameters that define the output stream of the block are "Device or Trigger Device" and "Event Type". Using another instance of this block with the same output stream is not allowed.
Parameters
Name
Description
Type
Notes
Device or Trigger Device
The device (or for models handling groups, Trigger Device) to which the event is to be sent.
The model editor uses the current device name. This is mapped internally to the device identifier.
any
Event Type
Identifies the type of this event.
string
Message
The text that will be displayed when the event is created.
This requires that the Text Input input is not connected. If neither are set, the model name is used as the text.
string
Optional
Params Fragment
If this parameter is set, then the incoming properties on the Params input port are added to this fragment in the generated Event. If this is not set, the properties are copied to the top level of the Event params.
string
Optional
Input Port Details
Name
Description
Type
Create Event
Creates an event when a signal is received.
pulse
Text Input
Sets the text of the event. The Message parameter must not be set if this is used.
string
Time
Sets the timestamp of the event.
float
Properties
The properties to set on the event.
any