function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sumit dsumit d 

Trigger to populate case fields using custom metadata type

Hi All,
         I have a requirement in which i want to pupulate case Team__c(picklist field) using the custom meta data type called Team_Setup__c. I created some fields given as RecordType__c,Product__c,queue__c,Team__c also i created records in metatadata.My requirement is if for particular record type the products are same than the Team__c(In Case )should be populate related to it.and if for same record type but product are different than we will check queue and populate team according to it.
Can anyone help me with this requirement?