function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Linda Bliss devLinda Bliss dev 

Update custom field on Opportunity when the Primary Partner is assigned

I am wondering what the best way is to update a custom field called "Primary_Partner__c" on the opportunity object with the related list Parter (partner marked as Primary).   I have a trigger setup in my Sandbox that works but was wondering if a headless flow would work for this.  I built flow but it is not working - no error messages so wondering if I can write from the Partner object to the Opportunity. 
Andy BoettcherAndy Boettcher
You should absolutely be able to use Flow for this - if you pull up the Developer Console when executing in Sandbox do you see any errors?