# Delaying an alarm for 1 second in EPL

**URL:** <https://community.cumulocity.com/t/delaying-an-alarm-for-1-second-in-epl/12270>\
**Category:** Forum\
**Tags:** analytics\
**Created:** [May 12, 2025, 5:29pm UTC](https://community.cumulocity.com/t/delaying-an-alarm-for-1-second-in-epl/12270 "2025-05-12T17:29:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![GII](https://avatars.discourse-cdn.com/v4/letter/g/97f17d/32.png) [@GII](https://community.cumulocity.com/u/GII)\
**Post date:** [May 12, 2025, 5:29pm UTC](https://community.cumulocity.com/t/delaying-an-alarm-for-1-second-in-epl/12270/1 "2025-05-12T17:29:38Z")

</div>

Hi,

using analytics builder it is very easily to selectively delay the processing of 1 alarm using the “delay” object, how would it be possible to do the same in EPL?

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/c/2/c21553b4a2b116411b2e27af816d47a1bcc08228.png)

---

<div class="post-metadata">

**Author:** ![Tristan\_Bastian](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/tristan_bastian/32/18259_2.png) [@Tristan\_Bastian](https://community.cumulocity.com/u/Tristan_Bastian)\
**Post date:** [May 12, 2025, 6:32pm UTC](https://community.cumulocity.com/t/delaying-an-alarm-for-1-second-in-epl/12270/2 "2025-05-12T18:32:50Z")

</div>

Hi @GII,

you are probably looking for the `on wait()`, see also:

> **[Defining event listeners - Apama](https://cumulocity.com/apama/docs/10.15/developing-apama-applications-in-epl/defining-event-listeners/#waiting-within-an-event-listener)**
>
> This documentation offers comprehensive information on the Cumulocity platform both from a user and from a developer perspective. It reflects the latest state of the Cumulocity platform and is continuously updated to align with recent software...
