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?
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
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:
--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
--Publish.
--Test:
Can post your business rules screenshots here? Have you validated your business rule? and check its scope as well.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156