Hi guys,
I have got a requirement to create UI to build expression using various input fields and logical operators.
Could someone please help me to achive this in UI.
Fields should like below
Fields Dropdown , Operator Dropdown, Field Value, And/or
After clicking on And or OR new row should be created to add another expression
Expression should be like below
Expression 1: [x] >=45 && [Y] >=78 || [Z] == 56
There is also requirement like user must allow to edit or add new expression like above through UI..
We are maintaing table like below to store the business rules
Business Rule:
Rule ID, Rule Label, Rule Expression, Rule ExpressionFields, Status
1,Test, ([X] >=50) && ([Y] <=67), X|Y,true
Go to the complete details ...