h1b transfer during india travel


Hi, I’m in the process of interviewing with a company that will do my h1 transfer if i get the job. I had a india trip planned before this opportunity came up. My current employer visa is valid for the next 12 months and i’m still working here. During my india trip, i will need a visa stamping as well for my current employer. The new job opportunity seems to be an urgent requirement and they might want to file for h1b as soon as possible(hopefully for me after my interview process!). Can i travel to india and come back when my h1 transfer process is initiated? I will still be an active employee of my current employer when i come back.

Thanks in advance. This information will help me decide on this opportunity.