cancel
Showing results for 
Search instead for 
Did you mean: 

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

gguimezanes
Champ in-the-making
Champ in-the-making
Hello
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?
2 REPLIES 2

gguimezanes
Champ in-the-making
Champ in-the-making
Ooops sorry I just understood that a none event is a none throwing event so I should actually use ThrowEvent…
There's still the question about the terminate event : am I doing something wrong or is the Terminate Event not implemented yet in the diagram rendering?

jbarrez
Star Contributor
Star Contributor
No indeed, terminate event is not implemented in diagram generation.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.