Microsoft Dynamics CRM

Business Rules without any condition –Dynamics CRM 2013

I wonder if anybody ever tried this before. Often we need to trigger a business rule on form irrespective of the form values, something which always needs to be done. In CRM 2013, one of my colleagues pointed out to me that there is no actual need of putting any If condition. So I tried it with account name field, showing error message at all times on Account name field in Account entity. First I tried if Business rule will be allowed to be saved and activated. To my surprise, it is allowed in CRM 2013, just have a look below:

clip_image002

The next thing to check was what is going on in the Account form now. It had the error message as soon as I opened the form, which was permanently there(Look at highlighted rectangle in red):

clip_image004

So, whenever you want to trigger a business rule without any condition, it is possible to do so.

Ask your Query : Click here

Hope it helps!

Advertisements

3 thoughts on “Business Rules without any condition –Dynamics CRM 2013”

    1. So you can do a workaround, in case you wish to trigger it on new entity, you can put Created on field on the form. Next say Created on does not contains data and then the action.
      In case you wish to do it on save, created on contains data and then the action.
      In case for all conditions you can trigger same condition in case of both ifs on Created on.

      1. Yes, I’m not saying it’s impossible to achieve the same effect, but having to now create multiple business rules with different conditions just to make a field required on form load is a regression compared to the previous way 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s