You need to sign in to do that
Don't have an account?
![Karleen Mendoza Karleen Mendoza](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
Why doesn't Record Type ID work in Assignment element in Visual Workflow?
A portion of my visual workflow is creating a new account. Since the Account will always be a "Partner" account record type - I hardcoded the record type ID into the Assignment element, but when executing the flow, it assigns the account record to the wrong record type? Any ideas?
![User-added image](/forums/servlet/rtaImage?eid=9060G0000005Re4&feoid=Body&refid=0EM0G0000003EkU)
![User-added image](/forums/servlet/rtaImage?eid=9060G0000005Re4&feoid=Body&refid=0EM0G0000003EkZ)
I came across another question thats similar to yours, take a look at what people have discussed
https://success.salesforce.com/answers?id=9063A000000ZkyGQAS
Cheers,
Aparna Hegde
All Answers
Check this out - https://success.salesforce.com/ideaView?id=08730000000k3FBAAY.
Looks like assigning record type through flows doesnt work in Salesforce yet. You could try using a process builder to update the record type post creation.
Hope this helps. Good luck!
Cheers,
Aparna
I came across another question thats similar to yours, take a look at what people have discussed
https://success.salesforce.com/answers?id=9063A000000ZkyGQAS
Cheers,
Aparna Hegde
This seems to be working fine. Could you check either of the following:
- Record Type is assigned to the profile through which you are trying to execute the flow.
- Pass 18 digit Salesforce Id (you can get the same from RecordType object based on SobjectType). Although it works fine with 15 digit id as well, but just to be sure change the Id to 18 digit one.
Hope this helps.Cheers!!
Gaurav