Interface Priority

Hello,
we are using hAP for Homeoffice users. Some users connecting the mikrotik to their private wifi and the router connects via ipsec vpn to our main office.
Sometimes the users are connecting the router via cable and so the router is connected via wifi and over ethernet to their home network.
Is it possible to configure a interface priority on the mikrotik router where the traffic should flow?
If the router is connected via wifi and cable the traffic should flow over ethernet.

Thanks and kind regards

Strictly speaking what you are looking for is not interface priority but default route priority. The route via ethernet WAN should have a lower value of distance value than the one via wireless WAN to be preferred.

If the IP configuration on one or both interfaces is obtained via DHCP, there is a parameter default-route-distance on the /ip dhcp-client row where you can set this up.

This is what I was searching for
Thanks and kind regards