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
The fallback content to display on prerendering
, such as sending notifications when The fallback content to display on prerendering
occur. Follow the instructions below to set up roles for hooks scope usage:ยปManage hooks rolesHooks 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.
- Process
- Swimlane
- Stage
- unique result
- only one rule will match, or no rule
- rule outputs are prioritized
- rules may overlap, but only match with the highest output priority counts
- unique results
- multiple rules can be satisfied
- all satisfied rules must generate the same output, otherwise the rule is violated
Creating a hookโ
To create a new hook, follow the next steps:
- Open The fallback content to display on prerendering.
- 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
info
Swimlane and stage hooks can be configured with an SLA (time when a triggered process is activated).
info
Dismiss SLA is available only for hooks configured with SLA.
Here you can find more information about the SLA - duration formatting.