Skip to main content
Version: 3.1.0

Using hooks

Hooks allow you to extract stateful logic from a component, so it can be tested and reused independently.

Users with task management permissions can create hooks to trigger specific process instances, such as sending notifications when events occur. Follow the instructions below to set up roles for hooks scope usage:

ยปManage hooks roles

Hooks

Hooks can be linked to different events and define what will happen when they are triggered. Below you can find a list of all possible triggers for each hook.

  • unique result
  • only one rule will match, or no rule

Creating a hookโ€‹

To create a new hook, follow the next steps:

  1. Open FLOWX.AI Designer.
  2. Go to Task Manager and select Hooks.
  3. Click New Hook (you can also import or export a hook).
  4. Fill in the required details.

Create a new hook

Types of hooksโ€‹

There are three types of hooks you can create in Task Manager:

  • process hooks
  • swimlane hooks
  • stage hooks
info

Swimlane and stage hooks can be configured with an SLA (time when a triggered process is activated).

SLA hooks

info

Dismiss SLA is available only for hooks configured with SLA.

Here you can find more information about the SLA - duration formatting.


Was this page helpful?