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
divya1234divya1234 

storing record type id and name ,case status and notification in custom metadata field

I am  using custom metadata would what custom field i should create while using custom metadata? and how i can call in trigger

Here is my requirment...

I am creating caseemail record  for cetain case status and record type ,i have create record for satus and record type combitions. Also after creating a record i need to set on filed case notificatios = some value.

Currently i created  recordtype name, record type id ,status and notification field,but not sure how i can use tis fileds in my code , can you please give me some idea on that.

Thanks in Advance
Raj2019ssRaj2019ss
Hi divya1234,
Please refer the below link and let me know if there are any issues.
https://help.salesforce.com/articleView?id=custommetadatatypes_accessing.htm&type=5

Regards,
Rajesh
Raj VakatiRaj Vakati
You need to create a custom metadata type ( same like the custom object ) and then add the records with all info 


https://trailhead.salesforce.com/en/content/learn/modules/custom_metadata_types

https://help.salesforce.com/articleView?id=custommetadatatypes_about.htm&type=5

https://www.financialforce.com/blog/how-to-leverage-custom-metadata-types/