Get Organization Variable

Get Organization Variable

This guide will help you with the following:
      1. Syntax
      2. Example
      3. Response Format

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

  1. <Response> = zoho.crm.getOrgVariable("<customVariableName>");
where,
  1. <Response> returns the value of the custom variable.
  2. <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:
  1. value = zoho.crm.getOrgVariable("Score");
  2. info "The value of the custom variable, Score, is " + value;

Response Format

  1. The value of the custom variable, Score, is 23

    Zoho CRM Training Programs

    Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

    Zoho CRM Training
      Redefine the way you work
      with Zoho Workplace

        Zoho DataPrep Personalized Demo

        If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

        Zoho CRM Training

          Create, share, and deliver

          beautiful slides from anywhere.

          Get Started Now


            Zoho Sign now offers specialized one-on-one training for both administrators and developers.

            BOOK A SESSION








                                    You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                        Manage your brands on social media

                                          Zoho Desk Resources

                                          • Desk Community Learning Series


                                          • Digest


                                          • Functions


                                          • Meetups


                                          • Kbase


                                          • Resources


                                          • Glossary


                                          • Desk Marketplace


                                          • MVP Corner


                                          • Word of the Day


                                            Zoho Marketing Automation

                                              Zoho Sheet Resources

                                               

                                                  Zoho Forms Resources


                                                    Secure your business
                                                    communication with Zoho Mail


                                                    Mail on the move with
                                                    Zoho Mail mobile application

                                                      Stay on top of your schedule
                                                      at all times


                                                      Carry your calendar with you
                                                      Anytime, anywhere




                                                            Zoho Sign Resources

                                                              Sign, Paperless!

                                                              Sign and send business documents on the go!

                                                              Get Started Now




                                                                      Zoho TeamInbox Resources



                                                                              Zoho DataPrep Resources



                                                                                Zoho DataPrep Demo

                                                                                Get a personalized demo or POC

                                                                                REGISTER NOW


                                                                                  Design. Discuss. Deliver.

                                                                                  Create visually engaging stories with Zoho Show.

                                                                                  Get Started Now









                                                                                                      • Related Articles

                                                                                                      • Set Organization Variable

                                                                                                        This guide will help you with the following:       1. Syntax       2. Example       3. Response Format You can set the value of a custom variable (Custom Properties in Extension and Org Settings in Vertical Solution) using ...
                                                                                                      • Data Access - Collection variable

                                                                                                        This guide will help you with the following: Overview Declaring a collection variable Aggregate functions Fetch field value from the first record Fetch values of a field from all the records in a collection Updating field value in a collection ...
                                                                                                      • Get Organization Information

                                                                                                        This guide will help you with the following:       1. Syntax       2. Example       3. Response Format You can fetch the details about the organization associated with your account using the zoho.crm.invokeConnector() deluge task. Syntax <Response> = ...
                                                                                                      • Get URL

                                                                                                        The get URL Deluge task corresponds to a HTTP GET request. It is normally supported by services to perform read-only operations like fetching data from external websites. By default, it supports websites running in port 80 and 443. Syntax a. To get a ...
                                                                                                      • Get File Name

                                                                                                        Description The getFileName task is used to get the name of the specified file. Syntax <response> = <file_object>.getFileName(); where, Example The following script returns the name of the file that the variable - fileVariable holds.  // to fetch ...
                                                                                                        Wherever you are is as good as
                                                                                                        your workplace

                                                                                                          Resources

                                                                                                          Videos

                                                                                                          Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                          eBooks

                                                                                                          Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                          Webinars

                                                                                                          Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                          CRM Tips

                                                                                                          Make the most of Zoho CRM with these useful tips.



                                                                                                            Zoho Show Resources