Use Get (Last Error ) in the If statment. The If should be then next script step after Perform Find.
Thank you, I knew it was faily simple but could not find it...
Scripted finds rarely fail except for two error codes:
can't find any records to match criteria
No criteria was used.
As a result, it's often sufficient to use:
Get ( FoundCount )
to see if any records were found.