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
BedrockMission!

Learn More

View all

Sign in to view all badges

Create scheduler several times a days only from monday to friday

Avatar

Avatar
Validate 1
Level 2
gabrieleg615679
Level 2

Likes

12 likes

Total Posts

36 posts

Correct Reply

3 solutions
Top badges earned
Validate 1
Boost 10
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
gabrieleg615679
Level 2

Likes

12 likes

Total Posts

36 posts

Correct Reply

3 solutions
Top badges earned
Validate 1
Boost 10
Boost 5
Boost 3
Boost 1
View profile
gabrieleg615679
Level 2

22-05-2020

Hi,

 

I want to create a workflow that runs several times a day but only on the working days (monday to friday). I tried to fill scheduler with different options and see preview schedule but it looks it does take into account only the one option at the time and is not possibile to make any combine configuration.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 1
Level 1
rahush
Level 1

Like

1 like

Total Posts

1 post

Correct Reply

1 solution
Top badges earned
Boost 1
Affirm 1
View profile

Avatar
Boost 1
Level 1
rahush
Level 1

Like

1 like

Total Posts

1 post

Correct Reply

1 solution
Top badges earned
Boost 1
Affirm 1
View profile
rahush
Level 1

30-10-2020

Hello gabrieleg615679,

 

You may use Test activity after the scheduler to run the workflow multiple times only on weekdays.

 

The Formula that you should use is : Lower(DateFormat(GetDate() ,'%A')) == 'sat' OR  Lower(DateFormat(GetDate() ,'%A')) == 'sun'.

 

By using the above formula Test transaction will point to End Activity(for Saturday and Sunday) and default transaction will point to your workflow(for Monday to Friday)

 

Regards,

Rahul S

 

 

 

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 2
gabrieleg615679
Level 2

Likes

12 likes

Total Posts

36 posts

Correct Reply

3 solutions
Top badges earned
Validate 1
Boost 10
Boost 5
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
gabrieleg615679
Level 2

Likes

12 likes

Total Posts

36 posts

Correct Reply

3 solutions
Top badges earned
Validate 1
Boost 10
Boost 5
Boost 3
Boost 1
View profile
gabrieleg615679
Level 2

25-05-2020

We tried this function "WeekDay(GetDate())=6" on a test after the scheduler but we receive this message of error

 
25/05/2020 14:34:21test1XTK-170006 Unable to parse expression 'WeekDay(GetDate())=0'.
 25/05/2020 14:34:21test1XTK-170007 Unknown function 'WeekDay'.