Trigger future timer intermediate catch event?

Hi,

I have a process with a timer intermediate catch event which fires some time in the future. Is there a way in C8 to trigger it manually via UI or an API call?

In C7 this was possible:

List<Job> availableTimerJobs = managementService.createJobQuery()
        .processInstanceId("someId")
        .timers()
        .list();
Date nowDate = Date.from(Instant.now());
for (Job job : availableTimerJobs) {
    managementService.setJobDuedate(job.getId(), nowDate);
}

I found the epic Update Job Timeout implemented in 8.4 but that seems to apply to attached timer boundary events only.

Best,
Tobias

Hi @tobiasschaefer,

there is no API available to change the value of a timer event.

The API you mentioned is used to extend the exclusive lock of a service task. The Camunda 7 counterpart is Camunda Automation Platform 7.20.2 REST API

Hope this helps, Ingo

Thanks @Ingo_Richtsmeier for the prompt answer and clarification.

It helps in the sense that I know I need to follow an alternative solution, i.e. explicitly model the possibility to skip the timer :slight_smile:

Hey @tobiasschaefer

Did you find any way to achieve above action in camunda 8 , I was working on the same thing.

Thank you in advance

Hi @Mukesh_Reddy ,

no, I’m not aware of a Camunda 8 API call to update the value of a timer event.