Hi Everyone, Is there a way to get the list of all holidays(non-working days whi

Hi Everyone, Is there a way to get the list of all holidays(non-working days which may come on a non -weekend day) in a year which are set in the Appian calendar. Please let us know if there is any appian function or any other way.

Thank you in advance....

OriginalPostID-108048

OriginalPostID-108048

  Discussion posts and replies are publicly visible

  • You can create a rule which determines if the date passed is a non-working week day. For example:

    isNonWorkingWeekDay - and(not(calisworkday(ri!date)),weekday(ri!date,2)<6)

    The above function uses the default calendar, so adjust the calisworkday function to use any of your custom calendars.

    Next, I apply this rule to check through the next 365 days if any of them are non-working week days:

    filter(rule!isNonWorkingWeekDay,todate(apply(fn!sum,ldrop(append(enumerate(365),365),1),today())))

    The returned values will be the non-working, week days.