SUMMARY:
When we enable the 'Enable Properties Navigation' for the sub-object (change request) in the parent object blueprint, then all the actions of the main object is visible on the sub-object level although the business rules to display the actions are not met and they are not visible at the parent object level.
Steps to Reproduce:
- Login Clarity Classic UI and Create a simple object based process with just a system action
- Validate the porcess
- Navigate to New UI and access Administration -> Blueprints
- Create a copy of blueprint 'Initiative'
- Open the blueprint in edit mode and navigate to actions tab
- Click on 'Add Process' button and select the process created in step 1
- Navigate to Rules tab and click on 'New Rule' button
- Provide the value for field Rule Name
- Under conditions section click on Add Filter and select any field to create a condition (example Work Status = Cancelled)
- Under Action section select Hide Action and select the action name created in step 6 and save
- Navigate to Modules and configure the 'Changes' module
- Under Configure Changes section 'Enable Properties Navigation'
- Publish the blueprint
- Now navigate to Investments in New UI and select Initiative
- Configure the Blueprint and Workstatus columns in the Grid layout
- Create an instance of initiative and map with blueprint published above in step 13
- Select the Work Status value as ancelled'
- Open the initiative and create an instance of Change request in Changes tab
- Navigate to properties tab on the initiative and the Action created in Step 6 is not visible as the initiavite's Work Status=cancelled which mets the business rule created on the blueprint in step 9
- Now navigate to Changes tab and open the change request
Expected Results: The action created in Step 6 is not visible under Actions
Actual Results: The action created in Step 6 is visible under Actions and when clicked on the action it gives an error 'GA-002 : Invalid Value for 'objectCode' in the request'.