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
mahimahi 

How to use maps and sets in triggers

Hi all,
 
How can I use a set within a map or map within a map in a trigger?
 
Could anybody give pointers to some tutorials on maps and sets and their usage?
 
Thanks,
Mahi
mahimahi

Hi All,

Could I create a Map<Id,Set<Id>>  as Map<CampaignId, Set<LeadId>> anyhow?

Please suggest....

Thanks,

Mahi