Update Request Additional fields during request create/update using Custom Trigger - Deluge

Update Request Additional fields during request create/update using Custom Trigger - Deluge

This is a sample custom function script to update the Request Additional Field Values during request create/update based on certain criteria using Custom Triggers.


Steps to configure:
1.  Download the attached scripts.  Copy the contents into Request custom functions.

2.  Goto Admin > Request Custom Function > Custom Function > New > Paste the update_udf_date.txt content and save it with a name



For API Field names, refer to Admin > Incident - Additional Field




3.  Configure the created custom function in a custom trigger to get executed when the request is created.


Note:
The same can also be configured as a Business rule, refer to the below links.