Details
-
Task
-
Resolution: Unresolved
-
None
-
None
-
High
-
Empty show more show less
Description
We need to have flexible way to define custom callbacks based on workflow action events.
The idea how to solve this:
- add new column in the workflow action table called webhookname
- the webhook name will be unique for each wanted custom callback. For example:
for trigger: handleAllFinishOfARole and step translation and state finish we can define as webhookname: handleAllFinishOfARole_default_translation_finish
where the default is the workfolw, translation is the step and finish is the status * then in the UI you should type the webhook name as key and the url as a value (here the bug for non editable key should be fixed.)
- then in the triggerCallbackAction the configured values will be evaluated
Until we have implemented the UI management of the workflow action, for defining new web-hook we will always do it with sql alter file in the workflow action.