Serververwaltung > Automate Tasks and Calculate Data Using Event Triggers > Script Library for Configuration Management Triggers
  
Script Library for Configuration Management Triggers
Windchill RV&S provides some pre-created configuration management triggers scripts that can be used out-of-the-box.
Sample event triggers are provided in:
installdir/data/triggers/scripts/samples
where installdir is the path to the directory where you installed the Windchill RV&S server.
The list of pre-created scripts provided may vary depending on the server implementation of an organization. Some of the pre-created scripts available include:
breakLockNotification.js–Sends an email to a user if their lock has been removed or downgraded by another user.
enforceRevisionDescription.js–Enforces revision descriptions.
metrics.js–Calculates metrics for a configuration management project.
RestrictProject.js–Sends an email about the changes to the user and groups permitted to continue work in the restricted project.
VetoRestrictProject.js–Prevents any existing project restriction from being changed by any user other than the user who initially restricted the project.
UnrestrictProject.js–Sends an email to a user who initially restricted a project if the project has been unrestricted by another user.