+ 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,