Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Field background color not configuring correctly

NehaA3677346693
ServiceNow Employee
ServiceNow Employee

I have a calendar report on a dashboard and I am highlighting the slots based on field 'Merging BA'. If value is empty then coloring it as green and otherwise gray. 

NehaA3677346693_0-1743065546803.png

For green style-

NehaA3677346693_1-1743065588860.png

for gray - 

NehaA3677346693_2-1743065609276.png

The issue I am facing is when I open the green and gray slot record in both records merging ba field is colored as green. Is there any way I can remove color from both records or else match it with how we have in calendar reports like if empty then green else gray?

NehaA3677346693_3-1743065695947.png

NehaA3677346693_4-1743065706983.png

 

4 REPLIES 4

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @NehaA3677346693 

 

Greetings!!

A few points to consider:

  1. As a ServiceNow employee, sharing a screenshot of a future release might not be ideal from a Safe Harbor perspective. It would be better to hide the release name and table names.

  2. From what I understand, the green is taking precedence over the gray. I'm not sure if you have written any logic for this behavior. Since it's a decoration -based configuration, it will function based on the given conditions and can be set dynamically.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Thanks for the response. No, I have written any specific logic for this behaviour.

Hi @NehaA3677346693 

Then it would be the expected behavior of the decision field.

Also, in the screenshot above, one decoration  has a "value" field while the other is empty. This means the field satisfies the condition where 'The Merging BA' is empty, causing it to always display the color."

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************