1. Run your tests often.

In particullar when:
- new field is set as mandatory
- new validation rules has been added
- after instalation of new packages

It may affect your triggers, you may detect that eary when tests fails.

2. Do not mix coding and configuration

If you are creating VF controllers do everything there.
Avoid using workflow rules to update some fields. You may save 30 minutes for coding but later you will loose 2 hours for searching why this field value changes as there is nothing about that in code.


© Paweł Woźniak