> For the complete documentation index, see [llms.txt](https://docs.silverband.com.au/home/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.silverband.com.au/home/rapla/example-events/scenarios/scenario-1.md).

# Scenario 1

This page will describe and demonstrate a scenario when using the Session Group and Class fields in a Paradigm Session event.

## Overview

A Scheduled Unit with two possible sessions a student can choose from. A student is only allowed to enrol in one session from the two options. This scenario will show how groupings and adding session class values in Paradigm behave as already mentioned in the introduction: “When a Session Group and a Session Class are both sets, then the user must select one and only one session, from each group, AND when Session Group is used together with Session Class it is possible to prevent users from enrolling into more than one session from each defined Session Group.”

{% hint style="info" %}
**NOTE**:

You can add as many possible sessions (as you can) as long as you code them on the **SAME Group Number** and just **INCREMENT** the **Class Number Value**. This way, the student can still see and choose from all the possible sessions you’ve created but is still restricted to choosing one and only one session to proceed with the scheduled unit enrolment.
{% endhint %}

## Example Scheduled Unit Details

Unit Code: **BEM1002**

Unit Name: **Professional Communication**

Available Sessions: The students can either choose from either of these two possible **Lectures** (Time Specified, Weekly): Monday 09:00 AM - 12:00 PM or Wednesday 9:00 AM - 12:00 PM

<table><thead><tr><th width="154">Session Type</th><th width="294">Session Schedule</th><th width="150" align="center">Group Number</th><th align="center">Class Number</th></tr></thead><tbody><tr><td>Lecture 1</td><td>Monday (09:00 AM - 12:00 PM)</td><td align="center">1</td><td align="center">1</td></tr><tr><td>Lecture 2</td><td>Wednesday (9:00 AM - 12:00 PM)</td><td align="center">1</td><td align="center">2</td></tr></tbody></table>

{% hint style="info" %}
**INFO**:

You have the option to leave the **Group Number** values blank(*as long as there is only one group for this scheduled unit*), as Paradigm has an assumption that there is an implicit Session Group value of **1** for all Session Group values which are left blank.
{% endhint %}

## **How to Code in Rapla** <a href="#how-to-code-in-rapla" id="how-to-code-in-rapla"></a>

Create the sessions with the following group and class values or as specified in the table abov&#x65;*.* Refer to [Paradigm Session](/home/rapla/create-events/choose-an-event-type/paradigm-session.md) for the workflow.

| Lecture 1: Monday (09:00 AM - 12:00 AM)                                                                                                                                                                                                               | Lecture 2: Wednesday (9:00 AM - 12:00 AM)                                                                                                                                                                       |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <img src="https://876370534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmGGliFWfDvc7wUlddBrv%2Fuploads%2FZv51ya611ItViUPo2dyN%2Fx3.png?alt=media&amp;token=4593385f-2098-47c5-8fd9-a68ecf5c8919" alt="" data-size="original"> | ![](https://876370534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmGGliFWfDvc7wUlddBrv%2Fuploads%2FN2Sk6Fml9iU6KWBmOXAE%2Fx4.png?alt=media\&token=d4cf8e8e-c416-42ec-a9fb-504b4b93c5c0) |

## Rapla Calendar View

![](https://876370534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmGGliFWfDvc7wUlddBrv%2Fuploads%2FZc5pq5AVAQkKsXBCR1vm%2Fx5.png?alt=media\&token=3c151425-f585-46e5-9615-81afaf4fa684)

## **Paradigm Enrolment (Class Times) Screen** <a href="#paradigm-sample-enrolment-class-times-screen" id="paradigm-sample-enrolment-class-times-screen"></a>

Once all your sessions in Rapla are successfully synchronised to Paradigm, you will now see the enrolment (Class Times) Screen, *see the sample screenshot below.*

![](https://876370534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmGGliFWfDvc7wUlddBrv%2Fuploads%2FwVx5T5mdvy5cGf63pjRd%2Fx6.png?alt=media\&token=f995019d-74c1-49be-885a-37450e55dbd0)

{% hint style="success" %}
**SUCCESS**:

The student can only select one session (Monday Lecture 1 or Wednesday Lecture 2) to proceed with the enrolment of the scheduled unit.
{% endhint %}
