Global Functions

Global Functions

Custom functions allow users to manipulate data in AssetExplorer 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 custom schedules. 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 from Admin > Developer Space > Custom Function > Global Function.

Role Required: SDAdmin

Add New Global Function

  1. Use the New button to create a global function.

  1. On the displayed page, provide a name for your global function.

  1. Select the return type for the global function from the drop-down.

  1. Add a description, if needed.

  1. Specify the parameters and the return type for the parameters. Click icon to add multiple parameters.


 You can choose the return type and specify up to 10 parameters. 

  1. Use the simple drag-and-drop action to select objects from the deluge script editor onto the canvas.

  1. Click Save.

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.

Test Global Function

After writing the scheduled 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.

Debugging Tip  

When you test a global function, you can debug the code and print the output by using a statement called info.


  1. info {return-argument};
  2. info context;
  3. return true;

For example, to understand the structure of string priority,date created on you can simply run the following script and study the response.

  1. info string priority,date created on;
  2. info context;
  3. return true;

For more details on Deluge, visit Deluge help guide.

Global Functions List View  

After creating global functions, you can manage them from the list view as follows:

  • Click the icon to edit or delete a custom action. To delete custom actions in bulk, select the custom actions and click Delete on the toolbar.

  • Use keywords to search for global functions from the search bar.


    • Related Articles

    • Global Search

      The global search feature makes it easy to find information within AssetExplorer. You can narrow down your search results by using the module filter. You can also search through users and system logs. To perform global search, Click on the header. ...
    • Fetch Functions - Read-Only User

      SELECT string_agg(format('%I(%s)', p.proname, pg_catalog.pg_get_function_identity_arguments(p.oid)),',') AS functions FROM pg_catalog.pg_proc p JOIN pg_catalog.pg_namespace n ON n.oid = p.pronamespace WHERE p.proname ...
    • Scheduled Function

      AssetExplorer allows administrators to execute custom schedules using a built-in script execution tool called scheduled functions. The scheduled function scripts can be built from scratch using deluge, Zoho's propriety scripting language. Scheduled ...
    • Deluge - A Programming Language

      Deluge, or Data Enriched Language for the Universal Grid Environment is Zoho's proprietary scripting language bundled with AssetExplorer Plus. It is a high-level language that helps non-programmers code without any training. Unlike traditional ...
    • Search Contracts

      You can search for contracts from the list view page. Click on the far-right of the list view table header. Enter the search term in the relevant column's search text box. Note that you cannot search through date fields. Click Go. Use global search ...