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

business rule with contains instead of exact match #80

Open
cecchigl opened this issue Jun 18, 2022 · 0 comments
Open

business rule with contains instead of exact match #80

cecchigl opened this issue Jun 18, 2022 · 0 comments

Comments

@cecchigl
Copy link

Is it possible to write business rules that act like "this property has to contain this value".
As an example let's say i have a set of items:

[
{"entityType" : "item",
   "entityId" : "1",
   "properties" : {
      "name": ["Yellow Car"]
   },
{"entityType" : "item",
   "entityId" : "2",
   "properties" : {
      "name": ["Car red"]
   },
{"entityType" : "item",
   "entityId" : "3",
   "properties" : {
      "name": ["motorbike"]
   }
]

I would like to write a business rule to get only items with name containing "Car" and so only item with id 1-2

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

1 participant