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

How to build a rules engine in TigerGraph #59

Open
dmccreary opened this issue Jan 15, 2020 · 0 comments
Open

How to build a rules engine in TigerGraph #59

dmccreary opened this issue Jan 15, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@dmccreary
Copy link

We would like to build a simple rules engine that stores and executes rules TigerGraph. To get started we just would like to add Boolean expressions to a search query. For example, this is a "composite" rule which is an AND of three other rules.

Select all customers where:
STATE = 'MN' OR STATE = "IA" OR STATE = "WI" OR STATE = "ND" OR STATE = "SD" // midwest states rule
AND
PRODUCT_PURCHASED = "P123" OR PRODUCT_PURCHASED = "P456" // product family 898
AND
NET_PROMOTER_SCORE < 7

We would like to have a simple web user interface (strong preference for REACT and Antd) that allows people to define the rules, give them names and recombines them. We would also like a node that tracks how many times rules are executed.

Thanks!

@JonHerke-TG JonHerke-TG added the enhancement New feature or request label Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants