Question

Refresh calculate field when detail is change

Hello community!

I need refresh a calculate field when the detail have a new field. Is posible?

Regards,

Like 0

Like

1 comments



Hi Federico,

Please refer to the following article on adding the calculated fields - https://academy.bpmonline.com/documents/technic-sdk/7-11/adding-calculated-fields.

In the example from the article this.calculateBalance function is being executed in the onEntityInitialized method. This function is responsible for the value of the calculated field to be refreshed after the page is opened. If you need the value to be updated after the specific action, you should remove the caloulateBalance function from onEntiutyInitialized method and add the conditions for the calculation to happen. 

Lisa

 

Show all comments