You need to sign in to do that
Don't have an account?
catharsis50
Help writing a trigger to use value from a custom object
I have a custom object that populates of this formula:
IF( StartDate > Today(),'Pending',
IF(EndDate < Today(), 'Completed',
IF(OR(StartDate < Today(),EndDate < Today()), 'In Progress', null
)
)
)
I would like to create a trigger to populate the Campaign Status standard field with that value once daily after midnight so the status is updated. Is this possible how would I go about it.
Thank you!
AmitSahu
Write times based workflow... or schedule apex class