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
RaghavenderRaghavender 

Introduce latency in Trigger Execution based on a Filed value received in the trigger

Hi , 

 

We are trying to Introduce latency in Trigger Execution based on a Filed value received in the trigger.

Could nay one share code if they have done any thing similar.

 

Thanks.

 

Regards,

Raghavender

bob_buzzardbob_buzzard

So are you intending to stall the trigger based on a field for a certain amount of time? If so, I've never seen anything that would facilitate this - the reverse is normally true, that you can't carry out actions that would hold the trigger up.

 

Have you considered using @future methods or scheduled apex?