Salesforce Validation Errors in Gainsight

  • 3
  • Question
  • Updated 7 months ago
  • Acknowledged
Hello Team,

I have two fields, one picklist and other text field. My use case is that if use has selected a particular value then the text field should become mandatory. 
This can be done using Salesforce validation rules but the error message is accompanied with a gainsight error code. How can I remove the gainsight error
Photo of Jahnavi

Jahnavi, Champion

  • 1,938 Points 1k badge 2x thumb

Posted 8 months ago

  • 3
Photo of Hitesh Sharma

Hitesh Sharma, Employee

  • 4,180 Points 4k badge 2x thumb
Hi Jahnavi,

Can you let us know which part of the application are you seeing this error?

Regards,
Hitesh
Photo of Jahnavi

Jahnavi, Champion

  • 1,938 Points 1k badge 2x thumb
This is in the  Customer Contact section in R360 when I click on edit pencil button
Photo of Jahnavi

Jahnavi, Champion

  • 1,938 Points 1k badge 2x thumb
Photo of Jahnavi

Jahnavi, Champion

  • 1,938 Points 1k badge 2x thumb
The error is highlighted in yellow. 

We have set up a validation rule on the field called "Other Cloud Services role" such that whenever a user selects the option other from "Cloud services role 2" this field becomes mandatory. 

We have given a proper error message but when i check in gainsight it gives the operation failed error
Photo of Azhar Uddin

Azhar Uddin, Employee

  • 3,952 Points 3k badge 2x thumb
Correct. We don't show the message that you have configured, as I remember when I implemented this, Salesforce API was not giving us the message that was configured as part of validation rule. 

I will check again with Hitesh if things have changed from Salesforce's side. And will add this custom message if available. 

Thanks
Photo of Jahnavi

Jahnavi, Champion

  • 1,938 Points 1k badge 2x thumb
Thanks, that would  really help. 
Also if this is not doable, does GS have the ability to show error messages like these?
Photo of Jahnavi

Jahnavi, Champion

  • 1,938 Points 1k badge 2x thumb
Any update on this?