# Dynamic cyclic timer initalization where timer variable is fetched from existing service in execution listener

**URL:** <https://forum.camunda.io/t/dynamic-cyclic-timer-initalization-where-timer-variable-is-fetched-from-existing-service-in-execution-listener/47640>\
**Category:** Discussion & Questions\
**Created:** [September 20, 2023, 8:48am UTC](https://forum.camunda.io/t/dynamic-cyclic-timer-initalization-where-timer-variable-is-fetched-from-existing-service-in-execution-listener/47640 "2023-09-20T08:48:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rob\_N](https://forum.camunda.io/user_avatar/forum.camunda.io/rob_n/32/26766_2.png) [@Rob\_N](https://forum.camunda.io/u/Rob_N)\
**Post date:** [September 20, 2023, 8:48am UTC](https://forum.camunda.io/t/dynamic-cyclic-timer-initalization-where-timer-variable-is-fetched-from-existing-service-in-execution-listener/47640/1 "2023-09-20T08:48:05Z")

</div>

As part of a main process, I have set up an event sub process as follows:

![image](https://forum.camunda.io/uploads/default/original/3X/5/1/51a868c8b66b149626ede1d2bab32aac6f834066.png)

The timer is configured as follows:

 ![image](https://forum.camunda.io/uploads/default/original/3X/0/0/00f4b6c7c338e38cb183273b5d5ecb1b6dae12ce.png)

The issue is that ${cycleRepeat} does not seem available (independent of calling a service or not). This is the consequential error:

```shell
org.camunda.bpm.engine.ProcessEngineException: Unknown property used in expression: R/PT${cycleRepeat}S. Cause: Cannot resolve identifier 'cycleRepeat'

```

I assume, it’s a fundamental misunderstanding on how the sequential execution path of a bpmn node during runtime is, however, I would have assumed that the execution listeners would be run _before_ the actual timer setup. But that assumption must not hold.

The question is: how would I achieve my desired setup?
