Hi,
I’m looking into adding some custom validation on deployment of a bpmn diagram. I understand that this can be achieved by the following
public class CustomBpmnParseListener extends AbstractBpmnParseListener {
@Override
public void parseCallActivity(Element callActivityElement, ScopeImpl scope, ActivityImpl activity) {
if (doSomeCheck()) {
throw new BpmnParseException("check failed", callActivityElement);
}
}
}
What I was wondering is if there is a way of collating these errors until the whole diagram has been processed, otherwise its a case of fix one issue and report the next?
Thanks,
Matt