You need to sign in to do that
Don't have an account?
Trigger help - Delete values in a field at a specific time
I need help writing a trigger that will delete the values in a field at a specific time.
Basically the way it would work is that if Account field "A" is populated then delete the the values in the Account fields B,C,D,E to 0.00 at 11:59PM.
Thanks!
So, you are saying, at every day at 11.59 pm, wipe fields B,C,D,E if A is populated?
You might need to have a look a Scheduled apex running each day. But you can only run at a time window, you can't hit run it on a specific minute, as scheduling isn't refined enough.
All Answers
So, you are saying, at every day at 11.59 pm, wipe fields B,C,D,E if A is populated?
You might need to have a look a Scheduled apex running each day. But you can only run at a time window, you can't hit run it on a specific minute, as scheduling isn't refined enough.
Yep. Thats what I want to do. I just have no clue how to write a trigger for that.