Skip to main content
June 19, 2024
Question

Business Days

  • June 19, 2024
  • 4 replies
  • 0 views

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 ?

    4 replies

    konduruc733182
    June 19, 2024

    Have you tried setting up your process calendar and giving the Timer recurrence as monthly in days and interval of months?

    stefanhelzle0001
    June 19, 2024

    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.

    annap0005
    June 20, 2024

    Recurrence daily and add your condition in Advanced Options

    workday(
    date(year(today()), month(today()), 1),
    15,
    { null() }
    ) = today()

    December 24, 2024

    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.