You need to sign in to do that
Don't have an account?
Krystal D. Carter
Autopop Custom Task Field from Related To Custom object
I have a need to autopopulate a custom task field called "Signer" which would come from my custom "Agreement" object related to my task. I'd need the logic to look something like this:
If Task's "Related To ID" starts with "a0Z" (which denotes the custom Agreement object)
THEN populate Task's Signer__c with the Related Agreement's Signer's name. (Signer on the Agreement is a lookup field, so I want the Name (String) from the record selected in the lookup ie: Agreement.Signer__r.Name__c (something like that.
lease help! Thanks, community!
If Task's "Related To ID" starts with "a0Z" (which denotes the custom Agreement object)
THEN populate Task's Signer__c with the Related Agreement's Signer's name. (Signer on the Agreement is a lookup field, so I want the Name (String) from the record selected in the lookup ie: Agreement.Signer__r.Name__c (something like that.
lease help! Thanks, community!
I've whipped up a quick and dirty example below, but haven't checked it for any errors
All Answers
You may want to try it out first and if you need any help with the trigger let us know.
I've whipped up a quick and dirty example below, but haven't checked it for any errors