Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Configure Scheduler on every 2nd and 4th Saturday for 20 months?

komal76
Level 2
Level 2

I was trying to schedule an email in which I will hit my Audience on every 2nd and 4th Saturday for 20 months, but I am unable to find the way!

Suggest me solution.

1 Accepted Solution
Jyoti_Yadav
Correct answer by
Community Advisor
Community Advisor

Hi Komal,

 

You don't have to write JS.

Use test activity which will check whether currentDate is of which week.

View solution in original post

6 Replies
Raj_bounteous
Community Advisor
Community Advisor

Hi,

 

since it is only for 20 months, I would say hardcode the dates in a schema and use it against running the workflow

or 

write a JS that skips on the 2nd and 4th Saturdays for 20 times. 

komal76
Level 2
Level 2

Really appreciate your effort, I checked once again and found those observations::

Kindly have a look.

 

For the option one(Hardcode dates in schema): Yes, We can select specified date but only one but we can't select multiple specified dates.

For the option 2(Writing JS): I want to do so in the workflow and after using scheduler, and there is no option of writing JS inside scheduler.

 

Still curious to find solution of my problem.

Jyoti_Yadav
Community Advisor
Community Advisor

Hi,

 

You can achieve so by selecting a scheduler to run weekly and then a test condition: is week ==2 or week ==4. If it satisfies the condition then execute your workflow else end it. Within scheduler you can mention about number of iterations this workflow should run.

 

Thanks,

Jyoti

komal76
Level 2
Level 2

Hi,

 

Test Activity is present under execution activities while configuring the workflow as per the help document. But I check it so while configuring the workflow. I am unable to discover that "Test" option under Execution Activities.

Kindly Help.

Jyoti_Yadav
Correct answer by
Community Advisor
Community Advisor

Hi Komal,

 

You don't have to write JS.

Use test activity which will check whether currentDate is of which week.

View solution in original post