Summary
Evaluation Group
Description
Run a test evaluation group.
Route
POST /workflow_engine/runEvaluationGroups
Roles
Parameters
Name | Type | Required | Description |
---|---|---|---|
evaluation_group | array | yes | Array of evaluation groups to run |
all_true_flag | boolean | yes | All evaluation groups must pass, or not |
{ "evaluation_group": [ { "evaluations": [ { "operand_1": false, "operator": "contains", "operand_2": -88453757.98043782, "query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty", "rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty" }, { "operand_1": [], "operator": "contains", "operand_2": "minim ex culpa", "query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty", "rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty" }, { "operand_1": -42107148.0098592, "operator": "contains", "operand_2": -22187550.898519516, "query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty", "rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty" }, { "operand_1": -23082943.454333812, "operator": "contains", "operand_2": [], "query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty", "rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty" }, { "operand_1": true, "operator": "contains", "operand_2": [], "query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty", "rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty" } ], "all_true_flag": true }, { "evaluations": [ { "operand_1": [], "operator": "contains", "operand_2": "sunt labore in", "query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty", "rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty" }, { "operator": "contains", "query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty", "rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty" }, { "operator": "contains", "operand_2": -32804609.17717591, "query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty", "rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty" }, { "operand_1": -91262250.20855191, "operator": "contains", "operand_2": -6639516.229449421, "query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty", "rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty" }, { "operand_1": "ad adipisicing aute", "operator": "contains", "operand_2": [], "query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty", "rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty" } ], "all_true_flag": true }, { "evaluations": [ { "operand_1": [], "operator": "contains", "operand_2": [], "query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty", "rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty" }, { "operand_1": 20398989.982828036, "operator": "contains", "operand_2": false, "query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty", "rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty" }, { "operand_1": 93802601.31403992, "operator": "contains", "query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty", "rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty" }, { "operand_1": [], "operator": "contains", "operand_2": 39089238.1501264, "query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty", "rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty" } ], "all_true_flag": true }, { "evaluations": [ { "operand_1": "nulla quis sed", "operator": "contains", "operand_2": false, "query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty", "rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty" }, { "operand_1": "nulla irure ea laborum", "operator": "contains", "operand_2": [], "query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty", "rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty" }, { "operand_1": "laboris ad commodo pariatur Duis", "operator": "contains", "operand_2": false, "query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty", "rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty" } ], "all_true_flag": false }, { "evaluations": [ { "operator": "contains", "operand_2": false, "query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty", "rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty" }, { "operator": "contains", "operand_2": -53155303.965833366, "query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty", "rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty" }, { "operand_1": "elit ipsum proident", "operator": "contains", "operand_2": -36270270.05325209, "query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty", "rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty" } ], "all_true_flag": true } ], "all_true_flag": false }
{ "type": "object", "properties": { "evaluation_group": { "title": "evaluation_group", "type": "array", "items": { "type": "object", "properties": { "evaluations": { "type": "array", "items": { "$ref": "wfEngineCommon#/definitions/evaluationItem" } }, "all_true_flag": { "type": "boolean" } } } }, "all_true_flag": { "title": "all_true_flag", "type": "boolean" } }, "required": [ "evaluation_group", "all_true_flag" ], "additionalProperties": false }
Return
Name | Type | Description |
---|---|---|
return_value | boolean | Result of evaluation. |
true
{ "type": "boolean", "title": "return_value" }