I have a SharePoint list. If a new item is inserted, then I need a hierarchical workflow to approve it.
I mean, each employee's manager will be different. If an employee inserted an item to this list from HR department then it should approve from HR department manager, if an employee inserted an item to this list from finance department then it should approve from finance department manager, and so on.
So how we can achieve this type of workflow. I am using SharePoint 2013.