When you enable a rule on a boolean attribute that depends on a lookup being empty, the boolean value always goes back to No/False.
Steps to Reproduce:
- Create a lookup attribute in the Project object.
(or use existing Lookup for 'WIP Class'; this is not a required field and is allowed to be empty)
- Create a Boolean attribute in the Project object.
(or use existing Boolean 'Use System Reinvestment Rate' this is a system Boolean field)
Check that you have some projects already where the Lookup HAS a selected value and the Boolean field is checked and some where the Boolean is not checked.
- Create a new Rule in a Project blueprint:
Target Object: Project
Rule Type: Attribute Update
Target Attribute: Lookup from Step 1.
If 'Is Empty', then;
Data Actions:
'Set Attributes', 'Boolean from Step 2', 'No'
UI Actions:
(none)
- With the Rule enabled, publish the Blueprint and assign it to some projects.
- Add the lookup and Boolean attributes into the Details flyout and grid.
- When the Lookup has a value and the Boolean is Checked, and the user changes the Lookup to 'Is Empty', the Boolean is unchecked by the rule
- Now populate the Lookup field with a value selected (not empty) and check the checkbox.
Expected Results: When the Lookup has a selected value (not empty), the Checkbox is checked (value: Yes) by the user and should remain checked.
Actual Results: Checkbox is checked temporarily, but shortly after, is unchecked (value: No).