I've built a fairly simple workflow that queries a list for specific results; for each result, send email. The workflow is working as long as the query returns at least one result.
Problem: If the query returns zero results, I get the workflow error: Error operating on collection variable. Index property is greater than the number of items in the collection.
Can someone give some advice for how to handle this type of scenario?
- Query List operation returns zero results, stop workflow