func (wi WorkItem) GetLastModified() time.Time {
	if updatedAt, ok := wi.Fields[SystemUpdatedAt]; ok {
		switch updatedAt := updatedAt.(type) {
		case time.Time:
			return updatedAt
		default:
			logrus.Info("'system.update_at' field value is not a valid time for work item with ID=" + wi.ID)
		}
	}
	// fallback value if none/no valid data was found.
	return time.Now()
}
// GetLastModified returns the last modification time
GetLastModified returns the last modification time
// GetLastModified returns the last modification time
func (wi WorkItem) GetLastModified() time.Time {
	if updatedAt, ok := wi.Fields[SystemUpdatedAt]; ok {
		switch updatedAt := updatedAt.(type) {
		case time.Time:
			return updatedAt
		default:
			logrus.Info("'system.update_at' field value is not a valid time for work item with ID=" + wi.ID)
		}
	}
	return time.Now()
}
func ( wi WorkItem ) GetLastModified ( ) time . Time { if updatedAt , ok := wi . Fields [ SystemUpdatedAt ] ; ok { switch updatedAt := updatedAt . ( type ) { case time . Time : return updatedAt default : logrus . Info ( " " + wi . ID ) } } return time . Now ( ) }
GetLastModified returns the last modification time
GetLastModified returns the last modification time
// fallback value if none/no valid data was found.