Q) Before writing Triggers is there a way we would be able to know the validation rules that's enforced? Required fields etc? So we can better write triggers?
Hi Rajiv, Triggers are useful thing for developers and so are the validation rules.Before writing triggers or validation rules one must know the basic difference between the triggers and the validation rules because the basic functioning of both is somehow same. Please refer to this link it may be helpful to you: https://developer.salesforce.com/forums/?id=906F0000000kJFlIAM
And for checking the validaition rules you must follow simple steps: 1.Open your org And click on the setup
2.Go to Object Manager and Select the desired object you want to select (In my case I am selecting the Account Object).
3.Now the account Object is opened, click the validation rules on the left of your org and there you can see all the validation rules enforced and even you can create new rules by clicking on the new button.
And for viewing the required fields you can simply Go to the object and click new then the field containing the red marked asterik will be the required field.
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Triggers are useful thing for developers and so are the validation rules.Before writing triggers or validation rules one must know the basic difference between the triggers and the
validation rules because the basic functioning of both is somehow same.
Please refer to this link it may be helpful to you:
https://developer.salesforce.com/forums/?id=906F0000000kJFlIAM
And for checking the validaition rules you must follow simple steps:
1.Open your org And click on the setup
2.Go to Object Manager and Select the desired object you want to select (In my case I am selecting the Account Object).
3.Now the account Object is opened, click the validation rules on the left of your org and there you can see all the validation rules enforced and even you can create new rules by clicking on the new button.
And for viewing the required fields you can simply Go to the object and click new then the field containing the red marked asterik will be the required field.
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Deepali Kulshrestha