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
dgrissendgrissen 

Timer functionality?

Hi there,

I've been struggling to figure out a way to achieve the following:

1.  Setup an event
2.  Evaluate (hands off - no record edits or creates) whether the system time = the event due date time

I couln't determine any native field changes at the event level that occur once the due date/time passes.  Workflow rules won't work because the record has to be created or edited.  S-Controls won't work because a user has to invoke.   I don't see a way in which Apex code triggers can work, but perhaps I'm not being that creative.

I basically want the sf.com system to be able to do *anything* based on what time it is, rather than needing an external system to ping every n seconds.  I was hoping to accomplish this with Apex code.

I also don't want an infinite Apex code loop if possible.

Any help would be much appreciated!

Thanks,
Darrell
SuperfellSuperfell
You want the time based workflow feature that's in the pipeline.
dgrissendgrissen
Thanks Simon, can't wait.

In the meantime, is there some sort of hack/way around without the need for using an external system to 'ping' salesforce.com on a regular basis?

Thanks,
Darrell
SuperfellSuperfell
Not that i know of.
mtbclimbermtbclimber
The only time-based anything in the salesforce.com system today is Case escalation rules. Not sure what you'll be able to do with that but a search in help for that should get you to the answer.