even if the transfer is denied, you still can work for the current company.
I suggest you to process the transfer.
If the company waits for you, great. If not, just stay in your current company.
Make sure not to tell your boss until the transfer is completed and the other company give you the offer.