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, refer to Modifying the session status.

1 | Go to Tools > Setup, then open Batches > Batch creation and modification. |
A results screen opens to display the list of existing batches.
2 | In the results screen, click on |
3 | In the New Batch screen, fill in the batch's Code and Label, then select ChangementEtatSession from the drop-down list of the Batch template field. |
Note
The code must be unique for each batch, all companies combined.
4 | Specify the batch parameters. For details about these parameters, refer to Setting up the batch. |
5 | Save the batch. |
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.

Code | Description | Type | Required |
---|---|---|---|
BATCH_DEBUG_PARAMS
|
When the parameter is set to True, details about the batch parameters are displayed in the logs. | Boolean | No |
BATCH_LOG_CONSOLE
|
When the parameter is set to True, logs are displayed in the console. | Boolean | No |
BATCH_LOG_FILE
|
Name of the directory where the log file is saved. |
String Ex: |
No |
BATCH_LOG_ID
|
Log file ID. | String | No |
BATCH_LOG_LEVEL
|
Log level. |
String Ex: LOG;WARN |
No |
BATCH_MAIL
|
Email address of the logs' recipient in case of an error. |
String Ex: support@akuiteo.com |
Yes |
BATCH_MAIL_CC
|
Email address of the logs' cc recipient in case of an error. |
String Ex: support@akuiteo.com |
No |
BATCH_MAIL_CCI
|
Email address of the logs' bcc recipient in case of an error. |
String Ex: support@akuiteo.com |
No |
BATCH_MAIL_FROM
|
Email address of the logs' sender in case of an error. |
String Ex: support@akuiteo.com |
No |
BATCH_MAIL_REPLY_TO
|
Email address to use when answering the email sent with the logs. |
String Ex: support@akuiteo.com |
No |
BATCH_PWD
|
Password of the user who starts the batch. This password must be linked to the BATCH_USER specified. |
String | Yes |
BATCH_USER
|
Login of the user who starts the batch. | String | Yes |
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 |