Hello!
I have Delayed trigger- runing 2 hours after I creat a record- the trigger type is object script.
During these two hours one of my fields changed from: false to true- this field determines whether the code will run.
I noticed that the code ran only in relation to the field value at the time the record was created and did not refer to the change made during the two hours from when the record was generated and until the code ran. Is it a bug or is it built-in?
Thanks!
Tehila
Hello Anoop! Thanks for your answer!
I used object script...
How have you configured this - "this field determines whether the code will run"
If you have used "On Field Change" then this will be evaluated at the time of trigger queuing and not at the time of trigger execution (2 hours later)
For achieving some conditional logic at execution time, I suggest you add some logic at beginning of the object script itself
Hello Anoop! Thanks for your answer!
I used object script...