Calculate entity attribute based with microflow

0
Hello,    I am trying to calculate an entities attribute based on ‘activities’ which are assigned to a patient's treatmentplan. These activities have a costs and the total expenses should be calculated by summing up these costst. I have tried doing this with a microflow, but I don't get any value returned.    This is my domain model: I have tried calculating the attribute ‘Expense’ with this microflow: Is there something wrong with the logic of the microflow?
asked
1 answers
0

hii 

Granit Krasniqi,

why you use  change variable and create variable in microflow directly return $SumCost at End Event 

answered