Adding Delay before a step in a flow

Adding Delay before a step in a flow

Comments

  • Hi,

    I have a flow which is sending emails. This same flow is having send mail step at multiple places.

    We have a scenario where the send email step at 3 different places is executing at the same time.

    Problem
    We are having our domain limit of 20 emails/sec for sending emails. So when the recipients are more than 20 then emails are getting failed.

    We just wanted to add a delay (like 1sec/2sec) before sending mail step so that all the emails will not be sent at the same time. So, the send email step in the flow will not execute at the same time.

    Thank you.

  • Hi There,

    You can use “delay next step” in your flow which pauses the thread but keep in mind this will block a thread.

    Thank you.

  • Alternatively, you can use a Pause Flow step. This puts the flow to sleep like an assignment until the time set on the step is reached.

    Pause Flow: Makes the flow async and frees up the thread that was executing the flow
    Delay Next Step: Will not make the flow async and holds onto the thread that was executing the flow

Sign In or Register to comment.