godan verb (-ru)
be about to go; start going; pass by
Describes being on the verge of departing or beginning to move, or happening to pass by a place. Often used in the form 行き掛かって or 行き掛かった when something occurs at that moment.
家を出ようと行き掛かったところで電話が鳴った。
Just as I was about to leave the house, the phone rang.
駅
When I happened to pass by the station, I ran into a friend.