Loading
Surface trigger controls on the flow configuration page
What does this MR do and why?
The flow configuration page shows a flow's triggers but not their on/off state, and offers no way to manage them. Since the on/off toggle was added to the AI > Triggers page, that state became invisible from the flow's own page. To turn a trigger off or delete one, users have to leave the flow page and go to AI > Triggers.
This MR brings that state and those actions onto the flow configuration page:
- Renames the "Triggers" field to "Trigger conditions".
- Adds a per-trigger on/off toggle, wired to the
aiFlowTriggerUpdatemutation, so state is visible and editable in place. - Replaces the per-trigger Edit link with an ellipsis dropdown offering Edit and Delete. Delete confirms through a modal and refetches the flow query.
- Adds
activeto theaiCatalogFlowquery so the toggle reflects real state.
The result is that users can see whether each trigger is on or off, and manage them, without leaving the flow page.
References
Screenshots or screen recordings
| Before | After |
|---|---|
![]() |
![]() |
How to set up and validate locally
- Enable a flow in a project and add one or more triggers (AI > Triggers).
- Go to AI > Flows and open that flow's configuration page.
- Confirm the "Trigger conditions" section lists each trigger with an on/off toggle reflecting its current state.
- Toggle a trigger off and on. Confirm the toast ("Trigger turned off" / "Trigger turned on") and that the state persists on reload.
- Open the ellipsis dropdown on a trigger. Confirm Edit navigates to the trigger edit page.
- Select Delete, confirm in the modal, and verify the trigger is removed and a confirmation toast appears.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Austin Regnery

