My main concern is how to connect to external database(sql server in my case) and retrieve data , to be shown in a Table in the UI Designer. What are the possibilities available to do such a thing !
I did some research , found possibility with a connector and Rest API extension. But I still don't get the main difference between both of em.
Exactly, I going to use the retrieved data in a custom page , where I will integrate a table filled with the data , and apply actions on it (like Edit, save ect...) , so I go for the option of using a Rest Api Extension?
Why is not possible with a connector ? and what do you mean "process level" ?
Yes it's possible with a rest api extension, go for that.
You can technically add a connector to a process task, or at process instantiation / finalization. This is what I call process level. It's technically not possible to add a connector to a for or to custom page (front end level).
Okay I will go with Rest API Extension !
Do you have any link of a real example how to connect to a database (sql server in my case) !
Especially the index.groovy file , what should I put in there ?
The example is not working when I try to deploy the extension !
groovy.lang.MissingMethodException: No signature of method: groovy.json.JsonSlurper.parseText() is applicable for argument types: (java.util.LinkedHashMap) values: [[error:the parameter queryName is invalid:null]]
Possible solutions: parseText(java.lang.String), parse([B), parse([C), parse(java.io.File), parse(java.io.InputStream), parse(java.io.Reader
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.