We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
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

I want to create an Activity record associated to a Lead when the Lead is created

Received Response
1
Views
3
Comments
edited Jun 18, 2022 9:48PM in Sales 3 comments

Summary:

I use a Before Insert trigger to do that, but the Activity record need LeadId in order to associate the activity to the lead. But when the trigger is executed, LeadId is not already seted up, I think, so cannot use it to make the association.

Any idea to accomplish this in another ways?

Regards, and thank you in advance.

Content (required):


Version (include the version you are using, if applicable):

Oracle Cloud Application 22A (11.13.22.01.0)

Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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