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
eswarsfeswarsf 

call Apex class or Workflow based on Field's time stamp

Hi All,

I have a custom field which is a Date\Time field.I wanted to invoke my workflow or Apex Classwhen System Time is equal to my custom field.Basically my custom Date field is a waiting timer .

Is there any way to acheive this?

 

Thanks,

JitendraJitendra

Why you are not using Schedular class when record created in Trigger.

Write a code in trigger to schedule the class which contains your code.

eswarsfeswarsf

Hi Jitendra,

this watiing period may vary from record to record.

 

Thanks,

JitendraJitendra

Hi,

So you can change the time even in Schedular for each record.

eswarsfeswarsf

Hi Jitendra,

Can you provide steps to change the schedular times once it has been scheduled.

 

Thanks,