I have an use case with this timers(StartTimer and IntermediateTimer) that i need some help to find out the solution.
Lets assume that there's a task which set an variable with the number of retries that an IntermediateTimer event will run. How can i change the TimerDefinition and job which already is attached to a job to reflect the variable which is defined in a previous task?
The same goes for a StartTimer.
PS: I already have the engine which evaluates the variable.
I see your use case for an intermediate timer, but not for a start timer. A start timer is the first event in the process instance, so no process context and variables are available then. For an intermediate timer it should be possible to use the variable in an expression in the timer definition.