Created a workflow for attaching multiple documents to an email in workflow. The WF runs, and sends the email, however, it does not attach the expected files to the email. What is incorrect in the workflow?
attaching multiple files to email in workflow
Have you checked the results of the workflow? From the look of the Find Entry activities it seems like they are not getting valid Entry ID's and therefore won't find the document.
You're using %(Entry Name) and %(Date) tokens where you should be putting an Entry ID value. The %(Entry Name) is referencing the string name of the Starting Entry, which is very unlikely to be the ID value you are trying to get, and the Date definitely won't be a valid entry ID value.
I'm a bit confused by some of the activity configuration you have in there, so I'm not sure exactly what is supposed to be happening in the workflow. I don't see any way for your workflow to attach more than one document to the outgoing email.
For example, despite the parallel branches, there's no way the "first result name" could end with both 1 and 2, so there's no condition in which you would have more than one document to attach even if you get the correct Entry ID in each of the Find Entry activities.
Ah, sorry... I see your confusion. I started playing with different values for the Find Entry to see what I might be configuring incorrectly. Sorry for the confusion...