Changing colour for Change Models

StevenITSM
Kilo Guru

Hi

 

I am trying to change the colour for new Change Models I have added, but the colour will not update it just remains pink. I tried copying in a code from an internet list which didn't work so I just copied the code over from the "Normal" change model so it is identical but the colour still doesn't change. It looks green in the model config view but not when selecting the change.

 

Normal Change Model colour code. 

StevenITSM_1-1751534584774.png

Normal 2.0 Change Model colour code

 

StevenITSM_2-1751534636470.png

Then the view from the change selection area.

 

StevenITSM_3-1751534739551.png

I've tried mixing things up and gave Normal the green colour code that is used by "Standard" and when I did that it changed to green but then the "Standard" model changed to blue. I cant work out why it is behaving this way. Am I limited to a set number of colours?

 

 

1 ACCEPTED SOLUTION

pavani_paluri
Kilo Sage

Hi @StevenITSM ,

 

ServiceNow has only 8–10 color slots are available for change model badges. The assignment happens by order, not by hex code.

You can write a custom UI Script or Client Script to override the colors using CSS. use data-model-name or class name to assign your own styles.

 

Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Pavani P

 

 

View solution in original post

5 REPLIES 5

in australia, this doesnt seem to work at all for me. model color is saved, but doesnt affect the tile.  i also noted that, doing a copy of an existing model (insert & stay) caused the new copy to have the original color from the model it was copied from, and the original model adopted yet a different color (blue in my case though i had configured pink for both the orig and new copy).   This seems to align more with what @pavani_paluri  said, however still begs the question of why there is a color field (which apparently has worked before as in your case) and is there a way to use it effectively?