Hi,
I'm using the Activiti json converter 5.15.1 to convert JSON file to BPM Activiti models.
I think there is a bug in a conversion, I'm not able to define execution listeners on events (start event, intermediate event etc.).
For example, parsing a Start event, I get to the point where the execution listener is parsed but at the end it's not added to the Start Event because of these lines I think:
org.activiti.editor.language.json.converter.BaseBpmnJsonConverter.java#convertJsonToListeners
if (element instanceof Process) {
((Process) element).getExecutionListeners().add(listener);
} else if (element instanceof SequenceFlow) {
((SequenceFlow) element).getExecutionListeners().add(listener);
} else if (element instanceof UserTask) {
((UserTask) element).getTaskListeners().add(listener);
} else if (element instanceof Activity) {
((Activity) element).getExecutionListeners().add(listener);
}
Does someone can confirm the bug ? or tell me where I'm wrong …
Thanks,
Nicolas