Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Mandatory field hidden on BPF not validated as required

Posted on by 5

Hello everybody!

I have a Yes/No option set added in a BPF stage as required. It is hidden by a business rule set at entity level (Field is filled in with value selected from an option set. Condition is when a certain value is selected, then be able to move to next stage). 
Being hidden, the BPF prevents validation on the field, although is required.

Any solutions?

Thanks!

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Mandatory field hidden on BPF not validated as required

    Hi Alina Mihaela,

    It seems that you create another field(yes/no) to check whether field A equals value 1 or not, correct? If so, there is no need to do this. You could create a workflow to move to next stage when field A = value 1 in the BPF, please refer to this blog:

    Validating BPF Fields to Restrict Stages through OOB Workflow in Dynamics 365 | Microsoft Dynamics 365 CRM Tips and Tricks (inogic.com)

    BTW, when you hide the field, the BPF would not validate it.

  • Alina Mihaela Profile Picture
    Alina Mihaela 5 on at
    RE: Mandatory field hidden on BPF not validated as required

    Actually my requirement is to let user move to next stage (manually select next stage) only if field A = value 1 (from option set).

    I made another field (yes/no) set by a BR on yes only when all condition are met and hide it (it shouldn't be on the BPF). Being hidden prevents BPF from validating it on yes when moving to next stage and this is my main problem.

    Thanks!

  • CRMizer_out Profile Picture
    CRMizer_out 85 on at
    RE: Mandatory field hidden on BPF not validated as required

    Hi, a yes/no field will always have a default value as either true or false. It will never be null. Hence the business required condition is always met. Possible solution is to replace yes/no with option set field.

    Hope it helps

  • Badger Profile Picture
    Badger 130 on at
    RE: Mandatory field hidden on BPF not validated as required

    Can you display the field but make it read-only for the users?

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!

Community AMA December 12th

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

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 229,928 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans