Hi iam working on one scenario.. employe A send a Requesting mail to Project manager B,
project manager B approves a request from employee and send the mail to project manager C for further process,after approving from project manager C it
will go to department head like this...
here A is a reportong to PM B,
and PM B is reporting to PM C,
therefore the mails from A,it has to go to PM C,it should not go to PM B(it should automatically skip),
here it is n level and it should be dynamic
iam storing immediate reporter in table ,i have to fetch this value for immadiate reporter