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
0answers
7 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
35 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
45 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
48 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
21 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
17 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
18 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
11 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
19 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
25 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
40 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
30 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
41 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
47 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
40 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
33 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
22 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
47 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
30 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
71 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
46 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
59 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
86 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
23 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
24 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
33 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
47 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
72 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
48 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
39 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
61 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
23 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
313 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
89 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
227 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
411 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
58 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
340 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
45 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 ...
0
votes
1answer
25 views

Adding a field value to an Account, before converting the lead

I have customized the lead conversion process, if i click on the button it will show all the duplicate Accounts on the popup window. There i have added 2 buttons Ignore & Create, Choose Selected. ...
1
vote
0answers
467 views

In Lead conversion, existing Account and Opportunity standard and custom field values are not visible in lead convert page

Created Lead with company name which is already available in the Account. Then I converted the lead to Account and Opportunity. In lead convert page I selected the existing Account, In Account compact ...
1
vote
1answer
718 views

How can I set the Account Record Type for Lead conversion?

I have a Lead that is automatically converted using a trigger. The default Record Type for this profile is Person Account and it works as expected. Now I need to explicitly set the Account Record Type ...
0
votes
1answer
25 views

Why are converted leads in reports by default? …and can I hide them?

If I hit a link to a converted lead I get presented with a notification that it has been converted with a link to acct / contact. However if I run a report on leads, converted leads are in there by ...
0
votes
1answer
177 views

OpportunityContactRole Query returning Empty List

I used a Query on OpportunityContactRole in Opportunity Trigger. for(OpportunityContactRole c: [SELECT Id, opportunityid, contactId FROM OpportunityContactRole where opportunityid in: newOpp]...
0
votes
1answer
948 views

Why Can I Convert Leads in Classic but not in Lightning?

System Administrator Profile with Convert Leads, and full access to accounts/contacts/opportunities On the classic page I can see the "Convert" button and it opens the lead conversion page, where I ...
0
votes
0answers
92 views

Process Builder not firing as expected

I have created a PB in sandbox where I am converting my leads into Contacts on the basis of custom checkbox field: Created in Admin Panel. So, my lead will only convert if this checkbox is true. I am ...
1
vote
1answer
129 views

How to get the standard behavior of lead convert in a custom page?

We Duplicate rules enabled. When converting a lead, a return page, with possible duplicates appear, with buttons: 'Convert to Selected' or 'Convert to New' We have a custom page for the lead convert,...
1
vote
0answers
64 views

How to display duplicate contacts on custom lead convert page?

I have a custom lead convert page. We have enabled the data.com duplicate rules, and now, when there is a duplicate contact upon conversion, I get an error on the custom page: Error:...