Skip to content

Commit 614c786

Browse files
authored
Update scheduled-events.md
Added this as result of this slack thread: https://mendix.slack.com/archives/CA82XPUQG/p1770300321312099 This could also be added to Mx10 and Mx9 documentation as it is unrelated from the Mx version. I asked in that slack thread for people to review it.
1 parent 3baf6c8 commit 614c786

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

content/en/docs/refguide/modeling/resources/scheduled-events.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,3 +206,17 @@ If you want to implement complex interval patterns, such as running a scheduled
206206
1. Perform the actions relating to the event only if the condition evaluates to true.
207207

208208
This approach allows you to maintain flexibility in scheduling while keeping the logic centralized and easy to manage.
209+
210+
### Renaming Scheduled Events and Deployment Behavior
211+
212+
When a scheduled event is deployed to an environment, its enabled/disabled state is tracked by name, and not by a unique identifier. This applies to any deployment type.
213+
214+
**What this means in practice:**
215+
If you rename a scheduled event in your model (for example, from `SE_Current` to `SE_Old`) and then create a new scheduled event with the original name (`SE_Current`), the deployment platform will treat the new scheduled event as a continuation of the old one because the name matches.
216+
217+
**As a result:**
218+
* The new scheduled event (`SE_Current`) will inherit the enabled state of the previously deployed scheduled event that carried the same name.
219+
* The renamed scheduled event (`SE_Old`) will be treated as a new, previously unseen event and will default to disabled.
220+
221+
**Recommendation**
222+
Be mindful of this behavior when renaming scheduled events and reusing names within the same application. If you rename a scheduled event and introduce a new one with the original name, verify the enabled/disabled states of all affected scheduled events after deployment to ensure they match your intentions.

0 commit comments

Comments
 (0)