The professor _____________ in Punjab when he received notice of his transfer.

The professor _____________ in Punjab when he received notice of his transfer.

Explanation

The professor  was travelling in Punjab when he received notice of his transfer.

We use were for plural and was for singular.