Hi All,
We have been using one workflow (originally created by a former employee) to trigger mass emails using a macro. Since it had multiple steps and was taking long hours to run, I tried simplifying it.
During internal UAT testing, it worked fine. But when I moved it to production, I faced two issues:
- Emails were triggered to only 83 out of 2020 vendors.
- Each of those 83 vendors received 993 duplicate emails.
The workflow kept running for almost 2 hours and finally stopped only because it was halted at the server end.
Could someone please help me understand:
Why did the workflow stop at 83 vendors instead of processing all 2020?
What could have caused the duplication (993 emails per vendor)?
How can I insert an output file validation step before the email tool to avoid such issues in future?
Additionally, I have a clarification regarding the RecordID filter logic used in the macro workflow. Please see the screenshots below.
Case 1: If the RecordID is not null
Case 2: If the RecordID is equal to null
What would be the impact of using each of these conditions, and how would it affect downstream tools (especially in the context of email triggers)?
Any insights or suggestions would be greatly appreciated.
Thanks in advance!