You need to sign in to do that
Don't have an account?
Ab
Change record type when a picklist value is choson
Hello,
I have a customPicklist__c with value XYZ, PQR
When XYZ is chosen i want the reccordtype of ObjecCustom changes to Recordtype.Name=Name
,how can i achieve it ?
thank you
I have a customPicklist__c with value XYZ, PQR
When XYZ is chosen i want the reccordtype of ObjecCustom changes to Recordtype.Name=Name
,how can i achieve it ?
thank you
For further suggestions, you can refer to this discussion (https://salesforce.stackexchange.com/questions/27658/picklist-value-available-for-selection-on-change-of-record-type)
I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.
Thanks.
All Answers
You can change the record type of the record in the trigger. Please find the code snippet below:
Please replace the object and field names with the actual API names and take care of the syntax error.
Let me know if you need any further help on this.
Thanks,
Abhishek Bansal.
For further suggestions, you can refer to this discussion (https://salesforce.stackexchange.com/questions/27658/picklist-value-available-for-selection-on-change-of-record-type)
I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.
Thanks.