AfterCreate Trigger to Autopopulate LeadName from Contact Page
Content
We are trying to use <After Create> Trigger to Auto populate Lead Name from click of create Leads on Contact Page.
Requirement:
Suppose a Contact has First Name: T1 and Last Name: T2
Then on click of Lead link on the right hand side of the Contact, a new Lead page pops up.
In this new Leads page, we want to auto populate the LeadName as FN_LN_CreationDate_LeadINumber. ( eg. T1_T2_CreationDate_LeadNumber)
Issue:
Only LeadNumber auto populates, but the FN and LN does not.
Groovy Code on After Create Trigger
def value1 = nvl(PrimaryContactPersonFirstName,'')
def value2 = nvl(PrimaryContactPersonLastName,'')
1