items

Sum of items

Actually I use Bonita Studio Community 7.5.4

Context:

I have created a form where I have a collection with a field called subtotal, therefore for each new collection another subtotal field is added so that they can be from 1 to 10,100 or 1000.

Problem:

How can I add up all the subtotals that are generated?

I think the best way to do this is in a script because I need the total value to meet a condition on a gateway or if it is possible to do it from the form, could you give me ideas on how to do it!

Thanks in advanced!

How to tell UI Designer how to sort items in a collection

Hi, is there a way I can tell the UI designer how to sort items in a collection (composition relatioship of business objects)? The individual item in the collection has various attributes that could be used to sort asc or desc.

Notifications