Having a slight issue with a Business Rule working within a Business Process Flow.
The challenge was as follows;
Within a Business Process Flow, 3 fields need to be mandatory until;
Fields A and B are complete
or
Field C is complete
they only need to be mandatory within the context of the BPF, and not on any of the forms
The solution seemed simple;
Create a Business Process Flow X, to hold the three fields within one section.
Create a Business Rule, have this rule handle the following logic;
If all three fields are null, and the active business process flow X with the correct stage , make all three mandatory
If Fields A and B are complete, and the active business process flow X with the correct stage, set Field C to non Mandatory
If Field C is complete, and the active business process flow X with the correct stage, set Field A and B to non Mandatory
The business rule has been set to run on 'All Forms' (Although the condition around the business process flow should mean it's only run when active stage and process flow is where it needs to be) I found that when I set the rule to be on 'Entity' the ability to have conditions on the active stage/BPF where not available
I've also carried out common checks, making sure all fields referenced in the rule are available on both the form and the BPF.
Any assistance would be greatly appreciated.

Report
All responses (
Answers (