There is our requirement.
We have different service catalog.
Like example :- Service Catalog below
AWS login request
2. AWS support request
3. Software installed request
4. Server decommission request
5. Server commission request
For example :-
A is a IT staff
B is a reporting manager of A and
C is a reporting manager of B and
D is a reporting manager of C
A request from service catalog “AWS Login request” – This request go to approval directly to D skipping B & C
A request from service catalog “AWS support request” – this request will go for each approval stage B,C,D
Note:- The script will look for the position Manager for the final approval