From a9655ad8e877f319b375e7a1eb9f2509fe50dc92 Mon Sep 17 00:00:00 2001
From: GHSayak25 <59216790+GHSayak25@users.noreply.github.com>
Date: Thu, 2 Oct 2025 18:09:34 +0530
Subject: [PATCH 1/4] Apply Field Style on List type field based on condition
If one of the reviewers is inactive, highlight the corresponding column in list view.
---
.../Server Side/MarkInactiveUsersonList/README.md | 6 ++++++
1 file changed, 6 insertions(+)
create mode 100644 Server-Side Components/Server Side/MarkInactiveUsersonList/README.md
diff --git a/Server-Side Components/Server Side/MarkInactiveUsersonList/README.md b/Server-Side Components/Server Side/MarkInactiveUsersonList/README.md
new file mode 100644
index 0000000000..99dfd0ff2f
--- /dev/null
+++ b/Server-Side Components/Server Side/MarkInactiveUsersonList/README.md
@@ -0,0 +1,6 @@
+There is a list type field named 'Reviewers' on Policy records.
+On the list view of Policies, we want to highlight with field styles, where any of the user listed under Reviewers is inactive.
+In the screenshot attached below, Daniel Zill is inactive user, and if he is present in Reviewers, the respective column value is applied with defined field styles.
+
+
+
From 7bf7688f901309809f949de9fd7d4b2d74077c7d Mon Sep 17 00:00:00 2001
From: GHSayak25 <59216790+GHSayak25@users.noreply.github.com>
Date: Thu, 2 Oct 2025 18:19:47 +0530
Subject: [PATCH 2/4] Apply Field Style on Reviewers if anyone is inactive
---
.../fieldStyleforListfields.js | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 Server-Side Components/Server Side/MarkInactiveUsersonList/fieldStyleforListfields.js
diff --git a/Server-Side Components/Server Side/MarkInactiveUsersonList/fieldStyleforListfields.js b/Server-Side Components/Server Side/MarkInactiveUsersonList/fieldStyleforListfields.js
new file mode 100644
index 0000000000..f2baed65a8
--- /dev/null
+++ b/Server-Side Components/Server Side/MarkInactiveUsersonList/fieldStyleforListfields.js
@@ -0,0 +1,18 @@
+//The below code followed by "javascript:", inside 'Value' field for the List type Reviewers field's Style record will do the condition check.
+
+var answer = false;
+var arr=[];
+arr = current.reviewers.split(',');
+for(i=0; i
Date: Thu, 2 Oct 2025 18:53:30 +0530
Subject: [PATCH 3/4] Check inactive user in the List type field and apply
Style
---
.../Server Side/MarkInactiveUsersonList/README.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Server-Side Components/Server Side/MarkInactiveUsersonList/README.md b/Server-Side Components/Server Side/MarkInactiveUsersonList/README.md
index 99dfd0ff2f..635332b2d7 100644
--- a/Server-Side Components/Server Side/MarkInactiveUsersonList/README.md
+++ b/Server-Side Components/Server Side/MarkInactiveUsersonList/README.md
@@ -4,3 +4,7 @@ In the screenshot attached below, Daniel Zill is inactive user, and if he is pre
+The condition to check if any inactive user is present in Reviewers must be written on 'Value' (actual Server script) and the styles to applied must be mentioned on 'Style'.
+Refer below screenshot:
+
+
From a4efa0386687198c7b728276b14c6689b9408542 Mon Sep 17 00:00:00 2001
From: GHSayak25 <59216790+GHSayak25@users.noreply.github.com>
Date: Thu, 2 Oct 2025 18:58:12 +0530
Subject: [PATCH 4/4] Apply Field Style on Reviewers if anyone is inactive
---
.../fieldStyleforListfields.js | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/Server-Side Components/Server Side/MarkInactiveUsersonList/fieldStyleforListfields.js b/Server-Side Components/Server Side/MarkInactiveUsersonList/fieldStyleforListfields.js
index f2baed65a8..40ce988643 100644
--- a/Server-Side Components/Server Side/MarkInactiveUsersonList/fieldStyleforListfields.js
+++ b/Server-Side Components/Server Side/MarkInactiveUsersonList/fieldStyleforListfields.js
@@ -1,18 +1,19 @@
//The below code followed by "javascript:", inside 'Value' field for the List type Reviewers field's Style record will do the condition check.
-
-var answer = false;
-var arr=[];
-arr = current.reviewers.split(',');
+var answer = false;
+var arr=[];
+arr = current.reviewers.split(',');
for(i=0; i