Page personalization to restrict category editing
We have a requirement to restrict editing of Item Categories field on the basis of Item Status, if the status is in Not Approved then the user can change the Item Categories while on other status they can't change the Item categories.
Currently when I'm trying this through page personalization by making a sandbox, comparison of the status value using the binding parameter value of Item Status it is not giving the expected result,
expression I'm writing is '#{(pageFlowScope.pReadOnly == 'Y') or {bindings.InventoryItemStatusCode.inputValue == 'Not Approved')}'
It is returning false in both the case,
1. when Item status is Not Approved
0