User fields automatic.pl
EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects
user_fields_automatic.pl defines a function which runs EVERY time the user record is updated in its workflow. You can use it to apply calculated values to fields based on other values entered on the workflow.
NOTE: this function runs when you save the user record and when you change the current workflow stage.