You need to sign in to do that
Don't have an account?
Ishan Singh 4
How can I access a custom field on Lead object from Task object in Apex class
There is a custom field name - RR id on lead object.
I want to access that RR id field in my apex class from Task object
I want to access that RR id field in my apex class from Task object
The Who Id field on Task looks upto Contact or Lead. Can you try something like this?
If you find the information I shared useful, please mark this as solved by selecting this answer as best. It may help others in the community. Thank You!
Anudeep
I have created new task.
Now I want that if RRid field(on lead object) value = 1 then task owner = XYZ
Thank you!