Hi
I need to set default value for some field, How can I ignore or remove condition at image below ? I cannot update business rule because error below.
Note: I have upgraded CRM 2015 to Dynamic 365 CRM
Hi,
Did you click on Apply button?
It seems that your last step(right side panel) is un saved. Please click on apply button(bottom - right) then click on validate.
If I apply, it will set condition, but I don't need any condition for business event.
I just want to set default values for this form.
You are getting error because you have to provide at least one condition then only you can set default value. You can have condition like "if (xyz field does not contains data)" and then you can set your default value.
Or you can use javascript at on load for setting default value. If its option set then you can set default value also by going to that field properties and set the default value.
Regards,
TNS
So I cannot set empty condition or I only use JavaScript.
You can not remove or ignore condition statement. However you can add condition which will always return true no matter what happens on record. For example Case entity will always have case Number. So we could add condition as Case number conain data which will always return true.
Yes, you can not use empty condition, when you will provide condition then only you can proceed further. Else, you use javascript.
Hi Folks
By design, you cannot remove this conditional. This one prevent a recursive execution to Business rule.
I suggest use the next logic to implement your Business Rule - BR
if field1 is emptyset field1 to XXX (Default value)
this simple logic execute only one time when the field is empty. You can use the same logic to set ever the option to a unique value. Ex
if field1 is not XXXset field to XXX
If found helpful, Please mark my answer verified.Regards
Jorge Landazabal
Depending upon your business need you can either create business rule, JS, or Flow. I will be explaining it with few business scenarios.
The main difference between a, and b is that with a, the value will be updated only once and it gives you capability to let the user change its value. While with B, the value can never be empty. If you keep it empty the business rule will change it to the default value.
I hope this helps. Please let me know if you have any questions/concerns.
Thanks
Jay
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
MVP-Daniyal Khaleel 125
Tom_Gioielli 97 Super User 2025 Season 2
Erin Lubben 73