-
Feature Request
-
Resolution: Done
-
Major
-
7.46.0.Final
-
None
-
Undefined
-
NEW
-
NEW
-
---
-
---
Track Map key/value (The map is a field of a fact)
e.g. In RHS,
then
$controlFact.mapData["ItemStatus"] = $status;
modify ($controlFact) {
mapData = $controlFact.mapData;
}
In LHS of another rule,
when ControlFact(keyword == "XXX", mapData["ItemStatus"] == "YYY") ...
-> So we don't want to evaluate the impact by entire 'mapData'. Instead, we want to treat the key "ItemStatus" as each fact field. (In this case, it's positive on "ItemStatus")
Also consider the use function for the map so it would be like:
when ControlFact(keyword == "XXX", convertMapData(mapData, "ItemStatus") == "YYY")