提问人:Dev24 提问时间:10/6/2023 最后编辑:Denis MichealDev24 更新时间:10/6/2023 访问量:23
规则引擎是否支持 NOT IN 来检查元素是否不存在在容器中或 .Net 的 Json 规则表达式中的元素列表中?
Does Rule Engine Supports NOT IN to check if the element is not present in container or List of Elements in Json Rule Expressions in .Net?
问:
{"Rules": [{"Expression": " element NOT IN RestrictedElementList ", "RuleName": "MyRule", "SuccessEvent": "01"}], "WorkflowName": "MyRule"}
规则引擎是否支持 NOT IN?我正在尝试检查该元素是否存在于 中。RestrictedElementList
我试过这个
{"Rules": [{"Expression": " element NOT IN RestrictedElementList ", "RuleName": "MyRule", "SuccessEvent": "01"}], "WorkflowName": "MyRule"}
和
{"Rules": [{"Expression": " !(element IN RestrictedElementList) ", "RuleName": "MyRule", "SuccessEvent": "01"}], "WorkflowName": "MyRule"}
答: 暂无答案
评论