Overdue Event Information Is Overridable
"Overdue event info" is the concatenated string of information that summarizes an overdue event throughout the system. The base-package logic constructs this string by concatenating the following information:
- The event type's description
- The event's status
- If it's pending:
- If the event has a trigger date, the number of days until it's triggered plus the verbiage day(s) from today
- Otherwise, the verbiage dependent on other events
- If it's waiting, the number of days, hours and minutes that it's been waiting
- If it's canceled, the cancel reason code's description
- If it's complete, the number of days, hours and minutes that it's been complete
If you'd prefer a different info string, you can develop a new algorithm and plug-it in on your event types. This design allows some / all event types to have an override info string.