Test application changes using a test environment

Test application changes using a test environment

Requirement

Workflows in an app have to be tested to ensure it is working as expected, before releasing the updates to users.

Use Case

An order management app contains two forms, one to store products details, and the other to store order details. A workflow is added to send SMS messages to customers when a new order is placed. Before publishing SMS workflow - related changes to users, we use the Environments feature to test if the SMS is being triggered as expected.

Steps to follow

1. An order management app contains the following forms and fields:

Form

Form Link Name

Field Type

Field Name

Field Link Name

Products

Products

Single Line

Product Name

Product_Name

Currency

Price

Price

Orders

Orders

Lookup (Products)

Product

Product

Number

Quantity

Quantity

Currency

Amount

Amount

Name

Customer Name

Customer_Name

Phone

Customer Phone

Customer_Phone

 
2. Let's create a connection with Twilio to send SMS to customers when an order is placed.
Navigate to  Microservices , and click  + Create New
 
3. Click Create under Connections.
 
4. Click Twilio.
 
5. Enter a name for the connection. The connection name is used in the send sms workflow. To keep it simple, we will use the same Twilio account credentials in all the environments. Click Create And Authorize.
 
6. Enter the required details of your Twilio account from which the message will be sent, and click Authorize.
 
7. Toggle Connection Access to On for the application.
 
8. Now , let's add a workflow to send SMS using the Twilio connection when customers place an order. Before that, let's add this application to Environments, so that we can test the workflow before users can use it.
Navigate to Environments , and click Add Application.
 
9. Select the app and click Enable in the popup.
 
10. The application will be listed in Environments section. To add a workflow, edit the app by clicking Create & Edit under Development.
Note: Applications are edited in the development environment only. Development environment creation may take a while based on the app's components.
 
11.  Create workflow with the following details :
We are selecting Form Event as "Successful form submission" because the SMS has to be triggered when an order is submitted.
 
12. Click Add New Action > Notification > Send SMS , and save details as shown below.
 
13. Now let's publish the changes to Stage environment where we can test if the SMS is being triggered as expected.
Navigate to Environments , and click Publish to stage .
 
14. Select the app and click Proceed .
 
15. Select all the changes and click Proceed .
 
16. Enter version details and click Publish .
Note: It may take a while for the app to be published to Stage environment based on the app's components.

17. Once the app is published, click Access under Stage to test the app in Stage mode.
 
18.  Once testing is complete, changes can be <published to Production> for end users.

See how it works

Points to note

  • In this tutorial we have added an app to Environments after the app was created. It is possible to enable Environments during the app creation as well.
  • The D eluge task send sms can also be used to trigger SMS.

    Access your files securely from anywhere

      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

                                                                                                              • Understand Connections

                                                                                                                This help page is for users in Creator 6. If you are in the older version (Creator 5), click here. Know your Creator version What Does This Page Cover? Learn about connections and their types that can be used to integrate your Creator application ...
                                                                                                              • Manage Connections

                                                                                                                This help page is for users in Creator 6. If you are in the older version (Creator 5), click here. Know your Creator version. 1. What Does This Page Cover? Learn to manage the connections you have created for integrating other Zoho or third-party ...
                                                                                                              • Publishing to the Stage environment

                                                                                                                This help page is for users in Developer Console version 6. If you are in the older version (Developer Console 5), click here. Know your Developer Console version. 1. What does this page cover? Learn about publishing your applications from the ...
                                                                                                              • Manage Stage Environment

                                                                                                                The following stage environment actions are available to users: Access Settings Logs The above options will be displayed when you click on the ellipsis for the required app listed in the Environments page. Access Opens the app live mode in Stage ...
                                                                                                              • Understand Environments

                                                                                                                Environments serve as a platform to perform preliminary testing in a restricted environment, and to publish changes in one go, rather than performing gradual changes in the application. This is useful when changes have to be made in a complex ...
                                                                                                                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