Hi, Is it true that BDM custom query only support “SELECT” queries? i have checked and read this documentation “https://documentation.bonitasoft.com/bonita/7.9/define-and-deploy-the-bdm” it is said that “To create a custom query, use the query tab of the Expression editor to write a query script. You can use one of the default queries as an example. A custom query can be on multiple attributes. Only SELECT queries are supported.” and then How can we add update function to our application? How? I have been searching for long times, but none in this documentation explained step by step on adding Update or Edit data. Thank you.
I have allready answer in your previous topic https://community.bonitasoft.com/questions-and-answers/error-custom-query.
To update a bdm object, you need to add a mapping between your form contrat and your businessobject in the ‘operation’ section in your task.
Regards
I did what you have instructed in the previous topic. But nothing happened, data remains same they won’t update. Have you run .bos file that i already gave to you? hopefully you understand what im talking about. https://www.dropbox.com/s/2c0f1hd0nyzckcq/Test.bos?dl=0 here is the link of my .bos file. In my case i created update as a stand alone diagram, the process begin when user start to update their previously created budget.
here i explain you the process and the problem:
- Run the TEST Update-1.0.proc
- Click at any row of the table
- You will see the data are displayed in the text field
- Change any text field value as you want.
- once you done click on update button
- run the H2 console and select budget table
- the data still same not updated at all
I hope that was clearly giving you enough information. I’m using version 7.9. Im looking forward your answer. Thank You