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
srikanth nsrikanth n 

While importing data using data loader validation rules should be bypassed and for normal users validation rules should be enforced how can you do that?Thx in Advance

While importing data using data loader validation rules should be bypassed and for normal users validation rules should be enforced    how can you do that?
vinothvinoth
I don’t think there is a direct provision for this, but we can achieve this by doing work around.

Create one checkbox name as 'Data from'(don’t place it in pagelayout), while uploading data from dataloader update this field as 'true'. Execute the Validation rule only when this field is not equal to 'True'
Eg:  If(Data_from__c!=True && your condition)