I have a flow that's throwing a "failed to find record" error, despite having checked the box to assign a NULL value to the variable if nothing is found. I've also assigned a FAULT route for the step.
The intention for this step is to check if there's an existing record, and if so, to send an email. If there isn't a record, it creates one. This is done via a decision step immediately after the record lookup.
It's worth noting that the flow actually works, it continues on despite the error being sent to me.
Here's the error message via email:
RECORD QUERY: Check_for_Existing_Campaign_Name Find one CampaignMember record where: Name__c Equals true LeadOrContactId Equals {!MemberId} (0031N00001Xf4IOQAZ) Result Failed to find record.
and here's the flow:
Any ideas where I'm going wrong?
Name__c
that is a checkbox (you are comparing it to true) -- seems like an odd field name to be a Boolean