There is a way to do this with the behavior settings.
Instead of using the default pathfinding obstacles (All Solids), you can specify which objects are obstacles using the Custom option.
You then have to specify which objects are obstacles in the Pathfinding -> Add Obstacle action.