The Custom Groovy Templates preference is used to record a list of custom groovy templates in the system. The choice of values are selected using an autocomplete or dropdown list.

The table of Custom Groovy Templates will display the name, description, and status for the custom groovy template.
When adding or editing a custom groovy template, users are presented with the below form to complete. Always press Save in the bottom right-hand corner of the browser after adding or editing a custom groovy template.

A unique code for the custom groovy template. This can be the same as the name but must be unique throughout the entire system.
A name for the custom groovy template. It is advisable to keep this unique.
A short help text for the custom groovy template.
A checkbox to activate/deactivate an entry. If the preference is not active, it will not be selectable in any drop-down lists.
A full help text for the custom groovy template.
The groovy code for the custom groovy template. This code will be executed when the custom groovy template is used in the system.