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
hari0853701703454959hari0853701703454959 

Trigger for Lead

Hi ,

  Can you make it so that the Lead Attempt count is reset to 0 if the Lead is moved from Lead Status = Nurture to Lead Status = Open.  If new tasks are created after status is changed to Open only the net new tasks should be counted.  DoesThey also have a new requirement.  Can you make it so that the Lead Attempt count is reset to 0 if the Lead is moved from Lead Status = Nurture to Lead Status = Open.  If new tasks are created after status is changed to Open only the net new tasks should be counted.
Thanks
hari

Ramu_SFDCRamu_SFDC
You can accomplish this through trigger. To do this, you need to capture and store the date when the lead status is changed from Nurture to Open and based on this date you can count the tasks created later to this date.
hari0853701703454959hari0853701703454959
Hi Ramu, Can u write trigger for the above requirement .... Thanks hari Thanks&Regards *Hareesh.I*