Checkbox always unticked with a rule depending on lookup
search cancel

Checkbox always unticked with a rule depending on lookup

book

Article ID: 278563

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

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:

  1. 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)
  2. 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. 
  3. 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)
  4. With the Rule enabled, publish the Blueprint and assign it to some projects.
  5. Add the lookup and Boolean attributes into the Details flyout and grid.
  6. 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
  7. 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).

Environment

Clarity 16.2.0, 16.2.1.

Cause

DE79486

Resolution

This issue is fixed in Clarity 16.2.2.