Skip to content

run_rule_event

Trigger business-rule evaluation for an application event.

{
"properties": {
"application_id": {
"title": "Application Id",
"type": "string"
},
"context": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Context"
},
"event": {
"additionalProperties": true,
"title": "Event",
"type": "object"
},
"model_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Model Id"
},
"phase": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Phase"
},
"record_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Record Id"
}
},
"required": [
"application_id",
"event"
],
"title": "run_rule_eventArguments",
"type": "object"
}
{
"properties": {
"blocked": {
"title": "Blocked",
"type": "boolean"
},
"errors": {
"items": {
"type": "string"
},
"title": "Errors",
"type": "array"
},
"matchedRuleIds": {
"items": {
"format": "uuid",
"type": "string"
},
"title": "Matchedruleids",
"type": "array"
},
"queuedJobs": {
"items": {
"type": "string"
},
"title": "Queuedjobs",
"type": "array"
},
"recordUpdates": {
"additionalProperties": true,
"title": "Recordupdates",
"type": "object"
},
"responsePatches": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Responsepatches",
"type": "array"
},
"sideEffects": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Sideeffects",
"type": "array"
}
},
"required": [
"matchedRuleIds",
"recordUpdates",
"responsePatches",
"errors",
"sideEffects",
"queuedJobs",
"blocked"
],
"title": "FrontendRuleEventResponse",
"type": "object"
}