Webhook handler that triggers a named workflow from the incoming payload.
ObjData.ObjData
└── ObjHook
| Method | Description |
|---|---|
__init__(database_connection, page_object) |
Initialise the webhook handler with database connection and optional page object. |
Process(payload, webhook_code, param_1..param_8) |
Extract the workflow name from the JSON payload and execute it via the workflow engine. |
| Attribute | Description |
|---|---|
kafka |
Kafka connection placeholder (unused, default 0). |
payload |
Raw payload string. |
This hook is invoked by the webhook dispatcher. It reads the parent's payload JSON, extracts the workflowname key, and runs the corresponding workflow via ObjWorkflow.Workflow.Run().
Updated: 2026-03-20
cythonize -3 -a -i ObjHookWorkflow.py