I've designed a workflow that will have 2-step approvals depending on a form variable. If the checkbox in the form is checked, it's a 2 step approval, else if the checkbox is not selected it will be a single step approval.
The first approver is set to be Dynamic - Group, and any member from the group can approve it.
The second approver should be the first approver's manager.
My doubt is how do I retrieve the first approver's id as a variable and fetch the manager's id to set him as the second approver?
Thanks in advance.