# Limio Schedules Table Component

## What is the Limio Flow Schedules Table?

The **Limio Flow Schedules Table** is an **LFS Flow component** that displays **future subscription payment schedules** during acquisition and subscription management flows.

This component supports **complex basket building** in Limio for Salesforce, giving users a clear view of upcoming payments before and during order actions.

Key features:

* **Show future payment schedules per subscription**
* **Collapsed by default**, with expand/collapse controls
* **Supports multiple order types**: new, cancel, cancel/save, switch, update, and renewal
* **Handles evergreen subscriptions**, showing a note that additional future payments may exist
* **Dynamic refresh** if the basket or effective dates change
* **Pre-action view**: Users can see schedules **before taking any action** on a subscription

***

## How it works

### 1. Displaying current subscription schedules

When a **subscription is selected** in the flow:

* Shows the **existing future schedule** for the selected subscription before any order details are entered.
* Lets users **review upcoming payments** without triggering any schedule updates.

### 2. Displaying order-specific schedules

* Once **order details** (cancel reason, switch offer, effective date, etc.) are added, the table **previews the updated schedule**.
* Reflects **changes to the subscription** based on the pending order.

The table automatically **updates** if:

* The **basket contents change** (adding add-ons, changing quantity, applying discounts).
* The **effective date** changes in the cancel, switch, or renewal journeys.

### 3. Visual behaviour

* **Collapsed by default**; expand with a down arrow, collapse with an up arrow.
* **Displays up to 6 payments** by default; table becomes **scrollable** if there are more.
* **Evergreen subscriptions** show only a set number of charges, with a note:\
  \&#xNAN;**“This is an evergreen subscription, which means there could be additional scheduled payments in the future.”**
* **Columns include**:
  * Payment number (starting at 1)
  * Payment date (Salesforce locale formatting)
  * Payment amount (includes add-ons and quantity)
* **Offer name** is shown as the heading for each subscription section.

## How to configure it

When adding the **Limio Flow Schedules Table** to a flow, configure the following **input properties**:

| Property           | Type                        | Label                        | Description                                              |
| ------------------ | --------------------------- | ---------------------------- | -------------------------------------------------------- |
| `billingAddress`   | `i42as.CustomerAddress`     | Input: Billing Address       | The billing address for the order                        |
| `orderType`        | `String`                    | Input: Order Type            | Type of order (new, switch, cancel, update, etc.)        |
| `orderItemsString` | `String`                    | Input: Order Items           | Serialized list of items in the basket                   |
| `purchaseCountry`  | `String`                    | Input: Purchase Country      | Country context for pricing and schedules                |
| `subscription`     | `i42as.SubscriptionRefined` | Input: Selected Subscription | The subscription being managed                           |
| `orderDiscount`    | `String`                    | Input: Order Discount        | A discount object from a Promo Code applied to the order |

## Best practice: configuring dynamic Schedules table

When adding a **Schedules Table** component to a screen in the flow, it’s important to ensure the table reflects updates when navigating backward in the flow.

To do this:

1. Select the **Schedules Table** component.
2. Navigate to the **Advanced** tab in the component settings.
3. Set the **Revisited Screen Values** to **"Refresh inputs to incorporate changes elsewhere in the flow"**.

This configuration allows agents to go back in the flow, choose a different subscription, and see the newly updated schedules without needing to refresh the entire page.

> ✅ This improves the user experience by ensuring the schedules table stays up to date dynamically.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.limio.com/integrations/setting-up-limio-for-salesforce/new-component-design/schedules-table-component.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
