How to display data on a table in form


Hi everybody.
I'm using Bonita7.1.2 and I'm managing the web service tutorial in bonita 6.5 documentation

Everything seems ok, I can call the web service and retreiving data, but I can't display those data in a table.
This is what I get in page. Where I'm wrong? Can anyone help me?


and this is how i mapped my variable in form


thank you all

1 answer

This one is the BEST answer!


First I just want to suggest to use the version of the tutorial update for Bonita BPM 7.

About the issue you have displaying web service answer in the table widget that due to an incorrect data format. In fact the table widget expect to receive a JSON with an array of objects (see documentation). Here you provide an array of arrays.

You might want to use a JavaScript variable to do the transformation from Array of Arrays to Array of Objects.


Submitted by michele.pantano on Sun, 11/22/2015 - 12:19

Hi Antoine,

thanks for your reply.
In the meanwhile on friday night I solved my problem, by converting my Arrays of Arrays into an Arrays of Json Object. My mistake stems from the fact that I used to use an old version of Bonita (5.10) and I'm not yet so skilled with the new version of Bonita 7

Submitted by antoine.mottier on Mon, 11/23/2015 - 09:24

That's good news! Thanks for providing feedback.