Get Organization Variable

You can fetch the value of a custom variable (Custom Properties in Extension and Org Settings in Vertical Solution) using the zoho.crm.getOrgVariable() deluge task.

Syntax

<Response> = zoho.crm.getOrgVariable("<customVariableName>");

where,
<Response> returns the value of the custom variable.
<customVariableName> is the API name of the custom variable. You can find this information in the following places:
In a Vertical solution: Click Company Settings in the left pane and click Org Settings.
In an Extension: Click Custom Properties in the left pane.

Example

Suppose a custom variable by the name Score is created and the current value of the variable is 23. You can fetch the value of the custom variable using the below script:

value = zoho.crm.getOrgVariable("Score");
info "The value of the custom variable, Score, is " + value;

Response Format

The value of the custom variable, Score, is 23