You need to sign in to do that
Don't have an account?
FTeoh
Trigger to update checkbox based on date set by user
Hi, I am new to triggers and would love some help. I have 2 fields which are:
E.g. when End Date = 15 September 2015, on that day itself, update the Active flag to FALSE.
Is this possible?
- End Date (date field)
- Active (checkbox)
E.g. when End Date = 15 September 2015, on that day itself, update the Active flag to FALSE.
Is this possible?
- Use a formula field of type checkbox that returns true when today's date is >= the end date
- Use a process to execute a schedule action and a record update, to update a checkbox on the record.
Good luck!formula value: IF( End_Date_Test__c >= TODAY(),true,false) (You may want to take care of negative conditions, such as null date value, if the field is not mandatory)