cancel
Showing results for 
Search instead for 
Did you mean: 

How to get timer definition from Timer Boundary Event

russinholi
Champ in-the-making
Champ in-the-making
Hi all,

I'm developing a UI to show some infos about the execution of processes on Activiti, and I'd like to show how much time a Timer Boundary Event will wait for some User Task before skipping to next task.

Is there a way to programmaticaly get the timer definition of a Timer Boundary Event?


Regards,
2 REPLIES 2

jbarrez
Star Contributor
Star Contributor
Yes, fetch the BpmnModel through the repositoryService and you are able to introspect the process via a java representation of the BPMN xml.

russinholi
Champ in-the-making
Champ in-the-making
Thanks jbarrez,

that's exactly what I need.