CacheControl / CacheControl/json-rules-engine
fact params is not working when I am using fact in evaluationDetails > currentValue
- 主要语言
- JavaScript
- 星标
- 3.1k
- 派生
- 507
- PR 合并指标
- 30 天内没有已合并 PR
描述
I am using these params to create a rule. When rule is failing I want it to return currentValue by resolving fact **documentsCount** . Although It is resolving this fact **documentsCount** but not with the params which I passed. The params receiving params in fact fact resolver is {}.
```
{
baseNumber: 1,
evaluationDetails: {
code: "RuleEventErrorCode",
currentValue: {
fact: "documentsCount",
params: {
status: "approved",
hasPayments: true,
},
},
message: 'The documents number does not meet the requirements',
targetValue: {
fact: "stdDocCount",
},
}
};
```
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。