this is a general comment only:
A steady check engine light is usually an emissions issue (ie. fuel cap not on properly, o2 sensor, nox sensor, water in fuel, etc.)
A flashing check engine light is not good shut down advised as soon as safely possible. engine derate will occur in some cases engine damage may occur.
If you run short trips (with diesel engine) and regen light comes on so you shut down because you are at your destination make sure you get the engine up to temp and take it for a long drive on the freeway so auto regen happens. If you can do a "parked regen" per manual.
On the newer DEF engines it is not considered good to let them idle for long periods if doing multi stops. In the past it was considered better to let it idle rather than multi start. Not so anymore.
I personally carry an extra fuel filter/water separator in the event I get a load of "bad fuel". Takes just a couple of minutes to change out the filter and be on my way. Do make sure you fill the filter bowl with fuel before restarting. Many times this has eliminated a check engine as stated in earlier post for me.
Just some general thoughts