The statute protects workers from elevation-related hazards while they are involved in the erecting, demolishing, repairing, altering, painting, cleaning, or pointing of a building or structure, or acts ancillary to those activities. Where the worker is engaged in routine maintenance, the statute is inapplicable.
Garnett v. Wappingers Cent. Sch. Dist., NY Slip Op 02600 (2d Dep't April 18, 2018)
Here is the decision.