Learn how to configure your Vault to support PVA Scheduling.
About PVA Scheduling
With the 25R1 release, Vault SafetyDocs supports PVA Scheduling. Scheduling defines when and how often Vault automatically creates PVA Activity records and documents for a given PVA Obligation record. This is useful in situations where a PVA has obligations with recurring activities, such as circulating a weekly summary of literature articles.
After you have enabled this feature, see the following articles for more information:
Prerequisites
Before configuring this feature in your Vault, you must enable PVA Management.
Overview
To configure PVA Scheduling in your Vault:
- Configure the PVA Obligation object
- Configure the PVA Activity object
- Configure PV Agreement actions
- Update object layouts
- Grant PVA Actions object permissions
Configure the PVA Obligation Object
To configure the PVA Obligation object, navigate to Admin > Configuration > Objects > PVA Obligation and:
- Update the PVA Obligation object layout
- Configure the PVA Obligation default object type
- Configure PVA Obligation actions
Update the PVA Obligation Layout
To update the PVA Obligation layout:
- Navigate to Layouts > PVA Obligation Detail Page Layout.
- In the Details section, add the following fields:
- Schedule
- Activity Creation Days Prior
- Start Date
- Source Vault Report
- Source Report Prompt
- Source Report Format
- Select Save.
Configure the PVA Obligation Default Object Type
Note: Depending on the structure of your PVAs, you may prefer to set Manual Obligation as your default PVA Obligation object type.
To configure Scheduled Obligation as the default PVA Obligation object type:
- In the Details tab, select Edit.
- In the Options section, select the Default Object Type drop-down and select Scheduled Obligation.
- Select Save.
- Configure a field default for the Obligation Direction field with
Picklist.pva_distribution_type__v.outbound__v
as the Default Value. - Select Save.
Configure PVA Obligation Actions
To configure PVA Obligation actions, assign the following actions to the PVA Obligation object:
- Schedule PVA Obligation
- Cancel Scheduled Obligation
Then, add each action as a user action on the PVA Obligation object lifecycle using the following conditions:
- Condition Type: All conditions are met
- Lifecycle State equals Active
- PVA Obligation Type equals Scheduled Obligation
Configure the PVA Activity Object
To configure the PVA Activity object:
Configure the Update all Activity Dates Action
To configure the Update all Activity Dates action, assign the Update all Activity Dates action to the PVA Activity object. Then, add the action as a user action on the PVA Activity object lifecycle using the following conditions:
- Condition Type: All conditions are met
- Lifecycle State equals New or In Progress
- PVA Obligation Type equals Scheduled Obligation
Set a Field Default for the Activity Type field
Configure a field default for the Activity Type field with pva_obligation__vr.obligation_direction__v
as the Default Value.
Configure PV Agreement Actions
To configure PV Agreement actions, assign the following actions to the PV Agreement object:
- Schedule PVA Obligations
- Cancel Scheduled Obligations
Then, add the actions as entry actions on the following PV Agreement object lifecycle states:
- Add the Schedule PVA Obligations action on the Effective state
- Add the Cancel Scheduled Obligations action on the Terminated state
Update Object Layouts
To configure PVA Scheduling in your Vault, update layouts for the following objects:
Update the Schedule Layout
To update the Schedule layout:
- Navigate to Admin > Configuration > Objects > Schedule > Layouts > Schedule Detail Page Layout.
- Under the Details section, insert a Related Object section with the following information:
- Related Object: Schedule Component
- Section Label: Components
- Creation Option: Create record in pop-up dialog
- Select Done.
- Select Save.
Update the Schedule Component Layout
To update the Schedule Component layout:
- Navigate to Admin > Configuration > Objects > Schedule Component > Layouts > Schedule Component Detail Page Layout.
- In the Details section, add the following fields:
- Order
- Number of Repeats
- Periodicity (Value)
- Periodicity (Unit)
- Schedule
- Select Save.
Update the Schedule Recurrence Layout
To update the Schedule Recurrence layout:
- Navigate to Admin > Configuration > Objects > Schedule Recurrence > Layouts > Schedule Recurrence Detail Page Layout.
- In the Details section, add the following fields:
- Name
- Recurrence Type
- Schedule
- Start Date
- PV Agreement
- PVA Obligation
- Under the Details section, insert a Related Object section with the following information:
- Related Object: Scheduled Event
- Section Label: Scheduled Events
- Creation Option: Prevent record creation
- Select Done.
- Select Save.
Update the Scheduled Event Layout
To update the Scheduled Event layout:
- Navigate to Admin > Configuration > Objects > Scheduled Event > Layouts > Scheduled Event Detail Page Layout.
- In the Details section, add the following fields:
- Name
- Schedule Recurrence
- Schedule
- Schedule Component
- Scheduled Date
- Actual Runtime
- Result (Message)
- Select Save.
Grant PVA Actions Object Permissions
Ensure you update your permission sets to grant the appropriate level of access for users according to your organization’s process. Manage PVA Actions object permissions from Admin > Users & Groups > Permission Sets > PVA Actions > Objects > [Object].
We recommend granting the following object permissions:
Object | Object Permissions |
---|---|
PVA Obligation of type Base PVA Obligation |
|
PVA Obligation of type Manual Obligation |
|
PVA Obligation of type Scheduled Obligation |
|
Schedule |
|
Schedule Component |
|
Schedule Recurrence of type PVA Obligation Recurrence |
|
Scheduled Event |
|
Scheduler Exception |
|