marinapiva
Novice

Loop executing the actions in the reverse order

Hi,

 

I'm experiencing troubles in a loop on my workflow.

I need it to send an e-mail everyday while a condition isn't attended.

So, inside my loop, I've put the box "send notification" and then the box "pause for", with a one day pause.

The problem is that, when the loop starts to run, it pauses for one day BEFORE sending the e-mail for the first time, even I've put the box "send notification" bewfore the pause.

Could you help me, please? Thank you.

0 Kudos
Reply
3 Replies
kunalpatel
Collaborator

Re: Loop executing the actions in the reverse order

@marinapiva ......Unable to open the attachment....what's the logic of your workflow? Are you using for loop or while loop?

0 Kudos
Reply
marinapiva
Novice

Re: Loop executing the actions in the reverse order

@kunalpatel ,

 

I'm using a while loop. When the loop starts to run, it executes the pause before sending the notification :( Do you have any idea of a solution, please? 

 

Thank you so much.

 

loop.JPG

0 Kudos
Reply
kunalpatel
Collaborator

Re: Loop executing the actions in the reverse order

@marinapiva ......If you know for which items you need to send notifications, then you can follow below steps:

 

  1. Create a site workflow
  2. Query your list using query list action
    1. Apply filter
    2. Get IDs & store it in collection
    3. Using for loop (not while loop) for each ID send email notification
  3. Schedule your site workflow to trigger every day
0 Kudos
Reply