Skip to content

Hook Management

Functions for managing workflow and step hooks.

cronflow.executeWorkflowHook(hookType, contextJson, workflowId, stepId?)

Executes a workflow hook with the given context.

cronflow.registerHookHandler(hookType, handler)

Registers a hook handler for a specific hook type.

cronflow.getHookHandler(hookType)

Retrieves a hook handler for a specific hook type.

Released under the Apache 2.0 License.