You need to sign in to do that
Don't have an account?

Apex class using metadata
Hi ,
I have the following requirement for which i need help to acheive via apex class using custom metadata
1) I have a metadata which has few words in it
ie:
test,ablility
2) i want to check if any of the keywords from the metadata are present in the case description (exact match along with the content)
then change the case owner to a particular queue.
I need help on the same with the apex class
Thanks in Advance
I have the following requirement for which i need help to acheive via apex class using custom metadata
1) I have a metadata which has few words in it
ie:
test,ablility
2) i want to check if any of the keywords from the metadata are present in the case description (exact match along with the content)
then change the case owner to a particular queue.
I need help on the same with the apex class
Thanks in Advance
Api name of metadata - Case_Description__mdt
Created a field in metadata - API name of the field in metadata - Description_Keywords__c.
Created two records in metadata like this -
And then created an apex class - We can't filter queries on the basis of fields with type - long text area.
Let me know if it works, Thank you