web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
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? 

I have the same question (0)
  • Gustavo Longo Profile Picture
    on at

    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,

  • Tim Rylant-GMI Profile Picture
    10 on at

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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 60 Most Valuable Professional

#2
#ManoVerse Profile Picture

#ManoVerse 51

#3
Satyam Prakash Profile Picture

Satyam Prakash 42

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans