You need to sign in to do that
Don't have an account?

Lead information on a Task
Good day. I am not sure if this question should be here on on the Formulas and Validation Rules board, so I am posting it in both places.
We have a need to take Lead information (phone number, State, etc.) and have that info appear on the Task when a Task is created for that Lead. I have been struggling with this for a while and it's driving me crazy. I would seriously give someone some $ if they could give me a way to do it.
Thank you!
R
I hope to be, you can buy me a beer at the Expo ;)
Definitely mark this question as answered too, if you don't mind!
All Answers
Here's a trigger on Task before insert that would do it:
So with this formula, it will take all of the info we are requesting (select id,Company,Street,State,City,Phone,PostalCode) and put it into the comments section (tsk.Description = tsk.Description) of the Task, correct?
If I wanted to link a specific field on the Lead to a specific field on the Task, what would I add?
Thank you so much for all your help!
R
Yes, that's correct.
I'm not sure I understand what you mean by 'link a specific field'. Could you clarify?
For example, if I wanted to take the phone number from the Lead, and have that number put into a field on the Task called phone number, what would I need to add?
Thank you for your time!
Rob
You'd change this line:
I think I see how to do that. I will give it a try. If you'll be at Dreamforce, let me know. I owe you something for this for sure.
Thank you so much!!!
I hope to be, you can buy me a beer at the Expo ;)
Definitely mark this question as answered too, if you don't mind!