Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
ShowAll Questionssorted byDate Posted

# Highlighting the case wtih colors based on priority..

Hi All,

Is there any way to highlight the case priority picklist fields based on that picklist values.

For example :

priority : High then red

priority : Medium then yellow.

TIA1

Steve :-/

There's an example on page 18 of the Formula Guidebook

https://na1.salesforce.com/help/doc/en/salesforce_useful_formula_fields.pdf

```Flags for Case Priority
This formula displays a green, yellow, or red flag image to indicate case priority.
IMAGE(
CASE( Priority,
"Low", "/img/samples/flag_green.gif",
"Medium", "/img/samples/flag_yellow.gif",
"High", "/img/samples/flag_red.gif",
"/s.gif"),
"Priority Flag")```

Steve :-/

You mean displaying a color image on the Case or changing the color of the Text?

I knw you would definitely reply :) well anything would be fine, but the only reason i want this is bcz in the list view if i have some hundred of cases then it would be nice to highlight the whole line to red if the case has high priority so that it would be easy to find out the cases with high and medium priority, does this make sense?

Steve :-/

There's an example on page 18 of the Formula Guidebook

https://na1.salesforce.com/help/doc/en/salesforce_useful_formula_fields.pdf

```Flags for Case Priority
This formula displays a green, yellow, or red flag image to indicate case priority.
IMAGE(
CASE( Priority,
"Low", "/img/samples/flag_green.gif",
"Medium", "/img/samples/flag_yellow.gif",
"High", "/img/samples/flag_red.gif",
"/s.gif"),
"Priority Flag")```

This was selected as the best answer