You need to sign in to do that
Don't have an account?
Chirag Verma 13
How to trigger a Task on lead when two fields are not matching of object which is related to Lead
Hi,
There is a custom object called Cart_c, and it is related to Lead.
in this object i have 3 fields
1) Latest Month, 2) Latest volume, 3)Last Volume.
so If (lastest Month == jan)
{
check Lastest volume (not equal to) != Last volume;
}
then we need to create Task on Lead.
Please help me i am stuck up on this from morning.
There is a custom object called Cart_c, and it is related to Lead.
in this object i have 3 fields
1) Latest Month, 2) Latest volume, 3)Last Volume.
so If (lastest Month == jan)
{
check Lastest volume (not equal to) != Last volume;
}
then we need to create Task on Lead.
Please help me i am stuck up on this from morning.
Greetings to you!
Please try the below code, I have tested in my org and it is working fine. Kindly modify the code as per your requirement.
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.
Thanks and Regards,
Khan Anas
But I need to write a trigger on Task object, whenever Cart__c fields are not matching, then new task should be create on lead