Skip to Content

How can I create Events for my Digital Twin ?

Feb 16, 2017 at 09:15 AM


avatar image
Former Member

The IoT application plugin allows to show Events of different importance categories.

How can I create events for my digital twin ? Is there some rules engine accessible through the SAP Leonardo Application Enablement services that would allow me to define the rules that will create those events based on catpured measurements ?

Thanks in advance for your precious answer.



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Marcus Behrens
Feb 16, 2017 at 10:35 AM

There is no ingestion rule processing available (yet) once data has been passed to the thing api. At this point these are your options:

  1. Check measurements and create events before you ingest the data (e.g. in the device firmware, on a gateway or in the device management cloud if it offers plugins). I'm right now re-routing the message forwarding from iot services to a java app running on HCP to do some basic data transformation and from there I'm then sending the data to the thing api based on the standard destination.
  2. Create batch jobs that query the (recent) data (e.g. using the snapshot apis) in regular intervals.

You can define thresholds in the master data already but generating events based on them is still somethign that a rule or other application logic has to do by calling the apis to create such events.

10 |10000 characters needed characters left characters exceeded