You need to sign in to do that
Don't have an account?
Jim Montgomery
Create a custom object linked to a newly created opportunity in the same process builder process
I have a process builder process that will create a new opportunity when a checkbox is set to true on the account.
I create the opportunity no problem, but I then want to also create a custom object related to the newly created opportunity as the next action in the process. is this possible?
I create the opportunity no problem, but I then want to also create a custom object related to the newly created opportunity as the next action in the process. is this possible?
Yes this is very much possible. All you need to do is following:
- Create another process builder which will fire whenever Opportunity is created
- This process builder will invoke through your first process builder
- Action element of this process builder can be controlled by either of the two ways:
- Call a flow which populates the values required for the custom object
- Directly create a child object as action element of the process builder (new one)
Having second process builder will help you pass the opportunity Id to the child custom object.In case this fails, you would need to move the creation of your opportunity as well into a flow, which will follow the below mentioned steps:
Hope this helps.
Cheers!!
Gaurav