I have a bot triggering on change event that creates 3 csv files and 1 pdf โimagesโ file.
The 3 csv files are attached to email1 and sent
The 1 pdf โimagesโ file is attached to email 2 (along with another pdf file) and sent.
A couple status changes are processed and then the bot is complete
Works great.
The Question. The pdf images file mentioned above should not generate and be attached to email2 if records do not exist. How would I add a condition to the bot to not create the pdf โimagesโ file if records donโt exist and then also not attempt to attach it to email2?
I checked out Condition on a Branch and with a virtual field checking for the count of images in the header table, it looks like I can stop the creation of the โpdf images fileโ (if image count is not >0) but then how do I indicate under โOther Attachmentsโ in email 2, that the system should not attempt to attach anything?
A million thanks for your help.
Solved! Go to Solution.
Youโll need another branch on condition step (or use the same one from before), then build 2 separate email Tasks where the only difference is attaching or not attaching the PDF.
Youโll need another branch on condition step (or use the same one from before), then build 2 separate email Tasks where the only difference is attaching or not attaching the PDF.
got it. worked like a charm!
Thanks as always Marc!
User | Count |
---|---|
27 | |
26 | |
22 | |
21 | |
21 |