Analytics Builder: send email when heartbeat missing

Hi,

I’ve set up a device to send periodic heartbeat events to Cumulocity. Using Analytics Builder (image attached), I created a model to send an email if no heartbeat is received for 1 minute. The email sends correctly when the heartbeat is missing, but it also sends when the heartbeat resumes.

Issue:

  • Email is sent correctly when heartbeat is missing for 1 minute.
  • Unwanted email is sent when heartbeat resumes.

How can I modify my Analytics Builder model to only send emails when the heartbeat is missing, not when it resumes?

Can you please check if the existing sample On missing measurements create alarm satisfies your use case?