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 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:
- Open FLOWX.AI Designer.
- Go to Task Manager and select Hooks.
- Click New Hook (you can also import or export a hook).
- Fill in the required details.
Types of hooks
There are three types of hooks you can create in Task Manager:
- process hooks
- swimlane hooks
- stage hooks
Swimlane and stage hooks can be configured with an SLA (time when a triggered process is activated).
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?