I am using rest to fire rules in brms7 defined with ruleflow group, the json data I put like the following:
{
"commands": [
{
"insert": {
"object": {
"com.myspace.driver_department_traffic_violations.Violation": {
"speedLimit": 40,
"type": "Speed",
"actualSpeed": 55
}
}
}
},
{
"fire-all-rules": {}
},
{
"get-objects": {
"out-identifier": "violation"
}
},
{
"dispose": {}
}
]}
Question is how to assign ruleflow group inside the json data? the rule in server has ruleflow group assigned, I need to assign ruleflow group name in json to fire the rules.