AnsweredAssumed Answered

Terminate Event not showing on diagram and how to represent an Intermediate None Event

Question asked by gguimezanes on May 10, 2013
Latest reply on May 14, 2013 by jbarrez
I am creating BpmnModel directly in java code (not using the designer or Eclipse plugin), but then I use the diagram generator to render the model.
- I have tried creating a terminate event (by creating an EndEvent, then adding to that event an event definition list that contains only a TerminateEventDefinition) : the place in the diagram where the termination event should be is left blank, but if I remove the code that adds the event definition list, I correctly get a simple end event on the diagram.
- I don't really know how to create a none intermediate event, so I assumed I should just create a org.activiti.bpmn.model.Event ? However that is also left blank on the generated diagram. If I replace my
new Event()
with a
new ThrowEvent()
, leaving all the rest of my code the same, the event does appear in the diagram. Apparently the issue ACT-1252 was fixed in 5.11, so since I use 5.12.1, the intermediate event should show up… Maybe I am not using the correct BpmnModel object? What should I use for an intermediate none event?