OnSave scripts execute when users save cases. They are used to automate functions depending on values held in the case. For example, you could send emails, add tasks or update fields. OnSave scripts can also be used for complex validation - if an invalid value is entered then you can use a script to prevent the case for refreshing and prompt the user to enter a valid value.
OnLoad scripts run when a case is loaded. These scripts can create alerts, such as displaying a message if the case has not been accessed in a certain time period OnLoad scripting can also be used to alter the UI. For example, you could create an icon to display case status, show or hide fields and create shortcuts to frequently used features. Learn More.