function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
fiona gentryfiona gentry 

Unable to get rid of Validation message For Case Record Field

Hi,

Developed this rule which is showing correct validation as per condition,but problem is after i ener the amount in settlement amount field basically the field is no more BLANK ,the validation message doesnt goes away 

User-added image


Here is the rule 
AND(
OR(
RecordType.Name = "Executive Response",
ISBLANK(Settlement_dollar_amount__c),
ISPICKVAL( Opened_By_Source__c, "Airtel/Fairshake"),
ISPICKVAL( Opened_By_Source__c, "Airtel - Radvocate"),
ISPICKVAL( Opened_By_Source__c, "Airtel - Radvocate/Fairshake")
)
&&
ISBLANK(Source_Name__r.Name)
,
OR
($Profile.Name = "EETR Case Worker", $Profile.Name = "EETR Reviewer",$Profile.Name = "EETR Coordinator")
)


Please let me know why the validation message doesnt goes away after i enter the settlment amount in the Case Record

Regards
Fiona
Best Answer chosen by fiona gentry
AnkaiahAnkaiah (Salesforce Developers) 
Hi Fiona,

try with below rule.
AND(
ISBLANK(Settlement_dollar_amount__c),

OR
($Profile.Name = "EETR Case Worker", $Profile.Name = "EETR Reviewer",$Profile.Name = "EETR Coordinator")
)

If this helps, Please mark it as best answer.

Thanks!!​​​​​​​

All Answers

AnkaiahAnkaiah (Salesforce Developers) 
Hi Fiona,

Can you please explain about your requirement?

when this validation rule should fire?

Thanks!!
AnkaiahAnkaiah (Salesforce Developers) 
Try with below validation rule.
AND(
OR(
RecordType.Name = "Executive Response",
ISBLANK(Settlement_dollar_amount__c),
ISPICKVAL( Opened_By_Source__c, "Airtel/Fairshake"),
ISPICKVAL( Opened_By_Source__c, "Airtel - Radvocate"),
ISPICKVAL( Opened_By_Source__c, "Airtel - Radvocate/Fairshake")
),
ISBLANK(Source_Name__r.Name),
OR
($Profile.Name = "EETR Case Worker", $Profile.Name = "EETR Reviewer",$Profile.Name = "EETR Coordinator")
)

If this helps, Please mark it as best answer.

Thanks!!​​​​​​​
fiona gentryfiona gentry
Here is requirement:

this rule should be triggered whenever there is new case creation

Make an existing filed named "Settlement Dollar Amount" field as required
Add helper text to this feild "Settlement Dollar Amount"-
Add validation message for this field "Settlement Dollar Amount"
Validation message must be triggered only for EETR users
AnkaiahAnkaiah (Salesforce Developers) 
Hi Fiona,

try with below rule.
AND(
ISBLANK(Settlement_dollar_amount__c),

OR
($Profile.Name = "EETR Case Worker", $Profile.Name = "EETR Reviewer",$Profile.Name = "EETR Coordinator")
)

If this helps, Please mark it as best answer.

Thanks!!​​​​​​​
This was selected as the best answer