triggerCallbackAction URL configuration is flexible and client-specific now. Historically, the URL for the workflow's trigger callback action was defined in the parameters column as an additional field. That approach lacked flexibility, as any URL change required manual updates via SQL directly in the database, which was inefficient.
Now callback URLs are configurable through the config, with the ability to override it at the client level. Users can define or modify the callback URLs without need for manual database changes.
The config is client specific, so for each (task) client the users are able to define other URLs.
Config option name: runtimeOptions.task.workflow.webhooks
Sample value: { "handleAllFinishOfARole" : "https://www.callbackaction.de/test", "handleAfterImport" : "https://www.anoterUrl.com/api" }
Sample entry in workflow table:
+------------------------------------+----------------+-------------+----------------+--------------------------------------+---------------------------------+------------------+
| trigger | inStep | byRole | userState | actionClass | action | parameters |
+------------------------------------+----------------+-------------+----------------+--------------------------------------+---------------------------------+------------------+
| handleAllFinishOfARole| reviewing | reviewer | finished | editor_Workflow_Actions| triggerCallbackAction | |
+------------------------------------+----------------+-------------+----------------+--------------------------------------+---------------------------------+------------------+