Analytics builder vs. EPL

Hi, there is a very useful feature in analytics builder: when applying the model to a group (ex: having an alarm input), each member of this group will have a dedicated instance. This is not available in EPL, we need to look for every group member’s alarms separately and catch them using some logic
(example 2 consecutive alarms: on all Alarm(type=ALARM_TYPE1, status=“ACTIVE”) as a1 → Alarm(type=ALARM_TYPE2, status=“ACTIVE”) as a2 {

Is there a way to reach the same flexibility in EPL related to dedicated instance just like analytics builder?

The short answer is No. Analytics builder framework abstracts away the complexity you mentioned, and you need to build something from scratch to achieve the same for EPL Apps.

If what you are looking is for isolation across devices, there are various ways using which you can approach the problem

  • Identify all child devices of a group at startup
  • Based on the usecase maintain the current state of a given child device in a dictionary or alternatively, use spawn (Defining monitors - Apama) to establish isolation across each of the child devices