Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This Blueriq function lets you calculate a date in the future that is a certain number of business days ("working days") away from a chosen given start date. A similar function exists in the expression language: Date and Time functions#WORKINGDAYSBETWEEN. What we want to achieve with this new function is similar to Date and Time functions#ADDPERIODTODATE, but now with working days instead of all days. A typical use case is that you want to give an answer to a customer within X working days after the application is received. You want to add X working days to the current date, but there is no such function available in the expression language. For calculating this, you want to take weekends into account as well as holidays.

Support VersionDownload
>=11.2

View file
nameWorkingDays.package.zip
height250

 


Input and output parameters

...

You could theoretically extend this function to also take vacations of specific employees into account. You would then need to add a new parameter with a user ID, and then add an additional check to the CheckDateValid flow. You would need to connect to a system which stores vacation days, and then add a similar check on a new condition node.