You need to sign in to do that
Don't have an account?

Timer functionality in Apex
Hi,
Is there a timer functionality in Apex? I want to be able to schedule some operations on a periodic basis.
The second related question is to invoke something that is only accessible from a UI control (from an installed package for which either the backend code or the web service is not available). Is it possible to simulate a mouse click based on a timer event?
Thanks in advance!
Is there a timer functionality in Apex? I want to be able to schedule some operations on a periodic basis.
The second related question is to invoke something that is only accessible from a UI control (from an installed package for which either the backend code or the web service is not available). Is it possible to simulate a mouse click based on a timer event?
Thanks in advance!
No, Apex code cannot simulate a browser click.
thanks
If you have a lot of user activity, this could run into governance issues, so you would probably want to have the triggered calls going to a wrap around function that merely checks whether enough time has passed to do the rest of the procedures.
If this isn't clear, let me know and i'll clarify. Would love to hear back about how it works out if you decide to try it...
Is it possible to create a clock in apex class?