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
Animesh DattaAnimesh Datta 

Need to blankout a datetime field


I have a Object Asset_Search. It has one date time field Futute_Remote_DateTime which can set manually set by Agent. I need to blank out this date/time field when Present datetime becomes equals or Greater compared to Future Remote DateTime. I tried with Workflow rules. But it is not working.

Kindly Help!

You can do that using workflow rule itself. What evalvuation criteria you have set it for the workflow rule. Try with every created or edition option, can you share the ruel ceriteria of your workflow rule. Note: workflow rule won't get trigger automatically for the old records, unless untill you perfrom update on the old records either manually or programatically.

If you want to check that value and update the record on daily basic without manaully editing the record, you have to write schedule batch class to check and update the record automatically on daily basis.