Day Condition

I have a process which has a type into and it types dates on a website

What I want to do is whenever Monday Arrives It should type the date of saturday

What condition Do I put to calculate monday ?

Are you looking for this:

myDateTimeVar

When: myDateTimeVar is a Monday
Then: type in myDateTimeVar.addDays(-2)…
Else: type in myDateTimeVar

then we can check myDateTimeVar.DayOfWeek = 1

grafik

Hey!

Try like this:

Take one If Condition Pass the expression like this

Now.ToString("dddd").Equals("Monday")

In then block Use like this

Now.AddDays(-2).ToString("dddd")

In then Block:

Pass this variable in Type into.

In else Block Do the same steps…

Whenever we get the monday Then Block will executes And writes the saturday.

Regards,
NaNi

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.