Skip to main content
Level 2
Jul 3, 2023 11:14 AM UTC
Solved

Send Emails only on weekdays

Hi there,

 

Working with AJO here. 

 

We need to ensure that emails, as part of a Journey, are sent only from Monday to Friday. Profiles enter the Journey on a daily basis based on a rolling date. 
Ideally, we would like profiles to enter the Journey on Saturdays and Sundays as well, for them to be queued and processed on Monday.

Any hints on how to get it done in AJO? Thank you!

DavidKangni
DavidKangniAccepted solution
Adobe Champion and Community Advisor
Jul 20, 2023 2:22 PM UTC

Hi @mandarinooo 

use a condition to define your days then you'll have 2 wait activities (one for Sat and one for Sun) with the formula 

toDateTimeOnly(setHours(nowWithDelta(X, "days"), H))

X --> integer for days: 2 for entrances on Sat and 1 for entrances on Sun

H --> time you want to resume queue e.g 9 will be 9 AM your journey timezone

 

 

Thanks,

David

David Kangni

10 replies

Level 4
Jul 3, 2023 11:24 AM UTC

Have a look at wait activity (right after start of your journey) in combination with a custom formula. 

I quickly checked and it seems there are no convenient functions available for your particular use case. May need some tinkering.

Translate
Level 2
Jul 3, 2023 11:37 AM UTC

Hi @mdonke ,
Thank you for your suggestion. 
I had a look. I was hoping someone could share the custom formula that has been used to achieve the use case 🙂

Translate
Silvio6
Level 6
Sep 15, 2025 6:40 PM UTC

Have you find a solution to this using custom wait activity?

Translate
DavidKangni
Adobe Champion and Community Advisor
DavidKangniAdobe Champion and Community AdvisorAccepted solution
Adobe Champion and Community Advisor
Jul 20, 2023 2:22 PM UTC

Hi @mandarinooo 

use a condition to define your days then you'll have 2 wait activities (one for Sat and one for Sun) with the formula 

toDateTimeOnly(setHours(nowWithDelta(X, "days"), H))

X --> integer for days: 2 for entrances on Sat and 1 for entrances on Sun

H --> time you want to resume queue e.g 9 will be 9 AM your journey timezone

 

 

Thanks,

David

Translate
David Kangni
Sukrity_Wadhwa
Level 4
Jul 24, 2023 10:04 AM UTC

Hi @mandarinooo,

Was @davidkangni's solution helpful to resolve your query? In case it was helpful, then kindly choose it as the 'Correct Reply'. If not and you still need more help, then do let us know.

Thanks!

Translate
Sukrity Wadhwa