diff --git a/onprc_ehr/src/org/labkey/onprc_ehr/notification/ColonyAlertsNotification.java b/onprc_ehr/src/org/labkey/onprc_ehr/notification/ColonyAlertsNotification.java index d17eafc0d..8bfe1ecc1 100644 --- a/onprc_ehr/src/org/labkey/onprc_ehr/notification/ColonyAlertsNotification.java +++ b/onprc_ehr/src/org/labkey/onprc_ehr/notification/ColonyAlertsNotification.java @@ -226,7 +226,7 @@ protected void doCandidateChecks(final Container c, User u, final StringBuilder protected void candidatesForLongTime(final Container c, User u, final StringBuilder msg) { SimpleFilter filter = new SimpleFilter(FieldKey.fromString("isActive"), true, CompareType.EQUAL); - filter.addCondition(FieldKey.fromString("daysElapsed"), 30, CompareType.GTE); + filter.addCondition(FieldKey.fromString("daysElapsed"), 180, CompareType.GTE); filter.addCondition(FieldKey.fromString("flag/category"), "Assign Alias", CompareType.EQUAL); filter.addCondition(FieldKey.fromString("flag/value"), ONPRC_EHRManager.AUC_RESERVED, CompareType.NEQ_OR_NULL); @@ -234,7 +234,8 @@ protected void candidatesForLongTime(final Container c, User u, final StringBuil long count = ts.getRowCount(); if (count > 0) { - msg.append("WARNING: There are " + count + " flags for assignment aliases/candidates that have been active for more than 30 days. This may indicate these flags should be ended.
\n"); + //Changed the num of days by Kollil in Aug, 2026. Refer to tkt #15129 + msg.append("WARNING: There are " + count + " flags for assignment aliases/candidates that have been active for more than 180 days. This may indicate these flags should be ended.
\n"); msg.append("

Click here to view them
\n\n"); msg.append("


\n\n"); }