Traversing hierarchy upwards until a certain level is reached.
I am designing an approval flow. In the current scenario, I need to email everyone up to a certain level of hierarchy for approvals. For example, if a developer request approval, it should go to his manager, sr.manager, director until the COO level is reached. However, if a manager request approval it should go to his sr.manager, director until the COO level is reached. Is it possible to do using Microsoft flow?