I’m trying to create a PermissionRule that accesses the BDM but I keep getting the following error:
Caused by: org.bonitasoft.engine.bdm.BusinessObjectDaoCreationException: java.lang.ClassNotFoundException: com.acme.pm.model.ClientDAOImpl
at org.bonitasoft.engine.bdm.BusinessObjectDAOFactory.createDAO(BusinessObjectDAOFactory.java:55)
at org.bonitasoft.engine.bdm.BusinessObjectDAOFactory$createDAO.call(Unknown Source)
def daoFactory = new BusinessObjectDAOFactory();
def clientDAO = daoFactory.createDAO(apiSession, ClientDAO.class);
Is It even possible to use BusinessObjectDAOFactory from a PermissionRule?