Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feasibility of mathematical and logical operators among the parameters #167

Open
kumarsujendra opened this issue May 2, 2018 · 2 comments

Comments

@kumarsujendra
Copy link

@AndrewDryga and @alexeybondarenko ,
I have installed Gandalf API and Web on my local server and it's working fine as expected. Now I have requirement to use mathematical and logical operators.

Can we use mathematical and logical operators among the parameters captured in different columns. ?
Example on run time our application would calculate amount financed and we know Market value of the property. So we want mathematical operator to calculated Loan to value ration and make sure it is less than 80%
The formula would be (Amount financed/Market value) * 100 <= 80
such kind of rules....
Your help would be highly appreciated.

@AndrewDryga
Copy link
Member

AndrewDryga commented May 2, 2018

@kumarsujendra Right now there is no feature like that, so it would require a contribution from you. I think it can be added by storing the formula in decision field for each row and adding some simple mathematical evaluator to the decision process.

Additionally, we would need to make sure that formula would receive all required variables (table should devine attributed/column for each variable which is used in the formula) when table is created or updated, otherwise you would see runtime errors and it would be a paid to debug them.

@kumarsujendra
Copy link
Author

@AndrewDryga , Appreciate your prompt reply and the direction you have shown. We will check and share the updates with you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants