It would be helpful to post a screen shot of the script. The following statement "$Path is a folder on my desktop using Get(TemporaryPath) and the Agency name to name the pdf" can not be true. Get(TemporaryPath) will not put a file on your desktop. You stated that you were able to create a PDF. What is the name of the PDF that is being created? Your send mail step does not indicate that you are attaching a file to the email. Attach File is an option in the Send Mail step.

Don't you just love that error message. It lists every possible cause of trouble EXCEPT the one that is most commonly the source of the error. The most common error is an invalid file path.

Double check your folder name and make sure that it's exactly correct.

Try putting "file:" & at the beginning of the path calculation. I seem to recall that some versions of FileMaker need that when creating the PDF, but my memory could be wrong on that. (but it won't hurt to add it as that "tag" at the beginning won't keep it from working.)

Another common source of this error would be if you already have a file with that name in that folder and it's currently open, such as in a looping script where the PDF is created, but with the option to automatically open it specified.

I had tried that up to 5 seconds but that would occur before the Send Mail step. Is there a way to insert a pause within the Send Mail step itself. With the Perform without dialog unchecked, I can observe there is a slight delay (about 1 second) when the Email page appears before the pdf is attached.

No and you shouldn't need to do that. Normally, if the PDF really is being created and in the right place, it's just a matter of allowing the system time to produce and save the PDF. That can require a pause as the task to create the PDF is asynchronous, the script will continue execution and not wait for the PDF to be created.

Try using Pause/Resume with the "indefinite" option and see if that works. You'll need to manually click "Continue" in the task bar or press the enter key to continue past the pause. But if that works, you can see about a shorter pause. (But in one of my solutions, I use a loop that tries to insert the PDF into a container field (using the $Path variable) with set error capture [on] to disable error messages. The loop terminates with an error message after X tries, but will exit without an error and email the PDF when the container is found to be not empty.

Whenever I have a script that doesn't work when it appears it should work I try 4 things. I either add a pause, refresh or commit step. If that doesn't work I restart the computer. One of these 4 things solve a majority of the problems. I don't think a refresh or commit will help and it sounds like you tried a pause right after the Save to PDF step. Try restarting your computer. Are you using the Apple Mail app to send the email?

PSI Wrote: is it possible your mail app is not allowing an attachment when perform without dialog is checked?

All I know is if the step is checked to perform without dialog no attachment is sent, if perform without dialog is unchecked the pdf attachment is included with the email that is sent.

I tried the SMTP option and the pdf attachment was attached. and sent as desired.

My solution is intended for Fire & EMS departments mainly as a Free Runtime solution. The User would be an administrative employee (higher ranking employee) involved in the department Quality Assurance/Improvement program. They would send the Registration via the procedure I am trying configure.

The issue is the majority of users won't have a clue how to configure SMTP settings, and I guarantee you they would become extremenly confused if I included the necessary fields for them to fill out. I am trying to stay away from that procedure if possible.

I tried your database and the ones I created in versions 12, 13, & 14.0.6. All produced the same results. I am thinking it might have something to do with a setting in Apple Mail but I need to research before I mess things up and lose all my past emails... I am related to Murphy's Law...