I have a use case to simplify let take an example.
Assume we have product that can be bundled.
Product A is single SKU. Product B is bundle of Product A plus some extra cost (eg packing cost). Product C is bundle of Product B plus some extra cost.
User has option to either modify the price of Product A or Modify the extra cost associated with Bundle of Product B and C.
Now when user change Price of Product A, that should reflect changes to Product B and Product C.
Additionally, User can also keep the price of Product A same but change the packing cost of Product B which will change price of Product B and hence price of Product C.
I am trying to solve this by creating an action that recalculates the price but I have to run the action 'n' number of times for the changes to traverse through different level.
Is there a way to automatically run the process a set number of times based on which Level, A,B,C (user made the change).
I might have oversimplify the ask, so let me know if I can clarify.