Learn how to configure your Vault to specify Aggregate Report Destination types and generate compiled ZIP files of aggregate reports.
About the Feature
In 24R2, Vault SafetyDocs supports new object types to specify whether an Aggregate Report Destination is a Health Authority Submission or a Partner Distribution. Additionally, users can now generate ZIP files of authored aggregate reports to download for easy distribution.
For information on specifying Aggregate Report Destination object types and generating final ZIP files, see Author Aggregate Reports.
Update Fields
Go to Admin > Configuration > Objects > Aggregate Report Destination > Fields and make the updates outlined in the following sections.
Update the Health Authority Field
Complete the following steps to update the label of the Health Authority field to reflect its purpose more accurately:
- On the Fields page, select Health Authority.
- Select Edit.
- In the Label field, enter “Destination Organization”.
- Select Save.
Update the Name Field
Complete the following steps to update the Name field to align with the new label of the Health Authority field:
- On the Fields page, select Name.
- Select Edit.
- Update the Help Content field as necessary to reflect the changed label.
- In the Value Format field, enter
{health_authority__vr.name__v}-{####}
. - Select Save.
Configure Object Types
The following sections outline how to update the Aggregate Report Destination object’s object types.
Update Default Object Type
Complete the following steps to update this object’s default object type:
- Go to Admin > Configuration > Objects > Aggregate Report Destination > Details.
- Select Edit.
- In the Default Object Type field, select Health Authority Submission.
- Select Save.
Make Base Object Type Inactive
Complete the following steps to make the Base object type inactive:
- Go to Admin > Configuration > Objects > Aggregate Report Destination > Object Types.
- Select Base Aggregate Report Destination.
- Select Edit.
- In the Status field, select Inactive.
- Select Save.
Add Field VQL
Complete the following steps to add Criteria VQL to the Destination Organization field on the applicable object types:
- On the Object Types tab, select Health Authority Submission.
- Select the Destination Organization field.
- Select Edit.
- In the Criteria VQL field, enter
object_type__vr.api_name__v = 'agency__v'
. - Select Save.
- Return to the Object Types tab and select Partner Distribution.
- Select Edit.
- In the Criteria VQL field, enter
object_type__vr.api_name__v = 'partner__v'
. - Select Save.
Delete Field from Partner Distribution Object Type
On the Partner Distribution page, select the Applicable Market field, and then select Delete. In the Deleting “Applicable Market” dialog, select Continue.
Configure Action
Complete the following steps to configure the Generate Final Aggregate Report ZIP action on the Aggregate Report Destination object:
- Go to Admin > Configuration > Objects > Aggregate Report Destination > Actions.
- Select Create.
- In the Create Action dialog, select Generate Final Aggregate Report ZIP.
- Select Save.
Configure the Aggregate Report Destination Layout
Complete the following steps to configure this layout:
- Go to Admin > Configuration > Objects > Aggregate Report Destination > Layouts > Aggregate Report Destination Detail Page Layout.
- In the Details section, add the following fields:
- Aggregate Report Destination Type
- Masked
- PV Agreement
- PVA Activity Type
- Select Save.
Configure Object Lifecycle
Go to Admin > Configuration > Object Lifecycles > Aggregate Report Destination Lifecycle and complete the steps outlined in the following sections.
Update User Action on the Submitted State
Complete the following steps to update a user action on the Submitted state so that only Health Authority Submission type Destinations can reach the HA Received state:
- In the States section, select Submitted.
- In the User Actions section, select Edit.
- Update the Always Change State to: HA Received user action to the following:
- Perform with conditions >
- If > Aggregate Report Destination Type > equals > Health Authority Submission
- Allow the following actions:
- Change State to > HA Received
- Action Label: “Change State to HA Received”
- Change State to > Deferred
- Action Label: “Change State to Deferred”
- Change State to > HA Received
- Perform with conditions >
- Select Save.
Add User Action on the Complete State
Complete the following steps to add the Generate Final Aggregate Report ZIP action on the Complete state:
- In the States section, select Complete.
- In the User Actions section, select Edit.
- Select Create Rule and create the following rule:
- Always >
- Allow the following actions:
- Generate Final Aggregate Report ZIP
- Action Label: “Generate Final Aggregate Report ZIP”
- Select Save.
Update Permission Sets
Go to Admin > Users & Groups > Permission Sets and complete the steps in the following sections to update various permission sets in your Vault:
Administration Actions
Complete the following steps to update this permission set:
- Go to the Administration Actions permission set.
- In the Objects tab, select Edit.
- Select the applicable checkboxes to grant Read permissions on all object types of the Aggregate Report Destination object.
- Select Save.
Aggregate Report Writer
Complete the following steps to update this permission set:
- Go to the Aggregate Report Writer permission set.
- In the Objects tab, select Edit.
- Select the applicable checkboxes to grant Read, Create, Edit, and Delete permissions on all object types of the Aggregate Report Destination object.
- Select Save.
Safety Operations Actions
Complete the following steps to update this permission set:
- Go to the Safety Operations Actions permission set.
- In the Objects tab, select Edit.
- Select the applicable checkboxes to grant Read, Create, Edit, and Delete permissions on all object types of the Aggregate Report Destination object.
- Select Save.