--- title: "Status Formula" slug: "event-status" updated: 2026-09-09T18:45:34Z published: 2026-09-09T18:45:34Z canonical: "docs.blackthorn.io/event-status" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.blackthorn.io/llms.txt > Use this file to discover all available pages before exploring further. # Status Formula Custom Logic The Blackthorn API, by design, does NOT run capacity validations. Users must add their own logic to implement capacity restrictions. The API intentionally does not trigger the validation on capacity to allow for flexibility for all customers. When sending registrations through the API, customers can utilize their own custom logic to prevent registrations when the capacity is sold out. The **Status Formula** field is on the Event Item object. If the **Quantity Remaining** is "0", then the **Status Formula** field will show Sold Out. The custom code can evaluate the formula to block the registration once the **Quantity Remaining** is zero. For an incoming payload: - 0 is treated as a sold-out. - Null or empty Events are treated as infinite, and **Total Capacity** is automatically set to “999999”. ## Overview The **Status Formula** field provides important information about your Event. This read-only field tells you the current status of your Event, Event Item or Session. ### Example Event The Event, London Tour, has the **Remaining Capacity** = “0” and **Waitlist Enabled**= "True". ![D_06_08 overview 1](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/D_06_08%20overview%201.png) As a result, the **Status Formula** is "Sold Out" and "Waitlist Open". ![D_06_08 overview 2](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/D_06_08%20overview%202.png) ### Example Banners When an Event has a Sold Out banner, it is because the **Status Formula** field = "Sold Out". ![D_06_08 instructions 2](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/D_06_08%20instructions%202.png) When an Event has a Completed banner, it is because the **Status Formula** field = “Event Ended”. ![D_06_08 instructions 1](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/D_06_08%20instructions%201.png) Let's dig further to see how these statuses are derived! ## Instructions Complete the steps below to add the **Status Formula** field to your Event Item and Session page layouts. (The field is on the Event page layout by default.) 1. Click the **Gear icon** in the upper right-hand corner. 2. Click **Setup**. 3. Click the Object Manager tab. 4. Locate and select the Event Item or Session object. 5. Go to the Page Layout for the object. 6. Drag and drop the **Status Formula** field onto the page layout. 7. Click **Save**. Use the reference tables below to learn more about the criteria for each **Status Formula**. ### Events | Status Formula | Description | Set on Criteria | | --- | --- | --- | | **Event Ended** | The Event has ended, and prospects can no longer register. | The **Event End Date** and **Event End Time** are in the past, or the **Status** = "Completed". | | **Sold Out** | An Event is sold out based on the available capacity. | The Event's **Waitlist Enabled** is disabled, and the **Remaining Capacity** = 0. | | **Sold Out, Waitlist Open** | An Event is sold out, but a waitlist is available. | The Event's **Waitlist Enabled** field has been checked, and the **Remaining Capacity** = 0. The Event must also still have waitlist capacity left. Once the waitlist is full, the status becomes **Sold Out, Waitlist Closed**. | | **Sold Out, Waitlist Closed** | An Event is sold out, and the waitlist is closed. | The Event's **Waitlist Enabled** field has been checked, and the **Remaining Waitlist Capacity** = 0. | | **Disabled Event** | The registration button will be hidden on the Event. | The Event's **Hide Register Button** = "Yes". | | **Event Active** | The Event is active and allows prospects to register. | The Event's **Event End Date** and **Event End Time** are still in the future. | | **Canceled** | An Event has been canceled and prospects are no longer allowed to register or view the Event. | The Event's **Status** field is updated to "Canceled". | --- ### Event Items | Status Formula | Description | Set on Criteria | | --- | --- | --- | | **Pending Registration Start Date** | The Event Item isn't for sale yet. | The **Sales Start Date** and **Sales Start Time** are in the future. | | **Registration - Active** | The Event Item is currently available. | The current date and time are in between the Event Item's **Sales Start Date** / **Sales Start Time** and **Sales End Date** / **Sales End Time**, or the **Sales Start Date**/**Sales End Date** is not defined, and other status criteria are not met. | | **Registration - Ended** | The Event Item's registration has ended. | The **Sales End Date** and **Sales End Time** are in the past, OR the Event has ended. | | **Sold Out** | The Event Item is sold out based on capacity. | The Event Item's **Quantity Remaining** = "0", OR the Event is sold out. | | **Sold Out, Waitlist Open** | The Event Item is sold out based on capacity, but the waitlist is open. | The Event Item's **Quantity Remaining** = "0" and the **Waitlist Enabled** field is checked. If the Event Item's own **Waitlist Enabled** is not checked, the Event Item only shows this status when the Event's **Waitlist Enabled** field is checked **and** the Event's **Remaining Capacity** = 0 **and** the Event still has waitlist capacity left. Otherwise it shows **Sold Out, Waitlist Closed**. | | **Sold Out, Waitlist Closed** | The Event Item is sold out, and the waitlist is closed. | The Event Item's **Quantity Remaining** = "0" and the **Remaining Waitlist Capacity** = "0", OR the Event's waitlist is closed. | --- ### Sessions | Status Formula | Description | Set on Criteria | | --- | --- | --- | | **Pending Registration Start Date** | The Session isn't available yet. | The **Start Date** and **Start Time** are in the future. | | **Registration - Active** | The Session is currently available. | The current date and time are in between the Session's **Start Date** / **Start Time** and **End Date** / **End Time**, or the **Start Date**/**End Date** is not defined and other status criteria are not met. | | **Registration - Ended** | The Session's registration has ended. | The **End Date** and **End Time** are in the past. | | **Sold Out** | The Session is sold out based on capacity. | The Session's **Quantity Remaining** = "0". | | **Sold Out, Waitlist Open** | The Session is sold out, but the waitlist is enabled. | The Session's **Quantity Remaining** = "0" and the **Waitlist Enabled** field is checked. | | **Sold Out, Waitlist Closed** | The Session is sold out, and waitlisting is closed. | The Session's **Quantity Remaining** = "0", and the **Remaining Waitlist Capacity** = "0". | ## FAQ **Q: What is the difference between the Event’s **Status** and **Status Formula** fields?** A: When you create an Event, the **Status** field is set to “Active” (the default value). The **Status** field tracks the internal status of the Event. The values “Draft”, “Active”, “Canceled”, and “Completed” are assigned dynamically. The default value can only be changed via automation. The **Status Formula** tracks the current status of your Event, which is calculated based on capacity values and the publish/unpublish status. You can review the definition of each **Status Formula** value [here](/v1/docs/event-status#events). **Q: Do I have to set the **Sales Start Date** and **Sales End Date** fields on both the Event and Event Item records?** A: No, the **Sales Start Date** and **Sales End Date** fields do not need to be set on both the Event and Event Item records. **Q: What happens if the start dates on the Event and Event Item are different?** A: If you add the **Sales Start Date** and **Sales End Date** on the Event page and the current date is after the **Sales End Date**, then the banner on the Event home page will say “Completed”. ![Status Formula Event with Start Date](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/Status%20Formula%20Event%20with%20Start%20Date.png) If you add the **Sales Start Date** and **Sales End Date** on the Event page, a different **Sales Start Date** and **Sales End Date** on the Event Item, and the current date is after the Event **Sales End Date**, then the banner on the Event home page will say “Completed” and the text next to the Event Item will say “Sale ended [Day, mm/dd/yyyy].” ![Status Formula Event Item with Start Date](https://cdn.document360.io/f977eec0-500f-40a3-b663-724a51f78075/Images/Documentation/Status%20Formula%20Event%20Item%20with%20Start%20Date.png) **Q: What happens when an Event's **Status** = “Canceled”? Will a Canceled banner appear?** A: No, a Canceled banner will not appear when an Event's **Status** = "Canceled." Instead, an [Error 2004](https://docs.blackthorn.io/docs/error-codes-and-quick-fixes#error-2004) will occur if the Event's **Status** is not set to “Active” or “Draft.”