Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Unanswered

Bug found while authoring a business rule

Posted on by
I found a bug while authoring a business rule. Here are the repro steps:
 
Create a condition - condition 1
           Yes - Show Error Message - Error message 1
Else If condition 2
            Yes - Copy Error Message 1 and paste it here - change the message to Error Message 2
 
Save and activate the business rule.
 
Go to form and change field value to make condition 1 or 2 true - notice that the error message does not change correctly.
 
To workaround this - delete the Action /Show Error Message 2/. Add a new step (do not copy and paste) - /Show Error Message/ - Error Message 2.
Save and activate the business rule. 
Now the business rule works correctly.
 
Looks like copy and paste for this Action /Show Error Message/ is reusing variable name for the error message in JavaScript and it's behaving erroneously during runtime. Please reach out to me if you have any questions.
 
Thanks,
Piyush
 

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans