function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Susanta ChakrabortySusanta Chakraborty 

Need to Uncheck a Checkbox field based on Date criteria

Hi Team

I would like to know, how a checkbox field automatically uncheck based on some date criteria through workflow time trigger. Basically logic should be..

If date_field_c + 1=today() then field update happen (checkbox_field_c = unchecked)

I already implemented one workflow but it did not work well. I am mentioning my workflow logic below:-
RecordType.Name = "Field Staff" && ((End_Date__c + 1) = today())

Field update:-
New Field ValueFalse

Please let me know how I can resolve the issue.
Best Answer chosen by Susanta Chakraborty
Satish.jgecSatish.jgec
Hi Susanta,
1. Use RecordType.DeveloperName
2. Workflow criteria: created, and any time it's edited to subsequently meet criteria
3. Select Date as 1 day after the End_Date__c for the workflow to trigger.
4. Field Update : select the checkbox and mark it as FALSE
5. Activate the workflow

Let me know how it goes.

Please mark the answer as "Best answer" if you find it useful so that other user can be benefited by it.

All Answers

pavan501pavan501
Hi Susanta Chakraborty,

Evaluate the rule when a record is:
  • created
  • created, and every time it's edited
  • created, and any time it's edited to subsequently meet criteria

You might have selected 3 option for rule criteria. So The rule is evaluated when a record is created, and when a record that doesn't meet criteria is edited to meet criteria.

Please check  1) if you have met the rule criteria while editing the record.
                       2)if you have activated the workflow.




Mark as best answer if this helps.
Susanta ChakrabortySusanta Chakraborty
Hi Mr Pavan

Still the problem is not resolved. Please let me know if there is any alternate way or let me know the specific formulla that I have to build up in workflow.

Looking forward for your reply.
Satish.jgecSatish.jgec
Hi Susanta,
1. Use RecordType.DeveloperName
2. Workflow criteria: created, and any time it's edited to subsequently meet criteria
3. Select Date as 1 day after the End_Date__c for the workflow to trigger.
4. Field Update : select the checkbox and mark it as FALSE
5. Activate the workflow

Let me know how it goes.

Please mark the answer as "Best answer" if you find it useful so that other user can be benefited by it.
This was selected as the best answer
Susanta ChakrabortySusanta Chakraborty
Thanks Mr. Satish. it works now......
Vicintas-GVicintas-G
hi Susanta,
                  check this once 
1). Date_Check__c field with data type Date
2). Date_Check_Box__c with Default Value checked
3). create work flow with 
                   Evaluation Criteria = created, and any time it's edited to subsequently meet criteria
                   Rule Criteria   =  formula evaluates true 
                        formula is :   Date_Check__c   =  TODAY() + 1
4). Workflow Actions  
                          Field Update : select false (unchecked) radio button for  Date_Check_Box__c
Satish.jgecSatish.jgec
Glad to know it works.