Im building an app where a user can plug certain variables, and receive a yes/no answer, based on pre-written rules that meets certain conditions, (defined by the admin).
Those rules define conditions needed to result as a “Yes”, and it uses “And” operators to combine all the factors needed.
-
How is this done in terms of front-end (a place to let the admin define the rules?
-
How is this done in the back-end? in terms of Database, and Workflow to actually use the rules to calculate the users plugged in situation.
-
If there are more than 1 scenario (combination of factors) that results to “Yes” in a rule, how is this defined?