1. Download the attached scripts.
2. Go to Admin >> Developer Space >> Custom Function >> Request >> Copy & paste attached UpdateSubject.txt and save it with a name.
3. Go to Admin >> Automation >> Custom Triggers >> Request
Configure the created custom function in a Custom trigger. Refer to the screenshot below,