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": "in eu aliqua esse do",
"operator": "contains",
"operand_2": true,
"query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty",
"rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty"
},
{
"operand_1": -46972309.193508945,
"operator": "contains",
"operand_2": [],
"query": "somePropertyNameInOperand_1IfItIsAnObject.nestedProperty",
"rightQuery": "somePropertyNameInOperand_2IfItIsAnObject.nestedProperty"
}
],
"all_true_flag": true
}
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
{
"type": "boolean",
"title": "evaluation_group_value"
}