I have tried this querry
SELECT e
FROM Employee e
WHERE e.positionemp LIKE :positionemp
AND e.department LIKE :department
AND e.location LIKE :location
AND e.segement LIKE :segement
AND e.nationality LIKE :nationality
AND e.employeelastname LIKE :employeelastname
AND e.employeefirstname LIKE :employeefirstname
AND e.employeetype LIKE :employeetype
AND e.vaccineprovider LIKE :vaccineprovider
AND e.immunitystatus LIKE :immunitystatus
AND( e.emloyeeno = employeeno OR e.employeeno IS NULL)
AND( e.iqamano = iqamano OR e.iqamano IS NULL)
ORDER BY e.persistenceId DESC
where employeeno and iqamano are Integer and all others are string
Not able to get the data from buisness model when any integer attribute is added
Did you miss the : before the employeeno and iqamano parameters ?
Like this
SELECT e
FROM Employee e
WHERE e.positionemp LIKE :positionemp
AND e.department LIKE :department
AND e.location LIKE :location
AND e.segement LIKE :segement
AND e.nationality LIKE :nationality
AND e.employeelastname LIKE :employeelastname
AND e.employeefirstname LIKE :employeefirstname
AND e.employeetype LIKE :employeetype
AND e.vaccineprovider LIKE :vaccineprovider
AND e.immunitystatus LIKE :immunitystatus
AND( e.emloyeeno = :employeeno OR e.employeeno IS NULL)
AND( e.iqamano = :iqamano OR e.iqamano IS NULL)
ORDER BY e.persistenceId DESC
"message": "USERNAME=walter.bates | org.bonitasoft.engine.command.SCommandExecutionException: org.bonitasoft.engine.business.data.SBusinessDataRepositoryException: parameter(s) are missing for query named query1 : employeelastname,positionemp,employeetype,nationality,iqamano,employeefirstname,location,employeeno,department,segement,vaccineprovider,immunitystatus"
AHH ! That was just by mistake
In Postman I am just using GET method
http://localhost:8080/bonita/API/bdm/businessData/com.company.model.Employee?q=query1&p=0&c=10
When I write a query SELECT e FROM Employee e and check on postman
I get whole data https://ibb.co/tq2FzJ6
just to simplify I added only 3 fields in the query https://ibb.co/Y3L7N5Q
in the GET API I added the prameters
http://localhost:8080/bonita/API/bdm/businessData/com.company.model.Employee?q=query2&p=0&c=10&f=department=Housing&f=nationality=Aruba&f=employeeno=123
https://ibb.co/CKhx7Jd
and now I am able to get the data in postman but not on my UI designer form https://ibb.co/k97bvyP
Bonitasoft empowers development teams with Bonita, the open-source and extensible platform to solve the most demanding process automation use cases. The Bonita platform accelerates delivery of complex applications with clear separation between capabilities for visual programming and for coding. Bonita integrates with existing solutions, orchestrates heterogeneous systems, and provides deep visibility into processes across the organization.