diff --git a/scripts/convert-dlrs-rules.apex b/scripts/convert-dlrs-rules.apex index d3b6f27c..7b5dfab6 100644 --- a/scripts/convert-dlrs-rules.apex +++ b/scripts/convert-dlrs-rules.apex @@ -11,7 +11,7 @@ Metadata.DeployContainer deployment = new Metadata.DeployContainer(); List invalidChildren = new List{ 'Event', 'Task', 'User' }; for (dlrs__LookupRollupSummary2__mdt dlrsRule : dlrs__LookupRollupSummary2__mdt.getAll().values()) { - if (dlrsRule.dlrs__Active__c == false || invalidchildren.contains(dlrsRule.dlrs__ChildObject__c)) { + if (dlrsRule.dlrs__Active__c == false || invalidChildren.contains(dlrsRule.dlrs__ChildObject__c)) { continue; }