AnsweredAssumed Answered

Immediate next event to IntermediateCatchEvent with timer sometimes doesnot occurs

Question asked by rj@journeylabs on Apr 25, 2018
Latest reply on Apr 25, 2018 by eugenio_romano

Below is the code which sometimes work and sometimes not. It skips the immediate next event.

 

IntermediateCatchEvent event = new IntermediateCatchEvent();
event.setId(component.getUid());
event.setName(component.getName());
TimerEventDefinition ed = new TimerEventDefinition();
ed.setTimeDuration(((TimerWait) component).getWaitDuration());
event.addEventDefinition(ed);
components.add(event);

Outcomes