You need to sign in to do that
Don't have an account?

validation rule for the cross obejct
I have two obejct call log and login when i am inserting the data into the call log object using the csv upload i have a field called username we are inserting this field data from the csv file but before insertion this
username field data has to be validated if this username is matched with the login data it has to insert the record otherwise error to be display.
i have written a validation on the username field like below but this is giving the error for the condtion if username is correct also it is showing error.
Assign__c <> $ObjectType.Login__c.Fields.UserName__c
Assign__c = field to be validate in the call log obejct
UserName__c = field in the login obejct.
please help me here.
thanks in advance.
username field data has to be validated if this username is matched with the login data it has to insert the record otherwise error to be display.
i have written a validation on the username field like below but this is giving the error for the condtion if username is correct also it is showing error.
Assign__c <> $ObjectType.Login__c.Fields.UserName__c
Assign__c = field to be validate in the call log obejct
UserName__c = field in the login obejct.
please help me here.
thanks in advance.
Check below sample cross object validation rule
https://help.salesforce.com/articleView?id=fields_useful_validation_formulas_cross_object.htm&type=5
Also, can you post the validation rule?
Limitation:
https://trailblazer.salesforce.com/ideaView?id=08730000000BppM
Thanks