You need to sign in to do that
Don't have an account?

Getting two objects to communicate
I have two objects that I mainly use in my org. I would like to know if there is anyway to have the two communicate.
To make it easy, I'll use object A and B. Some examples of what I'm trying to do:
When A meets a particular criterai, create a new record in B auto-update some of the fields.
During the B approval process, send out an email template that refers to A fields.
To make it easy, I'll use object A and B. Some examples of what I'm trying to do:
When A meets a particular criterai, create a new record in B auto-update some of the fields.
During the B approval process, send out an email template that refers to A fields.
Check out the following links for creating a new records from a trigger:
https://teachmesalesforce.wordpress.com/2011/05/16/trigger-to-create-a-new-record/
http://womencodeheroes.com/2015/07/cooking-with-code-a-tasty-trigger-treat-apex-triggers/ (full disclosure this is my blog)