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
Diane Roberts 3Diane Roberts 3 

create a flow to check the value in a field

Hello,
I have a custom field Campaign_Partner__c in the Campaign object that is a lookup to Account. When I save the Campaign record I would like to call a flow that checks to see if the Campaign_Partner__c field is NULL. I've tried defining it a resource by the name of {!Campaign.Campaign__Partner__c} as a resource to check but get that this is an invalid value. 
Any suggestions on how to properly define the resource?
Thanks,
Diane
ANUTEJANUTEJ (Salesforce Developers) 
Hi Diane,

Have you tried checking if a validation rule could be used? also,you could try to use an output test to check the value you are getting in the resource.

I hope this helps.

Regards,
Anutej