Learn how to update your Vault’s configuration to enable the case locking feature.
About Case Locking
Case locking configuration settings were added in Vault Safety 20R2. This feature allows administrators to enable case locking and unlocking as well as filtering by the case lock state. In order to utilize this feature, the proper permissions must be set in the security profile configuration. The case locking layout rule and the Lock Manager security profile must be created before the case locking feature can be properly utilized.
Once enabled, Manually Lock and Unlock a Case provides more information on how to use this feature.
Path to Configure Case Locking
The steps you must perform to configure case locking depend on whether your Vault was deployed in 20R2 or an earlier release. Vaults deployed in 20R2 include much of the required configuration already, while Vaults deployed in an earlier release must perform additional configuration.
Vaults Deployed In 20R2 or Later
- Add the Lock Manager Permission Set to Security Profiles
- Add the Case Lock and Unlock User Actions to a State
- Add the Case Unlocking Entry Action to Approved State
Vaults Deployed in 20R1 or Earlier
- Add the Case Locking/Unlocking Actions to the Case Object
- Insert the Case Lock Section on the Case Page Layout
- Add the Locking Layout Rule
- Configure Read Permissions for Locked By and Locked Date
- Add the Lock Manager Permission Set to Security Profiles
- Add the Case Lock and Unlock User Actions to a State
- Add the Case Unlocking Entry Action to Approved State
Add the Case Locking/Unlocking Actions to the Case Object
- Go to Configuration > Object Setup > Objects > Case.
- Go to the Actions tab.
- Select Create.
- Select the Lock Case action from the drop-down menu.
- Select Continue. The Create Action page is displayed.
- Ensure the status of the action is Active.
- Select Save.
- Repeat steps 4-7 for the Unlock Case action.
Result
The Case Locking and Unlocking Actions have been added to the Case object.
Insert the Case Lock Section on the Case Page Layout
- Go to Configuration > Objects > Case > Layouts > Case Page Layout.
- Insert a Detail Form section. You may need to remove fields from any section prior to inserting new sections.
- Fill out the form with the following details:
- Enter
This Case is Locked
in the Section Label field - Enter
this_case_is_locked
in the Section Name field - Select Detail Form - Two Columns from the drop-down menu
- Enter
- Select Done. The new section has been inserted at the bottom of the page.
- Select Add to add the following fields to the This Case is Locked section:
- Locked By
- Locked Date
Result
The Case Lock Section has been successfully inserted on the Case Page Layout.
Add the Locking Layout Rule
- From the Case Page Layout, select Layout Rules.
- Add a Layout Rule with the following details:
- Label:
Locking
- Name:
locking
- Label:
- Under Hide the following Page Layout Items:
- Select Sections from the Type drop-down menu
- Enter
This Case is Locked
in the Values Field
- Under IF this Layout Rule Expression is TRUE, add the following expression:
IsBlank(locked_date__v)
- Select Save.
Result
The case locking layout rule has been successfully created.
Configure Read Permissions for Locked By and Locked Date
- Go to Users & Groups > Permission Sets.
- Select a Permission Set. We recommend that you perform the following steps on each Permission Set being used in your Vault.
- Go to Objects > Case.
- Select Edit under the Object Field Permissions section.
- Grant Read permissions for the Locked by and Locked Date fields.
- Select Save. Users in this permission set can now read the Locked By and Locked Date fields.
- Repeat steps 1-6 for all other Permission Sets.
Result
The permissions have been configured successfully for Locked By and Locked Date for all Permission Sets.
Add the Lock Manager Permission Set to Security Profiles
- Go to Users & Groups > Security Profiles.
- Open the Security Profile to which you want to grant access to manage case locking.
- Under Permission Sets, select Add > Existing Permission Set.
- Add the Lock Manager Permission Set.
Result
Users assigned this Security Profile can now manage case locking.
Add the Case Lock and Unlock User Actions to a State
To finish enabling the feature, the case locking and unlocking action must be added as user actions for the appropriate Lifecycle States. The recommended states that case locking user actions should be added to are:
- Triage
- Data Entry
- QC
- Medical Coding
- Medical Review
- Revision
The correct conditions must also be set to enable the feature correctly.
Add the Case Locking User Action
- Go to Configuration > Object Lifecycles > Case Lifecycle.
- Select the state to which you want to add the user action.
- Under User Actions, select Edit.
- Select Create Rule at the bottom of the page.
- Select Perform with conditions.
- Beside If, select Locked By in the first drop-down menu.
- Select is blank in the second drop-down menu.
- Under Allow the following actions, select Lock Case.
- In the Action Label entry field, enter
Lock Case
. - Select Save.
Result
The Lock Case user action has been successfully added to the state.
Add the Case Unlocking User Action
- Select Create Rule at the bottom of the page.
- Select Perform with conditions.
- Select Locked By in the first drop-down menu beside If.
- Select is not blank in the second drop-down menu.
- Select Unlock Case under the Allow the following actions heading.
- Enter
Unlock Case
in the Action Label entry field. - Select Save.
Result
The Unlock Case user action has been successfully added to the state.
Add the Case Unlocking Entry Action to Approved State
- Go to Configuration > Object Lifecycles > Case Lifecycle > Approved.
- Under Entry Actions, select Edit.
- Select Perform with conditions.
- Beside If, select Locked By in the first drop-down menu.
- Select is not blank in the second drop-down menu.
- Under perform actions, select Unlock Case from the drop-down menu
- Select Save.
Result
The case unlocking entry action has been successfully added to the Approved state for the locked case condition.