Symptom
- Alert group text does not match the color of the icon when non-standard SAP colors are used.
- Standard SAP colors include red, yellow, and green. When purple is used, the icon appears in purple, but the alert group text remains white.
Environment
- SAP Sales Cloud and SAP Service Cloud Version 2.
Reproducing the Issue
- Navigate to the Agent Desktop.
- Search for the relevant ticket and click on "Accepted."
- Open the customer hub screen.
- Observe the session on the left with the "Alerts" name.
- Note that while the icon reflects the selected color (e.g., purple), the alert group text remains white.
Cause
- The Alert Framework is designed to support only three colors: Red, Yellow, and Green.
Resolution
Key Details regarding Alerts in Service Cloud V2:
- Color/Severity Definition: The
colorattribute in the alert payload defines the alert color. - Icons: Alert icons can be customized, for example, using
error_filled.
If a group does not have an icon explicitly set, a default icon will now be assigned based on the associated color:
- Green → info_filled
- Yellow → warning_filled
- Red → error_filled
In cases where a user sets an undefined or non-standard color (for example, purple), the system now defaults the color to green (icon: info_filled), treating it as a low-priority alert.
See Also
- Refer to: Alerts System API
Keywords
alert text color, external alerts, icon color mismatch, non-standard colors, alert group text, supported colors, SAP Sales Cloud, SAP Service Cloud, purple alert issue, text default to white, color limitations , KBA , CEC-CRM-AD , Agent desktop - live channels , Problem
Product
SAP Sales Cloud and SAP Service Cloud Version 2 all versions
Attachments
| Pasted image.png |
| Pasted image.png |
SAP Knowledge Base Article - Public