Deleting WEB UI message via background job
I have a scenario where i want to remove/prevent an error message from CRM WEB UI via a background job. A background job is running continuouly checking for a particular condition. If that condition is satisfied, then the message should not appear on the UI. Message comes automatically and we do not have control on that.
My doubt is:-
a) Is such a thing possible technically?
b) If yes, what should be the approach?
c) If no, what should be the workaround/alternate approach for this scenario?
Please provide me some pointers on this as i am really stuck now.
Thanks and Regards,