@caduque You’ll need to change the Condition to this Expression :
Firstly Create Four variables of DateTime Type, say DateFor26, DateFor10, DateFor11 and DateFor25.
Initialise the four variables with below expression using Assign Activity as below :
DateFor26 = new DateTime(Now.Year,Now.AddMonths(-1).Month,26)
DateFor10 = new DateTime(Now.Year,Now.Month,10)
DateFor11 = new DateTime(Now.Year,Now.Month,11)
DateFor25 = new DateTime(Now.Year,Now.Month,25)
In the If Activity use this Condition :
DateFor26 <= Now.Date <= DateFor10
in then Then block you can assign another datTime variable, say varDate in this way :
varDate = new DateTime(now.Year,now.Month,15)
You can use an Other if Activity with Condition :
DateFor11 <= Now.Date <= DateFor25
in then Then block you can assign varDate in this way :
varDate =new DateTime(now.year,now.month,DateTime.DaysInMonth(now.Year,now.Month))
Note : I am using an Another If Condition Since you have not Specified what to do if the date Falls on 26th to 31st of the Current Month. Instead of Another If Condition you can use second varDate Expression inside the Else Block of the First If Activity, if you’re sure that the 26th to 31st of Current Month Condition never arises.