Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

setRequiredLevel on a BPF field does NOT make it required?

(0) ShareShare
ReportReport
Posted on by 10

I have a customer who is using D365 on premise version 9.0.17.8 who want a field in a BPF to be required under certain circumstances.

So in javascript I make it required through  FormContext.getControl("header_process_fanc_checklistfieldscompleted").getAttribute().setRequiredLevel("required"); and in the BPF itself it shows it as required:
pastedimage1610962989757v1.png

This field is an OPTIONSET with only 1 option: YES. So it is null or YES. As you can see in the screenshot it is empty as it has the "click to enter" message.
If i now use the Next Stage button, it will just move to the next stage without verifying if there is a value inside the required field.

Anybody else who has/had this problem? 

  • Tim Rylant-GMI Profile Picture
    Tim Rylant-GMI 10 on at
    RE: setRequiredLevel on a BPF field does NOT make it required?

    We just installed the latest update (january 2021) and the issue did not get fixed.

  • RE: setRequiredLevel on a BPF field does NOT make it required?

    Hello Tim,

    Hope you are well.

    Required fields (Yes/No) are not checking while moving to next stage is a known issue, which was fixed on latest update packages.

    Would say to apply the latest update package and try again.

    Microsoft Dynamics 365 On-Premise Cumulative Updates

    Regards,

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

News and Announcements

Announcing Category Subscriptions!

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,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans