Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

How to make field recommended in Business processes flow (Form) stage but no impact on primary entity form.

Posted on by 10

Hi,

I have issue with making field required or recommend or optional in business process flow stages.

In Case record i have two business process flows they are primary stage and alternate stage.

I have four field in both business process flow stage  and also on case form they are:

  1. case Type
  2. Account
  3. Contact
  4. Email

On change of field  case type to alternate  now changing primary business process flow to alternate business process flow and making email as required account field as recommend, this action should happen in business process flow form only not on case form.(.i.e - on case form email becoming required and account recommend, i don't want this two fields to be changed on case main form they should be optional as initial).

i have used below javascript  code on change of case type field:-

formContext.getControl("header_process_new_email").getAttribute().setRequiredLevel("required");

formContext.getControl("header_process_new_account").getAttribute().setRequiredLevel("recommended");

This code is working fine in BPF form  but should not impact on case main form. 

Is there any other solution to handle this issue please let me know.

Thanks,

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans