Hi there,
I have a campaign that needs to send out on every 1st & 3rd Monday, or 2nd & 4th Thurs of every month for another campaign.
I came across this post: https://experienceleaguecommunities.adobe.com/t5/journey-optimizer-questions/journey-to-send-an-emai... which has suggested couple solutions, of which both seem quite hardcoded. 2nd solution seems better, but wondering if that's bulletproof?
1) in(toDateOnly(now()),[toDateOnly("2024-01-15"),toDateOnly("2024-02-19"),toDateOnly("2024-03-18"),toDateOnly("2024-04-15"),toDateOnly("2024-05-20"),toDateOnly("2024-06-17")])
2) Use another condition to ensure it's the third monday by using the day part from now() function and by checking its > 14 and <=21
Are there other solutions?
Thanks.
Solved! Go to Solution.
Views
Replies
Total Likes
@akwankl, 2nd option should work. For example, 1st Monday use the range >=1 and <=7 and 2nd Thursday use the range >7 and <=14. I haven't tried this other approach. This would be something to setup a separate data source/custom action in AJO that will make a GET request to an external application (API will host a small node.js function to check whether it's 1st Monday or not) that will return true or not.
@akwankl, 2nd option should work. For example, 1st Monday use the range >=1 and <=7 and 2nd Thursday use the range >7 and <=14. I haven't tried this other approach. This would be something to setup a separate data source/custom action in AJO that will make a GET request to an external application (API will host a small node.js function to check whether it's 1st Monday or not) that will return true or not.
Views
Likes
Replies
Views
Likes
Replies