Hii I have requirement to trigger PM on 15th business day of each month so,
( workday( date(year(ri!date), month(ri!date), 1), 13, { null() } ))
By this expression i'm getting 15th working day of month bt as we have timer event and in that monthly time recurrence will ask for On Days
So How we can do that ?
Discussion posts and replies are publicly visible
Have you tried setting up your process calendar and giving the Timer recurrence as monthly in days and interval of months?
For such rules, a typical solution is to run that model every day. Add a XOR node as the first node to check whether it is the correct day.
workday( date(year(today()), month(today()), 1), 15, { null() }) = today()
Your expression is on the right track for calculating the 15th business day of the month. However, for a timer event where "On Days" is required, you may need to pre-calculate the specific day dynamically for each month. One approach is to use a script or a scheduled job to set this value in a process variable or database, which the timer can reference.