Skip to main content
I wrote a trigger to create a list of tasks with due dates System.today(), System.today()-1,System.today()-2 etc. But i didnt get duedate on 2 tasks. I didn't understand why iam getting like this. I cross checked and found no other triggers/workflows/process builder tasks found in my org.

 

Hi Everyone,

 

Please Help me on that..

 

Thanks in Advance.
4 answers
  1. May 26, 2018, 11:47 AM
    Sravya,

     

    Your t2 and t3 variable of Task are referring the t1.Activitydate in them. You're not even setting the Due Date for these two instances. 
0/9000