I have a problem with a record delete action
I explain the problem better.
An action to delete records has the following instructions:
- Query to obtain image and pdf values from the product database
- If File image exist then remove
- If File pdf exist then remove
- if Folder gallery exist then remove
- Query delete images gallery
- Query delete record
If the record to be deleted has an image and pdf associated, everything works fine, but if the record has null fields for image and PDF, the action stops and is not performed.
In practice it seems that if if File image exist is false perhaps an else / step statement is needed to exit and continue the subsequent statements
But I do not know how I can do it