What is Business Rule (BR) and How to implement in vDesigner1.0 ?
- Business rule always consists of multiple/single rule put on LHS and RHS side
- These can be values or JSON path in $. format and directly compared and than evaluated in result of true or false format
($.LAF.LAF_DETAILS.ADDRESS.ADDRESS = DELHI AND $.LAF.LAF_ID = LPSALE20191231231 AND $.LAF.LAF_DETAILS.HOLDERS.MEMBER_ID != M10027620190122111114)
Above JSON path will be evaluated from below Business object, comapre and than will result in true/ false format
- Supports multiple operators like AND, OR, !=, GT, LT, GT=, LT=, IN, NOTIN, COUNT, SUBSTR, CALCULATE.
- Ability to resolve any complex path containing above operators than giving final result in true or false.
Example: '($.AOF.DATA.AOF_ID = aditya sharma AND $.AOF.DATA.AOF_ID = $.AOF.DATA.AOF_ID AND CALCULATE($.LAF.LAF_DETAILS.DATEOFINCORPORATION,CURRENT_DATE,MONTH) LT $.LAF.LAF_DETAILS.PROGRAM.OBJECT.buss_vintage AND ($.AOF.DATA.HOLDERS.PAN.PAN_LNAME IN (Aditya,Sonam,Tushar)) OR aditya NOTIN (aditya,satish,tushar) OR (Count($.AOF.DATA.HOLDERS.PAN.PAN_LNAME) = Count($.AOF.DATA.HOLDERS.MOBILE_NO_DTLS.IS_VERIFIED)) OR (COUNT(aditya) = 7)
- To Show/Hide any field in Front-End on basis of result of Business Rule.
- Restrict to navigate to Tab on like OV screen on basis of BR result.
- Restrict to next task perform on any action on basis of BR result.