Summary
Evaluation
Description
Run a test evaluation.
Route
POST /workflow_engine/runEvaluationGroup
Roles
admin
apiwrite
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
evaluation_group |
array |
yes |
Array of evaluations to run |
all_true_flag |
boolean |
yes |
All evaluation groups must pass, or not |
Copied to Clipboard
{
"evaluation_group": [
{
"operand_1": false,
"operator": "contains",
"operand_2": "dolore nulla nisi laboris",
"query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty",
"rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty"
},
{
"operator": "contains",
"operand_2": 9616186.366481915,
"query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty",
"rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty"
}
],
"all_true_flag": false
}
Copied to Clipboard
{
"type": "object",
"properties": {
"evaluation_group": {
"title": "evaluation_group",
"type": "array",
"items": {
"$ref": "wfEngineCommon#/definitions/evaluationItem"
}
},
"all_true_flag": {
"title": "all_true_flag",
"type": "boolean"
}
},
"required": [
"evaluation_group",
"all_true_flag"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
evaluation_group_value |
boolean |
Result of evaluation. |
Copied to Clipboard
false
Copied to Clipboard
{
"type": "boolean",
"title": "evaluation_group_value"
}