Questions tagged [lead-conversion]

When you convert a lead, Salesforce creates a new account, contact, and, optionally, an opportunity using the information from the lead. Any campaign members are moved to the new contact and the lead becomes read only.

Filter by
Sorted by
Tagged with
0
votes
1answer
20 views

Remove Automatically the Lead record after is converted in a Contact

How to avoid isconverted, I need to remove isconverted automatically after the lead has been converted to a Contact. How can I do that? Thanks Jose
3
votes
1answer
35 views

LeadConvert getAccountId() isn't working as expected, returns nothing

I'm trying to change the record type of a newly created account following lead conversion. The documentation states that: getAccountId() - Gets the ID of the account into which the lead will be ...
0
votes
1answer
10 views

In lead conversion page, instead of '--None--' option for Account Name field. I want to pre-populate existing account

Detailed requirement: I have Account lookup field(Field Name is "Existing_Account__c") on Lead object. In lead conversion page salesforce by default displays "--None--" option for Account Name. But ...
1
vote
0answers
30 views

Convert Lead activity issue in JB

Journey ScreenshotOur MC org is integrated with a Sales Cloud org. I have attached Journey screenshots with client name blanked out. I have been trying all sorts of configuration options on the "...
0
votes
2answers
23 views

Validate Lead RecordType matches Target Opportunity Record Type before Converting

Scenario We have two types of opportunities and two types of leads. The two opps are for different business processes related to the customers specific needs. We currently have sales agents able to ...
0
votes
1answer
11 views

Avoid or prevent Lead edition when status is “Qualified”

I have the next requirement: When users set lead to 'Qualified', I want a way to prevent them to editing any field. I've tried some things like validation rules like this: ISPICKVAL(PRIORVALUE(...
0
votes
0answers
11 views

Lead Conversion Error with Lead Source Dependent Picklist

We need a choice in our Lead Source option referral, so we created a dependent picklist for referrals. This referral source field gets pushed to the contact and account records when the lead is ...
0
votes
0answers
13 views

LeadConvert - Do not Create a contact like setDoNotCreateOpportunity(True);

I have some older code where when we do a lead convert we can either create a new contact if one is not found or update an existing contact. When creating a new contact this works fine: Select Id,...
1
vote
0answers
15 views

Contact Process fails when converting Lead

What I'm trying to do When the Contact Email field is updated, add the Email field value to a custom field in the related Account record. How I'm trying to do it Using a Process. It is configured ...
0
votes
0answers
8 views

Hide lead records from global search and list view including system admin

I have implemented lead conversion from apex class. I have done that correctly. But after the conversion I want to archive the lead(Hide the lead from list view). In standard lead conversion ...
0
votes
1answer
82 views

How to use google lens to scan business cards and save the fields in salesforce lead and contact objects?

I am trying to understand how the Google lens for card scanner works? If there is a way to implement that which Salesforce. For example if you scan a card from mobile using Google lens card scanner ...
0
votes
1answer
48 views

Before Trigger on Lead Conversion doesn't appear to be firing in Test Method

I am writing a test to test lead conversion. The test is failing because the lead has a failing lead validation rule that checks a custom field value that is set using a Before trigger. However, even ...
0
votes
2answers
59 views

Validation Rule on Lead Conversion

I have a validation rule on Opportunity that I want to fire only when a new opportunity is created without Lead Convert process. It should not fire when an opportunity is created using Lead conversion....
0
votes
1answer
22 views

WHich fields are changed by Salesforce internally when a lead is converted?

When we convert a lead to a account which fields are changed internally by Salesforce for example: Lead Status is changed to Closed Converted, isConverted is changed are there any other fields which ...
1
vote
0answers
19 views

Does Apex lead conversion trigger Contact before/after insert triggers? [duplicate]

I have some updates I'd like to make on converted leads. I had it in my lead code - first convert the lead, then query for the converted contact and update. However, that was triggering ...
0
votes
1answer
22 views

How to import conversions from custom object into adwords from salesforce sales cloud?

I've implemented standard salesforce & google AdWords integration. Though, this integration only syncs Lead & Opportunity object. How do I connect a custom salesforce object with Adwords and ...
0
votes
1answer
12 views

Can I create custom paths for lead or opportunity number/conversions according to lead source?

I wanted to create a guided path in sales cloud for leads & opportunity. This path should be different for leads/opportunities from a different source. For example - I want to create a separate ...
0
votes
1answer
20 views

Insert code into lead conversion process?

We are trying to add some custom code in lead conversion process. When converting a lead, we need to generate a record of a custom child object or Account? I am not thinking about a custom lead ...
0
votes
1answer
26 views

Workflow to edit fields on converted leads

I'd like to create a workflow (ideally in Process Builder) that changes LeadSource on the Lead record after it has been converted when AccountSource is changed on the Account. Context: inbound leads ...
0
votes
1answer
61 views

Duplicates detected when using Database.convertLead in After Update Trigger

I have an After Update Trigger on Lead which calls Database.convertLead The code below is run within the trigger: for (Id recordId : leadIds) { leadConverter.setDoNotCreateOpportunity(true); ...
0
votes
1answer
61 views

Selecting Lead status qualified not converting lead

When a user selects 'Qualified', the Lead doesn't Convert and this is messing with our reports. I would like to not allow users to select the Lead Status 'Qualified', and the only way for a Lead to ...
1
vote
1answer
90 views

Validation Rule Error when converting a lead

I have two picklist fields with dependencies in place. One is Lead Status and One is Status Subcategory. I have a VR so that forces the user to complete the Status Subcategory if the lead status is ...
0
votes
1answer
81 views

Lightning Lead Convert Modal

Prior to the Summer 19 Release the 'Convert' button on Leads would open in the a modal popup as shown below: However now when our users click the convert button the screen opens in a sub tab and does ...
1
vote
1answer
66 views

Validation rule on lead conversion. preventing specific users ownership of records

I'm trying to prevent a specific user from owning Opportunity/account/contact records upon reassignment on lead conversion. Here is what i got so far and I cant seem to get it to work... Any kind of ...
0
votes
1answer
37 views

Lead Convert Issues

I have recently created a process builder that sets the lead type based on fields, date stamps when moved through the lead process stages, and sends email alerts when criteria is met. My users ...
0
votes
0answers
26 views

Multiple Lead Converter

Does anyone use the application Multiple Lead Converter? I installed the application but I am not able to see my leads on the Convert page.
-2
votes
1answer
57 views

Redirect to Opportunity on save of task on the lead

The requirement is whenever a new task is created on the lead. The lead should get converted into Account/Contact/Opportunity and I am able to convert it using standard LeadConvert class But after the ...
1
vote
0answers
41 views

Lead on Financial Service Cloud

Is there a way we can remove the existing lead record types and create a custom record type but will populate on the referral summary in the Accounts? Our Scenarios- A lead is an individual person ...
1
vote
2answers
88 views

Trigger on Lead - Variable does not exist: isConverted

Trying to write a trigger that runs on lead conversion after update, I get the error above on trigger.oldMap. What am I missing? public with sharing class LeadTriggerHandler extends TriggerHandler{ ...
1
vote
0answers
47 views

My Conversion trigger is taking so much time

Currently, I'm working on the parent-child relationship in lead object. We have a few criteria's while converting a lead We are restricting reps to converting only parent lead. And only the top 20 ...
1
vote
1answer
135 views

Why is my Lead Source not mapping over to Account & giving me an error?

When trying to convert a Lead with a Lead Source set, It will not convert and I receive the following error: Error: Your lead is missing a field mapping for the Account.Lead Source field. For help, ...
0
votes
0answers
111 views

Future call firing twice on leadconversion trigger

Here is a brief of what i am doing on my trigger Before update and Before insert updates a Account lookup field After update and after insert converts the lead if the lookup field is filled in ...
0
votes
1answer
24 views

Assign Lead To a person

I create a new lead. Based on a criteria, I assign to another person. In this case 5 == 5, so it will always be true. How can I confirm the lead has now been assigned to this person.
0
votes
0answers
25 views

I have 2 lookup fields in Lead for 2 different custom objects. I want to map both of them to 2 Opportunity custom fields upon Lead conversion

Brands__c , Corporate__c are two custom object. I have two look-up fields in Lead form to set Lead's Brand and Corporate Just as Account and Contact. Now I want to move both fields to opportunity upon ...
1
vote
0answers
34 views

restrict the user to create only new Opportunity during conversion

During Lead Conversion, user can select existing Opportunity in Lightning. But I want to restrict the user to create only new Opportunity during conversion. How can I achieve this?
0
votes
1answer
38 views

How to perform lead conversion activity based on the email click in marketing cloud?

I want to send an email to my leads with a clickable button with unique url. I want to put a trigger base activity which converts lead into opportunity as soon as user clicks on that button. I know ...
2
votes
0answers
88 views

What determines the Person Account Record Type pre-selected when converting a Lead

I am converting a Lead into a Person Account. I have two Person Account record types: Person A and Person B My profile has record type Person A is my default Person Account record type. But when ...
1
vote
1answer
95 views

Error when converting a Lead record

When converting a Lead record the following error message is displayed: System.DmlException: Insert failed. First exception on row 0; first error: INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST, bad value ...
0
votes
1answer
57 views

Link files lead to new custom object

On Lead conversion I also create a new object to which I map several fields of the lead trough processbuilder. I also want to pass the files from the lead to the new custom object. I am trying to do a ...
0
votes
1answer
43 views

Convert files Lead to Custom object

I have files (ContentDocument) attached to a Lead on conversion I map the Lead to a custom object trough process builder. Is there a Id or field I can use to map the files attached to the custom ...
0
votes
1answer
70 views

How to copy Lead related objects to Opportunity when Lead Converted

I would like to copy all related Lead Products from Lead to OpportunityLineItems for the Opportunity when the Lead is converted. I thought there might be a base Apex class I could extend to ...
0
votes
0answers
25 views

Update Account level fields through journey builder based on the response received from email sent to Lead?

We're using marketing cloud, integrated with sales cloud, to send emailers. There are two objects, "Lead" & "Account". Both object have a field named "email_status". Whenever a new Lead is ...
1
vote
1answer
405 views

Convert Lead button working in Lightning and Sandbox but not Classic

The Convert Lead button has suddenly stopped working in Classic. The button is on the lead page but when clicked nothing happens. No changes have been made to permissions and I've rechecked them all. ...
1
vote
0answers
48 views

Lead conversion in unit test with wrong Account Record Type

I have an Inbound Email Handler that automatically creates a Lead and converts it. The Record Type for the corresponding Account is correctly set to the default Account Record Type that is configured ...
0
votes
1answer
112 views

Avoid duplicate lead name creating instead of lead name , update all details using Trigger

This trigger is basically fired on before insert & before update. I am trying to automatically convert lead to Account,Contact & Opportunity. My condition is when an Same Name Lead is inserted ...
0
votes
1answer
328 views

Forcing validation rules to work a lead is converted

I have four custom fields in a lead that are mandatory when creating an opportunity. I have validation set up that if you try to create an opportunity it blocks you from saving if you have not filled ...
0
votes
1answer
734 views

Opportunity was NOT connected to Campaign - how to fix?

I had a lead created on 10/15 and added to a campaign. Then on 11/1, that lead was converted to both a contact, opportunity, and attached to an existing account. When I look at the details for the ...
0
votes
0answers
92 views

LeadConvert Troubleshooting

How can you diagnose errors with the LeadConvert class? I built this class out in a scratch org and it worked perfectly fine. I pushed that to a sandbox and now I cannot get it to work. I deactivated ...
0
votes
2answers
477 views

How to remove convert option from lead status path?

I have written my own custom lead conversion by adding separate button and its working fine, but from lead status path button it is still working as default. I want to remove this "convert" option ...
1
vote
0answers
49 views

My AutoConvert Lead trigger will not deploy in production

I have create an AutoConvert lead trigger to convert a lead if a specific field gets populated. It works fine in Sandbox, but when I try to deploy it in Production, it fails. I'm driving myself crazy ...