Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
I am attempting to create an output email scenario where one email with a specific dataset attached will always send and a second email will send only if the dataset has output in it.
I attached a capture of how I currently have this set up but, I am thinking there maybe some Python script involved to fix this. Any help would be appreciated.
You could use a python step, but a simpler way to achieve this would be to use a check on the dataset with a minimum record value of 1.
Then, add a "run checks" step in the scenario. You will need to check "consider warnings as failures".
In the "send message" step, for the field "Run this step", you can add "if no prior step failed".
If the dataset has at least 1 record, the step will pass and the message will send. If the dataset is empty, the message step will not run.
Please let me know if this works for you.