Lawyers are finding themselves advising business clients that it’s better to invest now in rooting out workplace discrimination than to end up battling a claim in court.

Experts in the legal employment field see a trend coming, in part, from U.S. Supreme Court and state court decisions over the past five years that put liability squarely on the shoulders of management, unless efforts have been made to train and provide internal grievance procedures.