From b675a1b58244a4d8b477d6f56d11f9dc256f0115 Mon Sep 17 00:00:00 2001 From: Lakshmi Kolli <69940873+kollil@users.noreply.github.com> Date: Mon, 24 Aug 2026 18:54:20 -0700 Subject: [PATCH 1/2] Colony alert update --- .../onprc_ehr/notification/ColonyAlertsNotification.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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..9c027c241 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,7 @@ 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"); + 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"); } From 6fa52de69e454d0f97d45f009e57be50c8d13ab3 Mon Sep 17 00:00:00 2001 From: Lakshmi Kolli <69940873+kollil@users.noreply.github.com> Date: Mon, 24 Aug 2026 19:35:16 -0700 Subject: [PATCH 2/2] Colony alert update --- .../labkey/onprc_ehr/notification/ColonyAlertsNotification.java | 1 + 1 file changed, 1 insertion(+) 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 9c027c241..8bfe1ecc1 100644 --- a/onprc_ehr/src/org/labkey/onprc_ehr/notification/ColonyAlertsNotification.java +++ b/onprc_ehr/src/org/labkey/onprc_ehr/notification/ColonyAlertsNotification.java @@ -234,6 +234,7 @@ protected void candidatesForLongTime(final Container c, User u, final StringBuil long count = ts.getRowCount(); if (count > 0) { + //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");