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": "labore do Ut",
"operator": "contains",
"operand_2": true,
"query": "somePropertyNameInOperand_1IfItIsAnObject"
},
{
"operand_1": [],
"operator": "contains",
"operand_2": false,
"query": "somePropertyNameInOperand_1IfItIsAnObject"
},
{
"operator": "contains",
"operand_2": -16499662,
"query": "somePropertyNameInOperand_1IfItIsAnObject"
},
{
"operand_1": -46756454.29811106,
"operator": "contains",
"operand_2": 69089859.3468574,
"query": "somePropertyNameInOperand_1IfItIsAnObject"
},
{
"operand_1": true,
"operator": "contains",
"query": "somePropertyNameInOperand_1IfItIsAnObject"
}
],
"all_true_flag": false
},
{
"evaluations": [
{
"operator": "contains",
"operand_2": "eu",
"query": "somePropertyNameInOperand_1IfItIsAnObject"
},
{
"operand_1": 17976919,
"operator": "contains",
"operand_2": 94474503.58798233,
"query": "somePropertyNameInOperand_1IfItIsAnObject"
},
{
"operand_1": true,
"operator": "contains",
"query": "somePropertyNameInOperand_1IfItIsAnObject"
},
{
"operand_1": [],
"operator": "contains",
"operand_2": "incididunt nulla adipisicing do",
"query": "somePropertyNameInOperand_1IfItIsAnObject"
},
{
"operand_1": -21728135.7423694,
"operator": "contains",
"operand_2": false,
"query": "somePropertyNameInOperand_1IfItIsAnObject"
}
],
"all_true_flag": true
},
{
"evaluations": [
{
"operand_1": [],
"operator": "contains",
"operand_2": true,
"query": "somePropertyNameInOperand_1IfItIsAnObject"
},
{
"operand_1": 77834994,
"operator": "contains",
"query": "somePropertyNameInOperand_1IfItIsAnObject"
}
],
"all_true_flag": false
},
{
"evaluations": [
{
"operand_1": 46363248,
"operator": "contains",
"operand_2": "minim cillum veniam culpa",
"query": "somePropertyNameInOperand_1IfItIsAnObject"
},
{
"operand_1": true,
"operator": "contains",
"operand_2": 93798950.81341103,
"query": "somePropertyNameInOperand_1IfItIsAnObject"
},
{
"operand_1": [],
"operator": "contains",
"operand_2": [],
"query": "somePropertyNameInOperand_1IfItIsAnObject"
},
{
"operand_1": [],
"operator": "contains",
"query": "somePropertyNameInOperand_1IfItIsAnObject"
},
{
"operand_1": "amet reprehenderit dolore",
"operator": "contains",
"operand_2": -2735211.3933794945,
"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
false
Copied to Clipboard
{
"type": "boolean",
"title": "return_value"
}