Hi community.
I have a question regarding WORKDAYS_BETWEEN function, currently, I’m trying to get the number of workdays between the creation date of a ticket and its current date, according to Argentine calendar. This is the PQL I have so far.
WORKDAYS_BETWEEN (
"XXXX"."fields$created",
TODAY(),
FACTORY_CALENDAR(
"FACTORY_CALENDAR_ARGENTINA"."START",
"FACTORY_CALENDAR_ARGENTINA"."END"
)
)
For some reason, the PQL doesn’t return any results for any case. I tried this calculation with other functions like DAYS_BETWEEN instead, and it works. However, I need to take into consideration only the Argentine workdays.
I’m not sure if WORKDAYS_BETWEEN supports the TODAY() functions. Has anyone faced a similar problem?
Best!
