Bug: "On Update Scheduled Maintenance Event" trigger works more than once #1273

Closed
opened 2026-04-05 16:26:31 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @koroglumert on 1/19/2024

Describe the bug
"On Update Scheduled Maintenance Event" trigger works more than once. It works 2 times when "Scheduled Maintenance Status" becomes "Ongoing".
It works 3 times when it becomes "Ended". These works are happening at the same time.
The same error is also experienced in the "On Update Incident" trigger.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new worflow.
  2. Add "On Update Scheduled Maintenance Event" as a trigger.
  3. Adding Component does not affect this situation.
  4. When the Scheduled Maintenance state value changes, examine the run&logs section of the worflow you created.
  5. You can observe that workflow runs more than once for "Ongoing" and "Ended" state.

Expected behavior
I expect worflow to run once for each state change.

Screenshots
The workflow I created (I also tried with Component added)
image

Scheduled Maintenance states
image

Run&Logs section and errors
image

Desktop (please complete the following information):

  • OS: MACOS 14.0
  • Browser: chrome
  • Version release, after Commits on Jan 12, 2024

Deployment Type
Is this issue on my server?

Additional context
Add any other context about the problem here.

*Originally created by @koroglumert on 1/19/2024* **Describe the bug** "On Update Scheduled Maintenance Event" trigger works more than once. It works 2 times when "Scheduled Maintenance Status" becomes "Ongoing". It works 3 times when it becomes "Ended". These works are happening at the same time. The same error is also experienced in the "On Update Incident" trigger. **To Reproduce** Steps to reproduce the behavior: 1. Create a new worflow. 2. Add "On Update Scheduled Maintenance Event" as a trigger. 3. Adding Component does not affect this situation. 4. When the Scheduled Maintenance state value changes, examine the run&logs section of the worflow you created. 5. You can observe that workflow runs more than once for "Ongoing" and "Ended" state. **Expected behavior** I expect worflow to run once for each state change. **Screenshots** The workflow I created (I also tried with Component added) ![image](https://github.com/OneUptime/oneuptime/assets/83726007/e9033302-8645-4a81-8f49-a963b321f53e) Scheduled Maintenance states ![image](https://github.com/OneUptime/oneuptime/assets/83726007/f0409440-e6fd-46db-8e7f-9b5aea284eac) Run&Logs section and errors ![image](https://github.com/OneUptime/oneuptime/assets/83726007/6458ecfd-d5e4-488c-9edc-b469dd1bf440) **Desktop (please complete the following information):** - OS: MACOS 14.0 - Browser: chrome - Version release, after Commits on Jan 12, 2024 **Deployment Type** Is this issue on my server? **Additional context** Add any other context about the problem here.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#1273