I'm having trouble writing a formula for when a lookup component is not blank and a checkbox is selected.
Scenario:
When Lookup Component has a value and the Checkbox is selected. I would like the validation rule to fire.
I have not been able to find an example to follow.
Any suggestions?
Unfortunately, "If the user leaves the field blank and the field is not required, the flow doesn’t validate." ISBLANK and ISNULL also aren't functioning in Flow Screen formulas. Resource - https://help.salesforce.com/s/articleView?language=en_US&id=sf.flow_ref_elements_screen_validate.htm&type=5
However, I found this answer to another Trailhead question. Maybe using something like this would help. In your example you would use something like:
LEN({!lookup_field.recordId}) < 0"I was not able to get any of the above suggestions to work when try to check if a field's NUMBER was null. I wanted to have a boolean variable in my flow return TRUE when the number field was null. This worked: LEN(TEXT({!Account_GET.Current_Branch_Count__c}))=0"