Understanding Workflow Rules

Understanding Workflow Rules


In monitored IoT networks, there are times when you need to automatically perform certain actions when specific conditions are met in the application. The actions may include sending email notifications, executing your custom business logic, or triggering webhooks to notify other applications, etc. 
 
For example, you may want to send an email to supervisors automatically when a new asset is added to your Zoho IOT application. Implementing such condition-based simple to complex automation ensures that actions are performed promptly without requiring manual intervention, and thereby considerably enhances the efficiency and overall reliability of the system.
 

Benefits of Workflow Rules

Workflows enable automation in your Zoho IOT application. Some of the top benefits of defining workflow rules with automated actions in the application are provided below.
  1. Automate Tasks in Real Time Monitoring: Workflows help to perform automated tasks or business logic based on different conditions. This enhances system responsiveness and minimizing downtime.

  2. Increased Efficiency: Workflow rules streamline processes by reducing the need for manual intervention, which enhances operational speed and facilitates quicker issue resolution.

  3. Enhanced Reliability: Accurate execution of tasks based on conditions defined in the workflow rules minimizes human error, boosting system reliability.

  4. Scalability: Well-defined workflows facilitate the easy scaling of IoT applications by handling increasing amounts of data and more complex processes without requiring proportional increases in human resources.
 

Sections of a Workflow Rule

The application offers easy steps to workflow rules. The configuration is done in three sections: When, Condition, and Action.
 
Workflow Section
Description



The first step in configuring the workflow rule is to identify "when" the rule needs to be triggered i.e. the "Rule Trigger".

Based on record action

  1. Created - when a record is created.
  2. Edited - when any field in the record is edited, specific fields are edited, or any field in a section gets edited.
  3. Edit/Created  - when a record is edited or created.
  4. Deleted - when a record is deleted.

Based on a date/time field's value

  1. when the incoming records matches the configured rule criteria. The trigger will be triggered monthly or yearly once or repeatedly based on the date/field selection.
 
 

The next step is to configure the condition to validate if the incoming record matches the condition to trigger the action.

Apply Condition 
  1. the rule is triggered for the records that meet the configured condition.

All <Module/Model>
  1. the rule is triggered for all incoming records.




The final step is to define the action to be performed.

  1. Here, you need to select the email notification, custom function, or webhook action to be performed when the rule trigger and condition is met.
 

Sample Workflow Rule Scenarios  

Below are three sample scenarios where workflow rules are used to perform appropriate actions using email notification, custom function, and webhook action.

1. Energy Monitoring System for a Smart Building  

Workflow Rule: Notification for New Asset Addition  

Objective: To improve the operational efficiency of a smart building by sending notification emails to a device administrator in another team whenever a new asset is added to the application. 

Workflow Rule Description: Define a workflow rule to automatically send an email notification to the device administrator whenever a new asset say energy meter is added to prompt the administrator to configure the energy meter and enable it to be monitored in the application.

Steps to Define the Workflow Rule  
  1. When :Addition of new asset to the IoT Application.
  2. Condition :All asset models.
  3. Action :Send an email notification to the supervisor. 
     
2. Messaging on Asset Performance in Industrial IoT Application 

Workflow Rule: Switch ON or OFF the motor based on the time condition.

Objective: To improve the efficiency in the IIoT setup, write a business logic which switches On or OFF a motor.

Workflow Rule Description: Define a workflow rule to fetch the current status of a production motor and switch ON or OFF the motor based on the time condition.

Steps to Define the Workflow Rule  
  1. When :On the set data/time.
  2. Condition :The status of the Motor asset.
  3. Action :Execute custom logic to switch ON or OFF the motor. 

3. Fuel Level Monitoring System for Diesel Generator

Workflow Rule: Send fuel stock details to initiate invoice generation.   

Objective: To improve efficiency and minimize downtime in the IIoT setup, write a business logic which fetches details and directs to third party invoice application.

Workflow Rule Description: Define a workflow rule to fetch fuel stock details for the asset and initiate generating a purchase order (PO) by sending data, rate, and quantity, etc., via webhook.

Steps to Define the Workflow Rule  
  1. When :On the set data/time.
  2. Condition :When the AMS renewal date is nearing. 
  3. Action :Execute webhook to initiate generating a purchase order (PO) 

See also
Working with Workflow Rules  

    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

                                                                                                          • Understanding Data Slicing Rules

                                                                                                            Data Slicing rules can be defined to dictate what data and records are accessible for each user in the Zoho IOT application. Data Slicing is highly useful in building dashboards and generating reports. Consider a dashboard designed to monitor an ...
                                                                                                          • Understanding Actions

                                                                                                            In an IoT setup, you may have to trigger various actions, such as sending notification emails to relevant personnel, connecting to a third-party URL via. webhook, or executing custom business logic on certain conditions. These actions are generally ...
                                                                                                          • Working with Alarm Rules

                                                                                                            Creating Alarm Rule Alarm Rules can be created in the End Application. In this document, we will follow the steps in creating Alarm Rules from the End Application. All Alarm Rule operations require necessary permissions. Refer Users and Profiles ...
                                                                                                          • Understanding Alarm Rule Templates & Alarm Rules

                                                                                                            Alarms in the Zoho IOT application are generated based on Alarm Rules. The Alarm Rules created for models are referred to as Alarm Rule Templates. These are prototypes attached to the model and get copied to devices, assets, or locations (instances) ...
                                                                                                          • Understanding Notification Profiles

                                                                                                            Notification profiles are created to trigger actions for all or specific alarms generated for selected managed entities. Actions such as sending emails, executing custom functions, or executing a webhook can be triggered when these conditions are ...
                                                                                                            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