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": [
{
"operand_1": "nulla amet qui",
"operator": "contains",
"operand_2": [],
"query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty",
"rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty"
},
{
"operand_1": [],
"operator": "contains",
"operand_2": -72026596.14265925,
"query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty",
"rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty"
}
],
"all_true_flag": true
},
{
"evaluations": [
{
"operator": "contains",
"operand_2": -53303805.759695776,
"query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty",
"rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty"
},
{
"operand_1": "pariatur ipsum do consectetur dolore",
"operator": "contains",
"operand_2": true,
"query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty",
"rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty"
},
{
"operand_1": [],
"operator": "contains",
"query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty",
"rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty"
},
{
"operand_1": false,
"operator": "contains",
"operand_2": false,
"query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty",
"rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty"
},
{
"operand_1": false,
"operator": "contains",
"operand_2": -29681530.156403378,
"query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty",
"rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty"
}
],
"all_true_flag": true
},
{
"evaluations": [
{
"operand_1": 38227513.404043525,
"operator": "contains",
"operand_2": "occaecat consectetur aliqua Duis velit",
"query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty",
"rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty"
},
{
"operand_1": "dolor",
"operator": "contains",
"operand_2": [],
"query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty",
"rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty"
},
{
"operand_1": -44605796.159621924,
"operator": "contains",
"operand_2": "elit Duis",
"query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty",
"rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty"
},
{
"operand_1": -90608496.31953318,
"operator": "contains",
"operand_2": [],
"query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty",
"rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty"
},
{
"operand_1": "aliquip",
"operator": "contains",
"query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty",
"rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty"
}
],
"all_true_flag": true
},
{
"evaluations": [
{
"operand_1": true,
"operator": "contains",
"operand_2": false,
"query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty",
"rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty"
},
{
"operand_1": true,
"operator": "contains",
"query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty",
"rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty"
}
],
"all_true_flag": true
}
],
"all_true_flag": true
}
Copied to Clipboard
{
"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
DetailsExampleSchema
Name |
Type |
Description |
return_value |
boolean |
Result of evaluation. |
Copied to Clipboard
false
Copied to Clipboard
{
"type": "boolean",
"title": "return_value"
}