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
Mayuri Thakre 6Mayuri Thakre 6 

validation rule !

AND(ISBLANK(FederationIdentifier),$Setup.Bypass_Settings__c.Disable_Validation_Rules__c == false),
Note: Due to this formula, for all the user federation ID is going to mandatory.But now I want to modify this formula firing only for internal users and bypass for community user.How to modify this formula?
AnkaiahAnkaiah (Salesforce Developers) 
Hi Mayuri,

try with below rule.
AND(ISBLANK(FederationIdentifier),$Setup.Bypass_Settings__c.Disable_Validation_Rules__c == false,IsPortalEnabled=False)
If this helps, Please mark it as best answer.

Thanks!!