You need to sign in to do that
Don't have an account?
Firas Taamallah 18
How to assign Case RecordType to picklist Value ?
Hi ,
I want the case record type to be changed automatically every time it's related object's field which is picklist change
Example :
This line seems doesn't work , i tried to get ID of the custom object's field ( picklist value ) and assign it to Case recordType ..
Thanks,
I want the case record type to be changed automatically every time it's related object's field which is picklist change
Example :
- Case A , Record Type = B
- Custom Object C , Picklist value = C
Id devRecordTypeId = Schema.SObjectType.Case.getRecordTypeInfosByName().get(era.EmailRule__r.CaseRecordType__c).getRecordTypeId();
This line seems doesn't work , i tried to get ID of the custom object's field ( picklist value ) and assign it to Case recordType ..
Thanks,
Greetings!
You can achieve this by using process builder as suggested in this blog (https://automationchampion.com/tag/change-record-types-in-salesforce1/).
Kindly mark it as best answer if it helps so that it can help others in the future.
Warm Regards,
Shirisha Pathuri