Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Business rules don't work

(0) ShareShare
ReportReport
Posted on by 10

Hi everyone!

This is the context. 

I created 2 business rules, both of them work in the same column. I had to divide in two rules diferents, because I need 10 conditions and theese only suport 9.

Basically, those work like this. If the column 'Cantidad' have a number between 1 or 10 show other columns 'Beneficiario'.

The trouble that I have is, when I activate the last one of business rules theese inactivate the other one. 

What I need to do for both of them work in the same moment?

 pastedimage1678136546217v3.png

  • Suggested answer
    DAnny3211 Profile Picture
    9,278 Moderator on at
    RE: Business rules don't work

    hi

    It sounds like the two business rules you created are conflicting with each other because they both apply to the same column.

    One solution could be to combine the two rules into a single rule that includes all 10 conditions. This would allow you to avoid the conflict between the rules and ensure that both rules are applied simultaneously.

    To do this, you can use the "OR" operator in your conditions to specify that any of the 10 conditions can be met for the rule to apply. For example, your rule might look something like this:

    If Cantidad equals 1 OR Cantidad equals 2 OR Cantidad equals 3 OR Cantidad equals 4 OR Cantidad equals 5 OR Cantidad equals 6 OR Cantidad equals 7 OR Cantidad equals 8 OR Cantidad equals 9 OR Cantidad equals 10, then show Beneficiario.

    By combining all of the conditions into a single rule, you can ensure that both rules are applied simultaneously and avoid any conflicts between them.

    Alternatively, you could try changing the column that each business rule applies to, so that they do not conflict with each other. For example, you could have one rule apply to Cantidad and another rule apply to a different column. This would allow both rules to be applied simultaneously without conflict.

    DAniele

  • Verified answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    RE: Business rules don't work

    Hi Camilo,

    "when I activate the last one of business rules theese inactivate the other one"::

    --Is the status of the business rule directly 'Deactive' or is the status active but not working?

    I cannot reproduce your situation, both business processes can be active at the same time and can work normally.

    Please refer to my steps:

    --Creating two business rule and active them:

    pastedimage1678170241380v1.png

    pastedimage1678170263046v2.png

    --Check Code is right:

    IF
    Cantidad equals 1
    THEN
    Show field Beneficiario
    ELSE IF
    Cantidad equals 2
    THEN
    Show field Beneficiario2
    ELSE IF
    Cantidad equals 3
    THEN
    Show field Beneficiario3
    ELSE IF
    Cantidad equals 4
    THEN
    Show field Beneficiario4
    ELSE IF
    Cantidad equals 5
    THEN
    Show field Beneficiario5
    
    
    IF
    Cantidad equals 6
    THEN
    Show field Beneficiario6
    ELSE IF
    Cantidad equals 7
    THEN
    Show field Beneficiario7
    ELSE IF
    Cantidad equals 8
    THEN
    Show field Beneficiario8
    ELSE IF
    Cantidad equals 9
    THEN
    Show field Beneficiario9
    ELSE IF
    Cantidad equals 10
    THEN
    Show field Beneficiario10

    --Save and active them

    pastedimage1678168232616v1.png

    --Publish.

    --Test:

    pastedimage1678170124696v5.pngpastedimage1678170139496v6.png

  • SamiraM Profile Picture
    587 on at
    RE: Business rules don't work

    Can post your business rules screenshots here? Have you validated your business rule? and check its scope as well.

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.

Helpful resources

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Adis Profile Picture

Adis 136 Super User 2025 Season 1

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 81

#3
Jonas "Jones" Melgaard Profile Picture

Jonas "Jones" Melgaard 77 Super User 2025 Season 1

Product updates

Dynamics 365 release plans