Skip to content

business rule with contains instead of exact match #80

@cecchigl

Description

@cecchigl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions