Post 16.3.3 Upgrade: Business Rule No Longer Works On 'Create From Template'
search cancel

Post 16.3.3 Upgrade: Business Rule No Longer Works On 'Create From Template'

book

Article ID: 420744

calendar_today

Updated On:

Products

Clarity PPM SaaS

Issue/Introduction

After upgrading from 16.2.2 to 16.3.3, the business are no longer working on 'Create From Template'
Attributes that were previously locked on the modal, are now editable, instead of locked (read-only).

Steps To Reproduce

1. Create IDEA blueprint

2. Configure the fields:
a. OOTB attribute: Work Status
b. custom String attribute, e.g.
attr_string

3. Create the following rule:
Disable editing of (Work status) if  (Work Status  != 'Complete')  OR (custom string is EMPTY)

Match Filters: ANY
custom string is Empty
Work Status != Complete

Actions
Disable Editing Attributes: Work Status

4. From Idea workspace list page, click 'Create From Template' and review the modal fields.

Actual: Work Status is editable and is set to 'Requested'
Expected: Work Status should be locked (with message: Locked by business rule)
because it is not set to 'Complete'

Before the upgrade from 16.2.2 to the latest 16.3.3/16.4.0 it was working as expected.

Environment

16.3.3+

Cause

DE179633
DE16035 

Resolution

There was defect fixed by DE16035 explained in article 385067

By design, business rules should only are applicable when a record is already created. 
The only exception here is when a rule has "Always True=TRUE" and In this case, 
required attributes are enforced in the 'Create Template' modal. 

This is working as designed, therefore to allow read-only business rules during the creation of a record is needed,
an enhancement can be submitted to enforce the scope of how the rule will be applied.