You need to sign in to do that
Don't have an account?
CRMfusion - GW
Turn off data validation rules
Is there any way in the API to disable all data validation rules for the current session?
If not this would be a very important tool espcially in the case of Merge and LeadConvert calls when bad data is merged with bad data. Ideally we would have the ability in the header to turn off the validation rules for the current session.
Glenn Wilson
And($Profile.Name <> "System Administrator", rest of validation rule here)
This way, system administrators (or another named profile) won't get caught up in the rules and will be able to proceed normally.
~ sfdcfox ~
All Answers
Thanks for the update. I will definitely check in with our Success Managers at SF. Probably check out the idea exchange too.
Interestingly enough when I ran into this issue I noticed that some our older integrations are still using version 6 of the API and the validation rules do not seem to fire in the older version. So for now we can get around it but at the same time this is not very ideal as we need to keep pace better on our end.
Thanks,
Nate M
And($Profile.Name <> "System Administrator", rest of validation rule here)
This way, system administrators (or another named profile) won't get caught up in the rules and will be able to proceed normally.
~ sfdcfox ~
Be careful if there are Administrators using different Language setting, as the name for the profile "System Administrator" is translated and therefore it might happen that the validation still applies for an System Administrator which has set the language to e.g. German. We solved it with a checkbox on the user object which we check on in the validation rules: if TRUE then ignore the validation rule
Cheers