I have to create a business rule for the below set of conditions, due to the limitation of nested-if I am unable to write the below rule. Could you please suggest a workaround for the below scenario? please note that these numeric values could be changed anytime through the rule editor.
if(CapitalAmt <= 100,000) then
value =100*NoOfMember
if value >=15000
fee = 15000
else
fee = value
else if (CapitalAmt > 100,000) then
value =CapitalAmt/200
if value >=15000
fee = 15000
else
fee = value