Skip to main content
5 events
when toggle format what by license comment
Mar 27, 2016 at 23:53 comment added dotnetdev The formula field was just splitting the email field to get the domain. I'll try to split the email field in the trigger and use that instead of the formula field. domainSet.add(l.Email.split('@').get(1)); if(accountsByDomainMap != null && accountsByDomainMap.containskey(l.email.split('@').get(1))) { l.ownerID = accountsByDomainMap.get(l.email.split('@').get(1));
Mar 27, 2016 at 22:43 comment added crmprogdev If the query will no longer be operating on formula fields, that would be a wise thing to do. If they're still formula fields, I don't know that it will make any difference. However, if your Pardot data is requiring you to make a web services callout, then that would make a difference because it would presumably all now be in the same Salesforce instance within a single database.
Mar 27, 2016 at 22:14 comment added dotnetdev Would it be better to just make it an After insert trigger?
Mar 25, 2016 at 18:43 history edited crmprogdev CC BY-SA 3.0
seconds to minutes
Mar 25, 2016 at 14:19 history answered crmprogdev CC BY-SA 3.0