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
Chris Ward 23Chris Ward 23 

Workflow not kicking off from formula field

Hello, I'm fairly new to salesforce and still learning. I've built a formula field that unchecks a box if an entitlement has expired by date. Then I built a workflow to kickoff when the checkbox is unchecked and have it  update a field. The formula field works as expected, but the workflow doesn't kickoff. Can i not do this with formula fields?  
Maharajan CMaharajan C
Hi Chris,

You can't use the Formula field to trigger the Workflow Rule.

As an alternate go for th two workflpw rules:

1st Workflow rule ->  Time dependent workflow --> Shedule the Field update on Entitlement due date to update the custom check box field as False.

2nd Workflow Rule ->  Based on the above custom check box field fire the Action fire the second workflow.

https://success.salesforce.com/ideaview?id=08730000000BrIGAA0
https://salesforce.stackexchange.com/questions/82004/process-builder-triggering-on-formula-field-update

Otherwise go for the Batch Class.


Thanks,
Maharajan.C