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
Jonathan SpinkJonathan Spink 

Recurring Donation insert error in Spring '22

When trying to insert a Recurring Donation record in a flow with just Contact ID specified (or just Organisation ID specified), I get the error:

FIELD_CUSTOM_VALIDATION_EXCEPTION, You must select an Organization or Contact: []

It's only happening on sandboxes on Spring '22 not on Production which is still on Winter '22. Has anyone else seen this?
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Jonathan,

Can you share your flow and validation rule as well so Experts can help you on it. 

Thanks,
 
Jonathan SpinkJonathan Spink
Hello Sai, The validation is within NPSP so I don’t have access to it. I can share the code, but basically it sets either the Contact or the Organisation. Are you able to test this from a flow?; inserting a Recurring Donation from an Apex script works OK, so maybe it’s flow-related. Jonathan