Custom functions allow users to manipulate data in ServiceDesk Plus and other external applications. Custom functions are built on Deluge, Zoho's propriety scripting language.
Global functions are custom functions that can be called from custom actions configured for request, change, or custom schedules, whenever necessary. They can store information that is essential to connect with external applications, common functionalities, and configurations, all of which can be invoked from custom actions.
You can create and perform other actions on Global functions under either of the following locations:
icon to add multiple parameters.

Each global function will be assigned an internal name of format global_function_<id>. The internal name of a global function will be displayed on the header of the Deluge editor. You can use this internal name to call the global function from a custom action.
After writing the custom schedules function, click Save and Test to test run the global function.
Specify the parameter values, and click Execute.
Output will be printed along with info statements that are used for debugging.
When you test a global function, you can debug the code and print the output by using a statement called info.
For example, to understand the structure of string priority, date created on you can simply run the following script and study the response.
After creating global functions, you can manage them from the list view as follows:
icon to edit or delete a custom action. To delete custom actions in bulk, select the custom actions and click Delete on the toolbar.
