Skip to main content

I have a scheduled workflow that runs daily which:

  1. queries a list within the site looking for any items matching the criteria specified
  2. loops through each of the items identified and gathers information
  3. builds a string of that information
  4. sends an email with the information compiled 

I am looking for help please to figure out how to end the workflow where there are no items identified at step 1 thus preventing the email from being sent out with no information.

 

Please see screen shots below which might assist and thanks in advance for any help 🙂

You can add condition block and check the collection, if the collection is empty, you can end the workflow/terminate workflow action inside the condition block. So, the workflow will not continue to the following loop action and sending email.


Thank you so much 🙂
You're welcome 🙂

Reply