# Configure Schedule Records

To simplify managing recurring PVA obligations, SafetyDocs offers automated <a href="/en/lr/01242/#pva-scheduling">PVA scheduling</a>, supporting on-time reporting and reducing manual workload. When users create _Scheduled_-type _PVA Obligation_ records, they populate the _Schedule_ field with a specific _Schedule_ record that defines when and how often Vault creates _PVA Activity_ records and report documents for the _PVA Obligation_ record. 

<div class="note-border alert-info">
  <div class="alert alert-info" role="alert">
    <div><i class="far fa-info-circle"></i></div>
    <div class="alert-text">
      <p><strong>Note</strong>: If you have a <a href="/en/lr/752926/">Veeva Safety Workbench license</a>, you may have access to <a href="/en/lr/860557/#schedule-workbench-report-sets"><em>Workbench Report Set</em> scheduling</a> and <a href="/en/lr/979940/">signal review scheduling</a>. This functionality uses <em>Schedule</em> records to determine the intervals at which to run a <em>Workbench Report Set</em> and generate <em>Workbench Reports</em> and their Excel documents or to create <em>Signal Reporting Periods</em>, respectively.</p>
    </div>
  </div>
</div>



### Standard Schedules

Vault includes the following standard _Schedules_:
* _Bi-Annually_: Every two years.
* _Annually_: Every one year.
* _Semi-Annually_: Every six months.
* _Quarterly_: Every three months.
* _Bi-Monthly_: Every two months.
* _Monthly_: Every one month.
* <a id="first-day-month"></a>_First Day of the Month_: Monthly on the first day of the month.
* <a id="monthly-first-day"></a>_Monthly on the First Selected Day of the Week_:  Monthly on the first day of the week that matches the day corresponding to the _Start Date_ of the <a href="/en/lr/01242/#obligations-section">_PVA Obligation_</a> or <a href="/en/lr/860557/#scheduling-section-fields">_Workbench Report Set_</a> using the _Schedule_. For example, if the _PVA Obligation_ has a _Start Date_ of August 1, 2025 (a Friday), this _Schedule_ runs every month on the first Friday.
* <a id="last-day-month"></a>_Last Day of the Month_: Monthly on the last day of the month.
* _Weekly_: Every seven days on the specified days.
* _Daily_: Every one day.
* _DSUR_: Follows a DSUR schedule of every year.
* _PADER_: Follows a PADER schedule of every three months for the first three years, then once a year thereafter.
* _PBRER_: Follows a PBRER schedule of every six months for the first two years, then once a year thereafter.

### Schedules and Schedule Components

Each _Schedule_ record contains the schedule's name, description, and links to the child _Schedule Component_ records that define its frequency, duration, repetitions, and the order in which Vault runs them.

A _Schedule_ with a single _Schedule Component_ runs according to that single _Schedule Component_'s frequency, duration, and repetitions. When a _Schedule_ contains multiple _Schedule Components_, Vault runs the _Schedule Components_ based on their _Order_ field values. This means Vault first runs the _Schedule Component_ with an _Order_ field value of `1` until its full cycle is complete, as defined by its _Periodicity_ and _Number of Repeats_ values. Then, Vault runs the _Schedule Component_ with an _Order_ field value of `2` until its full cycle is complete, and so on.

#### Example Schedule with a Single Schedule Component

The _Bi-Annually_ _Schedule_ record, which repeats every two years without an end, consists of a single _Schedule Component_ record with the following field values:
* _Number of Repeats_ is `0`: This _Schedule Component_ repeats indefinitely.
* _Order_ is `1`: As this is the only _Schedule Component_ defined for the _Schedule_, this value doesn't impact its functionality.  
* _Periodicity (Unit)_ is `Years`: This _Schedule Component_  runs every _x_ years, where _x_ is equal to the _Periodicity (Value)_ field value. 
* _Periodicity (Value)_ is `2`: This _Schedule Component_  runs every two years, as defined by both this field and the _Periodicity (Unit)_ field value. 

#### Example Schedule with Multiple Schedule Components {#example-multiple}

The _PBRER_ _Schedule_ record consists of two _Schedule Component_ records, which allow Vault to run the schedule every six months for the first two years, then once a year thereafter. Its first _Schedule Component_ record, which runs every six months for the first two years, contains the following field values:
* _Number of Repeats_ is `4`: This _Schedule Component_ repeats  four times, at the intervals specified in the _Periodicity_ fields. As the _Periodicity_ field values define a repeating interval of every six months, this means Vault runs this _Schedule Component_ for two years.
* _Order_ is `1`: When looking at all of the _Schedule Component_ records on the _Schedule_, Vault runs this _Schedule Component_ first.
* _Periodicity (Unit)_ is `Months`: This _Schedule Component_  runs every _x_ months, where _x_ is equal to the _Periodicity (Value)_ field value. 
* _Periodicity (Value)_ is `6`: This _Schedule Component_  runs every six months, as defined by both this field and the _Periodicity (Unit)_ field value. 

Its second _Schedule Component_ record, which runs once a year indefinitely after the first _Schedule Component_ has reached its end, contains the following field values:
* _Number of Repeats_ is `0`: This _Schedule Component_ repeats indefinitely.
* _Order_ is `2`: When looking at all of the _Schedule Component_ records on the _Schedule_, Vault runs this _Schedule Component_ second.
* _Periodicity (Unit)_ is `Years`: This _Schedule Component_  runs every _x_ years, where _x_ is equal to the _Periodicity (Value)_ field value. 
* _Periodicity (Value)_ is `1`: This _Schedule Component_  runs every one year, as defined by both this field and the _Periodicity (Unit)_ field value. 

## Prerequisites

To create _Schedules_, your Admin must <a href="/en/lr/832416/">enable PVA Scheduling</a>.

## Create Custom Schedules

To create a _Schedule_, you must:
* [Create the parent _Schedule_][1]
* [Create one or more child _Schedule Components_][2] to define how Vault runs the _Schedule_

### Create Schedules {#create-schedules}

To create a _Schedule_:
1. Navigate to **Business Admin > Objects > Schedules**.
2. Select **Create**.
3. In the **Name** field, enter a descriptive name for your _Schedule_.
4. Select **Save**.   

### Create Schedule Components {#create-schedule-components}

To create a _Schedule Component_:
1. From the _Components_ section of your _Schedule_ record, select **Create**.
2. In the dialog that appears, populate the following fields, then select **Save**:
<table>
    <thead>
        <tr>
            <th>Field</th>
            <th>Description</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td><em>Number of Repeats</em></td>
            <td><p>Enter a number between 0 and 100.</p>
                <p>This is the number of times this <em>Schedule Component</em> will repeat in the schedule. Entering <code>0</code> allows the component to repeat indefinitely.</p></td>
        </tr>
        <tr>
            <td><em>Order</em></td>
            <td><p>Enter a number between one and 25.</p>
                <p>For <em>Schedules</em> with <a href="#example-multiple">multiple <em>Schedule Components</em></a>, this number determines the order in which Vault runs the <em>Schedule Components</em>.</p></td>
        </tr>
        <tr>
            <td><em>Periodicity (Unit)</em></td>
            <td>Select a unit from the picklist:
                <ul>
                    <li><em>Days</em></li>
                    <li><em>Weeks</em></li>
                    <li><em>Months</em></li>
                    <li><em>Years</em></li>
                </ul>
                In combination with the <em>Periodicity (Value)</em> value, this determines the period of time between each repeat.</td>
        </tr>
        <tr>
            <td><em>Periodicity (Unit Monthly)</em></td>
            <td>If you selected <em>Months</em> in the <em>Periodicity (Unit)</em> field, you can select an option to define a specific pattern for when this <em>Schedule Component</em> runs:
                <ul>
                    <li><a href="#first-day-month"><em>First Day of the Month</em></a></li>
                    <li><a href="#monthly-first-day"><em>Monthly on the First Selected Day of the Week</em></a></li>
                    <li><a href="#last-day-month"><em>Last Day of the Month</em></a></li>
                </ul>
                 <div class="note-border alert-info">
  <div class="alert alert-info" role="alert">
    <div><i class="far fa-info-circle"></i></div>
    <div class="alert-text">
      <p><strong>Note</strong>: If you leave this field blank, Vault initiates the monthly <em>Schedule Component</em> on the <em>Start Date</em> defined in the <a href="/en/lr/01242/#obligations-section"><em>PVA Obligation</em></a> or <a href="/en/lr/860557/#scheduling-section-fields"><em>Workbench Report Set</em></a> using the <em>Schedule</em>.</p>
    </div>
  </div>
</div>

</td>
        </tr>
        <tr>
            <td><em>Periodicity (Value)</em></td>
            <td><p>Enter a number between one and 365.</p>
                <p>In combination with the <em>Periodicity (Unit)</em> value, this determines the number of time units between each repeat.</p></td>
        </tr>
    </tbody>
</table>

[1]: #create-schedules
[2]: #create-schedule-components