Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Suggested answer

Business rule to lock fields not firing

(0) ShareShare
ReportReport
Posted on by

Hi I have a very simple business rule, pretty much the requirement is if 'Is Customer Integrated' field equals 'Yes' AND 'Created On' field contains data THEN Lock the two fields below. IF 'Is Customer Integrated' equals 'Yes' set the two fields below to mandatory. 

I'm not sure what the issue is but my business rule does not seem to be firing and the fields are still able to be modified when 'Is Customer Integrated' is set to 'Yes' and 'Created On' contains data.

IF
Is Customer Integrated? equals "Yes" AND Created On contains data
THEN
Lock External Reference
Lock External System
ELSE IF
Is Customer Integrated? equals "Yes"
THEN
Set External Reference as Business Required
Set External System as Business Required
  • Matt Se Profile Picture
    Matt Se on at
    RE: Business rule to lock fields not firing

    Hi I figured out what the issue was.

    The 'Created On' field was not on the form itself, I added the field and it has to be visible in order for the Business Rule to read the data.

    Works fine now.

    Thanks

  • Matt Se Profile Picture
    Matt Se on at
    RE: Business rule to lock fields not firing

    Hi Steve,

    Have confirmed my business rule is active and I have also set Scope to 'All Forms' but it is still not working.

    Also don't think there are any other business rules or processes that are conflicting.

    Thanks

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Business rule to lock fields not firing

    Hi Matt Se,

    I tested the logic of your business rule, It could work:

    When 'Is Customer Integrated' is set to 'Yes' and 'Created On' contains data:

    pastedimage1637137157409v2.png

    When 'Is Customer Integrated' is set to 'Yes' and 'Created On' doesn't contain data:

    pastedimage1637137204100v3.png

    Please check the following point:

    1. Make sure your business rule is active.

    2.If the scope of business rule is one of the form, please make sure you were using the corresponding form. You can check scope here:

    pastedimage1637137255666v1.png

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!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans