Boolean attribute is not enabled/disabled real time according to business rule
search cancel

Boolean attribute is not enabled/disabled real time according to business rule

book

Article ID: 279948

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

Boolean attribute is not getting enabled/disabled real time when a business rule is set on the attribute. This is happening in the Properties page of the object but works fine in the grid view. 

STEPS TO REPRODUCE
1. Login to 16.2.0 Clarity machine 
2. Create a sub object of Project 
3. Create 2 boolean attributes under this sub object and enable them for API
   Attr1 and Attr2
4. Navigate to MUX  - Administration - Blueprint
5. Open a Project Blueprint and Edit
6. From Modules, add the Custom sub object to the modules list and enable to show the Properties Navigation and also add attr1 and attr2 to properties page
7. Navigate to Rules and Create New
8. Create a new rule as below (screenshot attached) 
   Rule Name: Disable Attribute
   Target Object: Custom SUb object created in Step 2
   Rule Type: Attribute Update
   Target Attribute: Attr1
   Is equal to Yes, Then
   UI Action Disabling Attributes: Disable Selected: attr2 
   Save
9. Publish the Blueprint
10. Navigate to Project and select one project and change the Blueprint to the BP used in Step 5
11. Open the project and navigate to the Custom sub object tab
12. Under the custom sub object, create a new instance of the sub object
13. Click on the instance and get inside the Properties page 
14. Check the attr1 boolen check box
Expected and Actual: As per the rule created, the attr2 gets disabled. 
15. Uncheck the attr1 check box
Expected: The attr2 checkbox gets enabled
Actual: The attr2 checkbox remains disabled.  

Environment

16.2.0, 16.2.1

Cause

Workaround: Do a hard refresh of the page and then the attr2 checkbox gets enabled

Resolution

DE79514 - Fixed in 16.2.2