You need to sign in to do that
Don't have an account?
Time based action in Apex
Dear All,
I have the following project to develop: when a Case is submitted to us, we have to first-respond it within a certain time (our SLA due date/time). I would like to implement an Apex (trigger or Class?) that fires a notification (an outbound message, or email alert ...) 5 minutes before the SLA due date/time. For example:
a case is created on 05/01/2018 at 8.00AM with priority P1. It must be first responded within 15 minutes that means, at 8.15AM (this is our SLA due date/time). I want to be able to send a notification 5 minutes before we hit the SLA due time.
The notification (either an outbound message or an email alert) should be sent at 8.10AM, 5 mins before the SLA due date/time: 8.15AM.
I know there are Workflows and time-based action, but would it be more accurate doing in an APEX class? if so? how?
How can I also repeat the notification many times?
Thank you.
GC
GC
In this scenario sync apex code or asynch batch apex is not suitable. I would recomond to go for time based workflow only.
Steps :