Choose where you’d like to start

Get Organization Variable

Table of Contents

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

Note: This task can be performed only in Zoho CRM Vertical Solutions.

Syntax

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

where:

ParamsData typeDescription

<Response>

 KEY-VALUE

 Returns the value of a custom variable.

<customVariableName>

 TEXT

 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

Success Response

{ The value of the custom variable, Score, is 23 }

Get Started Now

Execute