Tip #597: Tipster guide to Creating Business Rules Based on Business Process Flows

Robinson Crusoe & Friday

Friday. ‘Nuff said. Dynamics CRM 2016 introduced a new feature that allows you to create Business Rules, that can execute based on Business Process Flows. Here we show you how to configure this option. If you prefer reading, this non-animated version will guide you through. Give us your feedback, all of it: good, bad, and […]

Tip #574: Hidden sources of javascript errors

Quite often developers complain about getting javascript errors when the form does not contain any scripts or events. Explicit script definitions are not the only source of the possible errors: Business Rules are deployed on the client as generated javascript. While it’s unlikely that business rules will generate an erroneous script, it’s worthwhile disabling the […]

Tip #471: What will stop your form from closing

Failed import using business rule

tl;dr Setting data validation error on the form level with Xrm.Page.ui.setFormNotification call will NOT stop form from closing, setting errors on individual controls with Xrm.Page.getControl(arg).setNotification, on the other hand, will. To achieve even better results, use business rule instead of the javascript. Slightly longer version Friend of mine pinged me to help with the script […]