# EPL Mail not triggerring/triggerring 2 times!

**URL:** <https://community.cumulocity.com/t/epl-mail-not-triggerring-triggerring-2-times/1358>\
**Category:** Forum\
**Tags:** cumulocity\
**Created:** [September 24, 2023, 12:56pm UTC](https://community.cumulocity.com/t/epl-mail-not-triggerring-triggerring-2-times/1358 "2023-09-24T12:56:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajith.tnc.thala](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@ajith.tnc.thala](https://community.cumulocity.com/u/ajith.tnc.thala)\
**Post date:** [September 24, 2023, 12:56pm UTC](https://community.cumulocity.com/t/epl-mail-not-triggerring-triggerring-2-times/1358/1 "2023-09-24T12:56:47Z")

</div>

I have an EPL program which should run whenever some events happened related to sensor device data and it will trigger mail to respective users whoever concerned in that device, But Intermittently that EPL program not working if that event happens!

e.g: while we push Device Data, it will trigger alarms if we have any faults fields in that json data or if sensor has reached the expiry date. We noticed that, its used to work previously but intermittently its not worked, We used to resolve that issue by refreshing the EPL page and it started to work! But everytime we cannot refresh the page. Please provide permanent solution for this.

#### _ **Product/components** used and **version/fix** level:_

#### _Detailed explanation of the problem:_

#### _Error messages / **full error** message screenshot / **log** file:_

#### _Question related to a **free trial** , or to a **production (customer)** instance?_

---

<div class="post-metadata">

**Author:** ![Stefan\_Witschel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/stefan_witschel/32/31955_2.png) [@Stefan\_Witschel](https://community.cumulocity.com/u/Stefan_Witschel)\
**Post date:** [September 25, 2023, 12:28pm UTC](https://community.cumulocity.com/t/epl-mail-not-triggerring-triggerring-2-times/1358/2 "2023-09-25T12:28:25Z")

</div>

Is this the same request: [My epl stop sending email for real time devices if not refreshed at regular interval](https://community.cumulocity.com/t/my-epl-stop-sending-email-for-real-time-devices-if-not-refreshed-at-regular-interval/2450) ?

If so please share some details like EPL code and log which might help to understand the issue.  
The logs of apama can be found in `Administration` → `Ecosystem` → `Microservices` → `apama-ctrl-*` → `logs`

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/system/32/31990_2.png) [@system](https://community.cumulocity.com/u/system)\
**Post date:** [March 23, 2024, 12:28pm UTC](https://community.cumulocity.com/t/epl-mail-not-triggerring-triggerring-2-times/1358/3 "2024-03-23T12:28:33Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
