Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

CRM 2015 - Changing Required Level of Field Located in Business Process Flow Not Working as Expected

$
0
0

Here is the Scenario:

1) Create two fields for any entity ... for example: "New Person" (Yes/No field) and "Person Name" (text field) and make sure fields ARE NOT REQUIRED. DO NOT add this field to any form.

2) Create a Business Process Flow for the entity and add both those fields to a stage and make sure the fields ARE REQUIRED. Make sure you have additional stages after this stage.

3) Create a business rule that if "New Person" equals No then make "Person Name" field NOT REQUIRED (else keep it required)

4) Save and Publish all changes

5) Go to entity that has the business process flow and go to the stage that has the two fields you created. You will notice, as expected, that the two fields are required to move to the next stage.

6) Set "New Person" value to "No". You will notice, as expected, that the red "*" next to "Person Name" disappears making the field NOT REQUIRED.

7) Click the Next Stage Button to try and move to next stage. You'll notice you are unable to move to next stage. You get a warning saying "You have to complete the required steps before you can advance".

Is this a glitch in MS Dynamics? What's the use of business rules if they don't work in business process flow fields?

Note: I've tried with JavaScript as well, and the result is the same.

The scenario above only works if you initially set the "Person Name" field to NOT REQUIRED instead of required in the Business Process Flow.

Any feedback you can provide will be greatly appreciated.


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>