ChangementEtatSession batch
The session status indicates the phase the session is in regarding its programming. The ChangementEtatSession batch is used to change session statuses depending on their start and end dates.
Reference
For more information about session statuses, see Modifying the session status.
When creating the batch, select ChangementEtatSession in the Batch template drop-down list.
When the batch is started, it analyzes all sessions and applies a new status to them depending on their start and end dates. The following table summarizes statuses that the batch can apply:
| Status | Description |
|---|---|
| Pending |
Indicates that the session is between its start date and end date. |
| Terminated |
Indicates that the session's end date has passed. It is no longer possible to register participants when this status is applied. |
| Archived |
Indicates that the archiving delay after the session's end date has passed. It is no longer possible to modify a session or register participants when this status is applied. To modify the session again, you need to change the session's status. The archiving delay corresponds to the |
Important
For the batch to work, the session status must not be Programmed or Canceled. If the session is in one of those states, the batch will have no effect.
The parameters in the following table correspond only to the parameters specific to the ChangementEtatSession batch.
Reference
To view the parameters common among batches, refer to Setting up the common parameters.
| Code | Description | Type | Required |
|---|---|---|---|
NB_JOUR_ARCHIVE
|
Number of days after which the Archived status is applied to the session after its end date. Example I want the Archived status to be applied to the session five days after its end date. I enter 5. |
Number Ex: 5 |
Yes |