You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/refguide/modeling/resources/scheduled-events.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ Scheduled events can be tested locally, but they will not be run if your app is
23
23
| Name | The name of the scheduled event. This name is recorded in the `System.ProcessedQueueTask` objects at runtime so you can identify when this scheduled event has been processed. See [Task Queues](/refguide/task-queue/) for additional information about this object.<br/>⚠ For compatibility with legacy scheduled events, it is also stored in the `ScheduledEventInformation` objects but this is deprecated and will be removed in Mendix 11. |
24
24
| Documentation | This field is for documentation purposes in the app model only. Its value is not visible to end-users and does not influence the behavior of your application. |
25
25
26
-
## Execution Properties
26
+
## Execution Properties{#execution-properties}
27
27
28
28
| Property | Description |
29
29
| --- | --- |
@@ -209,14 +209,15 @@ This approach allows you to maintain flexibility in scheduling while keeping the
209
209
210
210
### Renaming Scheduled Events and Deployment Behavior
211
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.
212
+
When a scheduled event is deployed to an environment, its [enabled/disabled state](#execution-properties) is tracked by using the name of the scheduled event, not by a unique identifier.
213
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.
214
+
This means that 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 if it is the old one because the name matches.
215
+
216
+
This means that:
216
217
217
-
**As a result:**
218
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.
219
+
* The renamed scheduled event (`SE_Old`) will be treated as a new, previously unseen, event and will default to disabled.
220
220
221
-
**Recommendation**
221
+
{{% alert color="info" %}}
222
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