Comments (4)
Hi @trilame, thanks for reporting the issue. When I get a chance to dig into this I'll follow up.
from sfdc-lead-conversion-record-types.
Hi @trilame, I've updated the code so the tests pass. You may want to check out my latest blog post on using Process Builder for a non-code solution: https://douglascayers.wordpress.com/2016/06/26/advanced-lead-conversion-with-process-builder/
from sfdc-lead-conversion-record-types.
Hello,
It works very well now! Thanks a lot for all of this.
I also checked the solution through the process builder, which looks great: maybe I'll try this one on another instance.
from sfdc-lead-conversion-record-types.
Hi @trilame, I think I see the issue. The test code is looking for specific record type names which likely don't ever exist in other people's orgs. I believe this can be improved by just dynamically grabbing a record type from each of the objects so that existing record types in a customer's org are used and the test should pass. But... an even better solution is to use Process Builder!
Before Process Builder was released my only option was to go this route with apex code. I will write up a blog post how to do it with Process Builder so you don't have to wrangle with all this code =)
Thanks,
Doug
from sfdc-lead-conversion-record-types.
Related Issues (2)
- Can not deploy the code HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sfdc-lead-conversion-record-types.