You need to sign in to do that
Don't have an account?
Maf_007
Record on Trigger Context
Hi All,
I have a trigger on Lead which insert a record on a custom object (Lead looks up to custom object) which causes a trigger on custom object to fire to relate lead with the custom object. But surprisingly newly created lead does not come up on my soql query (every other matching record is available)? Is there any reason for that or Salesforce has a limitation doing so?
Any help will be appreciated?
I have a trigger on Lead which insert a record on a custom object (Lead looks up to custom object) which causes a trigger on custom object to fire to relate lead with the custom object. But surprisingly newly created lead does not come up on my soql query (every other matching record is available)? Is there any reason for that or Salesforce has a limitation doing so?
Any help will be appreciated?
If you still have any questions please refer to order of excution of Apex Trggers.