Calculation of Average Rating in Data Source Microflow without For First Option
0
Hello experts, I have a calculated attribute for the average rating. I would like to display this average on a page using a data source microflow. However, I want the average to be displayed only once and not multiple times. Therefore, I intend to use an object as the return value. But how can I calculate the average if I don't select 'for first' in the microflow? Can anyone assist me with this? Thank you.
asked
Albert Job
1 answers
2
Your average calculation attribute should be in a separate non persistable entity.
Create this object in the data source microflow. Calculate the value and pass the new entity as output object