Understand Variables

Understand Variables

What Does This Page Cover?

Learn about variables that hold values that can be referred to and modified throughout your Creator application.

Availability

  1. Variables are available for all plans of Creator.
  2. Only super admin, admins, and developers can create and manage variables while other users can access them.
  3. This feature is available across all data centers.

Overview

Variables are used for storing and accessing specific data. Once created, these variables maintain their data accessibility throughout various sections of the application. This helps reduce data redundancy and enhance code efficiency.

Variables in Zoho Creator

In Zoho Creator, a variable can be created and used in multiple places across an application and in different environments. Once a variable is created, its values can be accessed anywhere within the application, ensuring consistency and efficiency. The value assigned to the variable during creation will be stored as a defined value. Variables can have their defined values modified through workflows, and the modified value will be stored as the current value. The current value dynamically updates to reflect the most recent data in real-time. This current value is then applied across the entire application.
Note: It is not recommended to store sensitive data in variables, as they are accessible by admins, super admins, and developers. Additionally, the values stored in variables may become accessible to live application users through workflow execution. Unlike the data stored in forms, variables cannot be configured with specific user permissions set.

Business Use Case

Imagine an organization leveraging the Creator application for a range of operations, including employee management, marketing, task tracking, and more. In such instances, the application might contain numerous forms, along with a multitude of success and alert messages. As these messages tend to recur, it's prudent to centralize them with variables. By doing so, these messages can be efficiently stored and readily accessed throughout the application. Similarly, constants like 'CEO Email Address' or 'Organization Name' can also be stored as variables, ensuring consistent use across the application. This approach enhances the organization's ability to effectively manage and deploy messages across various forms and operations within the application.

Points to Note

  1. Variable names within a group must be unique.
  2. The data type of the variable remains constant once it is created and it cannot be changed, except for the collection data type variable, which can be changed from list to key-value format and vice versa.
  3. When changing the key-value type collection into list-type collection replace the references with appropriate values. Similarly, when changing a list-type collection to key-value type collection, make sure to replace the references with key-value pairs. This precautionary step is essential to prevent potential errors in your application and maintain its functionality.

Limitations

  1. It is not possible to create a sandbox with a C5 application, if it contains variables.
  2. Variables are not available for applications within the C5 sandbox and developer zone.
  3. A maximum of 10 groups can be created per application.
  4. A maximum of 20 variables can be created per application, irrespective of the number of groups. Among the 20 variables, only a maximum of four variables can be of the collection data type.
  5. The size of each collection variable must not exceed 2 KB.
  6. A variable cannot be moved from one group to another.
  7. System variables can be only assigned to a variable through a Deluge script.
  8. Renaming or deleting a variable or variable group is currently not supported in code view.
  9. A maximum of 500 variable assignments can be performed via a Deluge script per day.
  10. Simultaneous modifications and access to a variable through scripts may not give the expected results.
  11. Value of variables cannot be modified through scripts in the following workflow actions:
    1. Form on load
    2. Form on validate
    3. User input of a field
    4. Subform - Addition of row
    5. Subform - Deletion of row
    6. Subform - User input of a field
    7. Stateless form - button actions
    8. Page script
  12. Note: If a function involving variable modification is invoked within these actions, it will not be executed.
  1. Create and Manage Variables


    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

                                                                                                  • Create and Manage Variables

                                                                                                    1. What Does This Page Cover? Learn how to create a variable to hold values that can be referenced and modified throughout your Creator application. Learn more about variables and its significance before moving ahead. 2. Availability Variables are ...
                                                                                                  • Page script and variables

                                                                                                    1. What does this page cover? Learn about page scripts, their creation and subsequent usage inside the pages component to populate dynamic values in your page elements, thereby minimizing the need for multiple snippets in your page. 2. Availability ...
                                                                                                  • Understand expression

                                                                                                    Understand formula field's expression The formula field's Expression is what defines the value it will store and display. For example, the Amount field in an Order form is usually a result of multiplying the values in Unit Price and Ordered Quantity ...
                                                                                                  • Understand Pages

                                                                                                    1. What Does This Page Cover? Learn about pages and how they are used to create user-friendly, customized dashboards for your applications. Via these dashboards, you can display dynamic elements and visually represent the data stored in Creator. 2. ...
                                                                                                  • Understand System Fields

                                                                                                    Understand system fields In addition to the data that is submitted through a form , Zoho Creator captures a few details like - which user added the record, when did the user add the record, which user was the last one to update it, etc. These details ...
                                                                                                    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