RIO Ed - Session Booking Generation
Table of Contents
| Component Name | RIO Ed - Session Booking Generation |
| API Name | rio_ed:sessionBookingGeneration |
| Type | Standalone |
| Recommended Pages | Term Page for Salesforce Internal |
| Supported In | Salesforce Internal |
Overview
The Session Booking Generation Wizard can be found under the Term record page, and users can generate session bookings in the current term.
Use Case
In this scenario, the admin wishes to generate session bookings in Current Year Term 1.

The wizard requires the following information to filter which sessions to generate bookings for:
- Campus = This indicates the campus the course belong to
- Couse = This indicates which courses’ sessions will be processed

After narrowing down the course's scope, users will then select which course offering to generate session bookings for.

The users will then be prompted to select the sessions to generate bookings for.

Finally, the user can finalize the sessions for booking generation.

Supported Configurations
| Attribute Name | API Name | Description | Default |
|---|---|---|---|
| Modal Title | modalTitle | Component modal title. | Session Booking Generation Wizard |
| Modal Icon Name | modalIconName | Modal Icon Name | standard:work_plan_template |
| Job Operation | jobOperation | The job operation name that matches the job config custom metadata. | Session_Booking_Generation |
| Job Queue Group Fields | jobQueueFields | Job Queue Group table fields in semi-colon separated value e.g., Field_A__c;Field_B__c;Field_C__c. | Name;CreatedDate;rio_ed__Total_Records__c;rio_ed__Success_Records__c;rio_ed__Error_Records__c;rio_ed__Status__c |
| Job Queue Group Statuses | jobQueueStatuses | Semi-colon separated list of Job Queue Group Statuses to show in the table. | Pending;Processing;Completed;Failed |
| Job Queue Table Max Height | jobQueueTableMaxHeight | Job Queue Table Max Height | 500 |
| Course Fields | courseFields | Semi-colon separated list of Course fields for the selection screen. | Name;hed__Course_ID__c |
| Course Table Max Height | courseTableMaxHeight | Course Table Max Height | 500 |
| Course Offering Fields | courseOfferingFields | Semi-colon separated list of Course Offering fields for the Course Offering selection screen. | Name;hed__Course__c |
| Course Offering Statuses | courseOfferingStatuses | Semi-colon separated list of Course offering statuses used to filter the study units and study offerings displayed in the table. | Draft;Not Started;Pre-enrollment Opened;Enrollment Opened;Enrollment Closed;Running (Enrollment Opened);Running;Completed |
| Course Offering Table Max Height | courseOfferingTableMaxHeight | Course Offering Table Max Height | 500 |
| Course Offering Table Maximum Row Number | courseOfferingTableMaximumRowNumber | Course Offering Table Maximum Row Number | 500 |
| Session Fields | sessionFields | Semi-colon separated list of Session fields for the Session selection screen. | Name;rio_ed__Course_Offering__c |
| Session Statuses | sessionStatuses | Semi-colon separated list of Session statuses used to filter the sessions displayed in the table. | Draft;Not Started;Pre-enrollment Opened;Enrollment Opened;Enrollment Closed;Running (Enrollment Opened);Running;Completed |
| Session Table Max Height | sessionTableMaxHeight | Session Table Max Height | 500 |
| Session Table Maximum Row Number | sessionTableMaximumRowNumber | Session Table Maximum Row Number | 500 |
| Debug Mode | enableDebugMode | Enable debug mode. | false |