Expression Language: Value of field is based on another field's value
I have create a new text DFF.
The value of that DFF is based on the following:
- If Batch Date is same as Accounting Date = SAME
- If Batch Date is not the same as Accounting Date = DIFFERENT
The following is the expression I have made to achieve this:
#{(pageFlowScope.BatchNumber.inputValue) == (pageFlowScope.Description.inputValue) ? 'SAME' : 'DIFFERENT'}
As per my underestanding, pageFlowScope checks the current field's state (or value). However it does not work.
Tagged:
0