Hello community, Has anyone come up with a clean internal to NiFi solution to changing workflow based on date/time? For example, a routeonAttribute that will route files differently for the upcoming weekend and Monday holiday? I have written different routing strategies like:
${filename:toUpper():startsWith('XYZ') :and(${now():toNumber():format('MM'):equals('01') :and(${now():toNumber():format('dd'):equals('20') :and(${now():toNumber():format('HH'):lt('17') :and(${now():toNumber():format('yyyy'):equals('2020') But I'm curious if someone came up with a more elegant which is more maintainable - I don't want to maintain a calendar. Should I query a shared database, or is there an online calendar I could invoke http against? or?? thanks --da