What's new in Customer Journeys?

Connect and learn more!
AfterCreate Trigger to Autopopulate LeadName from Contact Page — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

AfterCreate Trigger to Autopopulate LeadName from Contact Page

Received Response
edited Jul 14, 2014 4:00PM in Sales 1 comment


We are trying to use <After Create> Trigger to Auto populate Lead Name from click of create Leads on Contact Page.


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)


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,'')

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!