I have built a workflow that combines several datasources and performs several "tests". Each test is recorded as its own column, {Test A: "Pass"/"Fail"} {Test B: "Pass"/"Fail) .....
Is there a clever way of analysing the outcome of these tests? I would like to finish the workflow with an email that says in the body:
XXXX records inspected with the following tests performed:
Test A: XXX records passed, XXX failed. (X%)
Test B: XXX records passed, XXX failed. (X%)
Test C: XXX records passed, XXX failed. (X%)
See attachment for detail of exceptions.
The only way I can see to make this work is to add a filter, count and join for each XXX above which seems needlessly messy. Is there an easier option?