Skip to Content
0
Former Member
May 15, 2016 at 09:20 PM

Process chain If then Condition based on days of the week

1771 Views

Hello Experts:

How are you doing. I have created a master process chain which uses an if then condition to run 2 different process chains based off different days of the week. It executes one process chain from Wednesdays to Sundays and executes another one on Mondays and Tuesdays.

The process chain Decision box was created based off as shown below.

For the formula I have used the following conditions for days of the week by using variables "SYST-FDAYW". The pic below shows the formula for deciding if the day of the week is either Wednesday, Thursday, Friday, Saturday or a Sunday. I created a similar formula for Monday and Tuesday with SYST-FDAYW =1 or 2.

I am getting an error when I execute this process chain.

Could you experts help in determining what is wrong ?

Attachments

Pic 1.png (55.8 kB)
Pic2.png (127.5 kB)
pic3.JPG (197.9 kB)
pic5.png (329.6 kB)