forewarning

1.

การเตือนล่วงหน้า

to tell someone that something unpleasant is going to happen:

:
The employees had been forewarned (that) the end-of-year financial results would be poor.