docs: protected BpmnModel extractBpmnModelFromEvent(ActivitiEvent event) {
      BpmnModel result = null;
      
      if (result == null && event.getProcessDefinitionId() != null) {
        ProcessDefinition processDefinition = ProcessDefinitionUtil.getProcessDefinition(event.getProcessDefinitionId(), true);
        if (processDefinition != null) {
          result = Context.getProcessEngineConfiguration().getDeploymentManager().resolveProcessDefinition(processDefinition).getBpmnModel();
        }
      }
      
      return result;
    }