You need to sign in to do that
Don't have an account?
EdCode
How to emulated a Process Builder Scheduled Action with Apex
Is there a way, with Apex, to deliver the folowing requirement:
When Now() falls withing 45 days before a deadline DateTime on the Account, then in such scenario:
First: verify if this Account already has a Case with criteria xyz; if such Case record already exist, update it;
Second: if no such Case exists, then create a Case with attributes xyz.
When Now() falls withing 45 days before a deadline DateTime on the Account, then in such scenario:
First: verify if this Account already has a Case with criteria xyz; if such Case record already exist, update it;
Second: if no such Case exists, then create a Case with attributes xyz.
change field api names, syntax as per your requirement.
If this helps solve your problem, please mark this as BEST ANSWER, so that others may benefit as well.