What is the difference between data action and  aggregate

I am using the step wizard form, and after clicking previous button my selected city data gone  When I am trying to fetch city according to stateId using aggregate its not working but with the help of data action its working properly why?


Hi Megha,

I saw you oml and you need to use OnParameter changed event for block so whenever parameter change data will change as well.

You are using this aggregate as OnlyOndemand.

go with this link-


I am using on demand because according to country , I want the state and according to state I want city in a single web block, so if I will use  On Parameter changed event for block, it will not work in my case. But thanks for your support.  

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.