I have a Table, and I need to show the details of the row selected, below the table.

Hi all

I am a newbie at Bonita 7.2,
I have a Table where I show some values, and I want to show in a set of fields below the details of the row that you select, and edit this details. It is taking the values of the row selected, and show more fields of this record from data base.

I don’t know how to do it, I think that I have to retrieve this details from the data base and also find the way to refresh the values in the form.
I think I have to write a Rest Query to the data base to get the values, and then in the same form find a way of refreshing the values.
I don´t know if I have to make some custom widget(button) to make this request to the data base, and to refresh the data.

Thank you very much.

Any assistance would be greatly appreciated.

Kind regards,
Héctor

You can find an example on the link below, download and import the process.

https://github.com/Bonitasoft-Community/vacation-management-example

Basically, it uses the “selected row” variable from the table, and a request to the business object with the “context” of the task.
It works well.

If you want to create your own customized request within Bonita Engine, take a look at the following link :
https://github.com/Bonitasoft-Community/rest-api-sql-data-source

If this helped you, please mark the thread as solved on this answer.

Thanks,
Raphaël.