Summary
Evaluation Group
Description
Run a test evaluation group.
Route
POST /workflow_engine/runEvaluationGroups
Roles
admin
apiwrite
Parameters
DetailsExampleSchema
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 |
Copied to Clipboard
{
"evaluation_group": [
{
"evaluations": [
{
"operator": "contains",
"query": "somePropertyNameInOperand_1IfItIsAnObject"
},
{
"operand_1": "do dolor Ut dolore",
"operator": "contains",
"operand_2": -21481929.641775414,
"query": "somePropertyNameInOperand_1IfItIsAnObject"
}
],
"all_true_flag": true
},
{
"evaluations": [
{
"operand_1": -1844997.9978925884,
"operator": "contains",
"operand_2": -91725111,
"query": "somePropertyNameInOperand_1IfItIsAnObject"
},
{
"operator": "contains",
"operand_2": -25254719.354705468,
"query": "somePropertyNameInOperand_1IfItIsAnObject"
},
{
"operand_1": true,
"operator": "contains",
"operand_2": "culpa consequat aute ullamco eu",
"query": "somePropertyNameInOperand_1IfItIsAnObject"
}
],
"all_true_flag": true
},
{
"evaluations": [
{
"operand_1": [],
"operator": "contains",
"operand_2": -17061729.483329818,
"query": "somePropertyNameInOperand_1IfItIsAnObject"
},
{
"operand_1": false,
"operator": "contains",
"operand_2": [],
"query": "somePropertyNameInOperand_1IfItIsAnObject"
},
{
"operand_1": -10799245.21227187,
"operator": "contains",
"query": "somePropertyNameInOperand_1IfItIsAnObject"
},
{
"operator": "contains",
"operand_2": [],
"query": "somePropertyNameInOperand_1IfItIsAnObject"
},
{
"operand_1": 66120744,
"operator": "contains",
"operand_2": 91654549.08825263,
"query": "somePropertyNameInOperand_1IfItIsAnObject"
}
],
"all_true_flag": false
},
{
"evaluations": [
{
"operand_1": [],
"operator": "contains",
"query": "somePropertyNameInOperand_1IfItIsAnObject"
},
{
"operand_1": "velit esse",
"operator": "contains",
"operand_2": true,
"query": "somePropertyNameInOperand_1IfItIsAnObject"
},
{
"operand_1": [],
"operator": "contains",
"operand_2": -12258048.362037584,
"query": "somePropertyNameInOperand_1IfItIsAnObject"
},
{
"operand_1": [],
"operator": "contains",
"operand_2": 50207402.20479792,
"query": "somePropertyNameInOperand_1IfItIsAnObject"
},
{
"operand_1": [],
"operator": "contains",
"operand_2": false,
"query": "somePropertyNameInOperand_1IfItIsAnObject"
}
],
"all_true_flag": true
}
],
"all_true_flag": true
}
Copied to Clipboard
{
"type": "object",
"properties": {
"evaluation_group": {
"type": "array",
"items": {
"type": "object",
"properties": {
"evaluations": {
"type": "array",
"items": {
"$ref": "wfEngineCommon#/definitions/evaluationItem"
}
},
"all_true_flag": {
"type": "boolean"
}
}
}
},
"all_true_flag": {
"type": "boolean"
}
},
"required": [
"evaluation_group",
"all_true_flag"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
return_value |
boolean |
Result of evaluation. |
Copied to Clipboard
{
"type": "boolean",
"title": "return_value"
}