
I created a process builder to fill in the look up field, but it errors out every time I try to save the custom object record.
Any help would be appreciated!
6 answers
What's your use case for populating a lookup rather than a formula field ... sending emails, perhaps? Thinking through this, I realized a few scenarios would need to be handled via process builder in order to keep this manager lookup in sync on your custom object, for instance:
- Opportunity owner changes
- Opportunity owner's manager changes
- Custom object's opportunity parent changes (potentially not applicable depending on your use)
Either way I think that you should be fine if you set the lookup via ManagerID from your Opportunity owner's user record. Let me know how it turns out!