function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Joseph AJoseph A 

Creating customer support /sales team notifications / alerts

Hi'
Number of fields in my Account object needs to be verified against a remote API prior to be updated. Now, due to how SF triggers / classes / HttpResponse limitations I ended with logging errors into a custom object which contains message, user id and a display flag (true/false). The idea is to retreive messages by user id, display in an alert window and mark as displayed.
Now I'm cosidering running a scheduled task every a few seconds to retreive and display notifications. Number of issues I'm facing right now:
1. Is it possible to display a custom popup on SF lighting or some kind of notification from scheduled Apex class?
2. Is there any other more sufficient way to display alerts (sending emails is not really an option here)?