You need to sign in to do that
Don't have an account?
sfdccoder1
Lead Convert trigger that sets converted account fields only if converted account is new. Possible?
I am trying to implement this by creating an Account "After Insert" trigger that queries the ConvertedAccountId field on existing leads and checks if some of them match the new Accounts Ids.
This query returns an empty set.
1. Should this set contain values or do I have a bug somewhere?
2. I think this has worked in a similar trigger I did before.
Is it possible that SF changed the conversion order of execution i.e. the new leads are not accesible via select in Account "after insert" queries.
Do you mean the "Enforce Validation and Triggers from Lead Convert" option?
It's checked.