Workflow Rules and Actions

Workflow Rules and Actions

With field services increasingly gaining traction worldwide, they are continuously evolving into a more systematic and standardized process. Automation plays a pivotal role in this transformation. Studied automation can make all the difference between a mediocre field service management solution and a great one. From the obvious to the obscure, automation can be introduced to all areas of field services. When done effectively, automation can help every key player, such as field technicians, dispatchers, and call center agents, carry out their tasks efficiently. This translates to successful completion of contact requests, thereby fostering customer loyalty and retention. The following are some of the areas where automation can be useful:
  1. Providing immediate and accurate response to contact's queries
  2. Keeping the contact updated on the progress of a service appointment
  3. Proper inventory management to ensure field technicians have the required resources
  4. Maintaining knowledge repository to share and record gained experience
  5. Identifying cross-selling and upselling opportunities
In Zoho FSM, we provide you with the tools to effortlessly carry out automation. Workflow rules and functions offer you ways to automate your business processes.

Workflow rule: Defines conditions and the Custom Function that need to be executed when the specified conditions are met. A given workflow rule is specified for a particular module. The conditions and rule criteria can be defined only on that particular module and its fields. However, the custom functions can be related to other modules as well.

Custom Function: This is a program used for formulating processes, defining business logic and automating repetitive tasks. For example, notify the customer when a new request is created for them.

List of Modules Supported

Workflow rules can be created for the following modules:
  1. Assets
  2. Companies
  3. Contacts
  4. Estimates
  5. Requests
  6. Service Appointments
  7. Services and Parts
  8. Work Orders

Components of a Workflow Rule

‌Basic Information

Specify the following details:
  1. Module for which the rule has to be triggered
  2. Name of the workflow rule
  3. Description of the workflow rule

Rule Trigger

‌Specify when and on what conditions the workflow rule should be triggered for a record. Workflow rules can be triggered when records are created, edited, created/edited, or deleted. Workflow rules are executed when one of the following record actions occurs:
  1. Created - When records are created.
  2. Edited - When existing records are modified.
    If the checkbox Repeat this workflow whenever a <module_name> is edited is selected and no rule criteria is added, the workflow rule will be executed every time a record is edited else the workflow rule will be executed only the first time the record is edited.
    If the checkbox Repeat this workflow whenever a <module_name> is edited is selected and a rule criteria is added, the workflow rule will be executed every time a record is edited else the workflow rule will be executed only when the rule criteria is satisfied.
  3. Created or Edited - When records are created or existing records are modified.
  4. Deleted - When certain records are deleted

Rule Criteria

Specify filter criteria so that the workflow rule can be selectively applied to matching records.
  1. Matching field(s) - You can specify the matching field value(s) for which the workflow rule should be triggered.



    You can specify a maximum of 5 criteria.

  2. All records - The workflow rule will be triggered for all records of the module.

Actions

‌Associate action like custom functions that need to be carried out for a workflow rule. You can either associate an existing function to the workflow or create a new function and associate it to the workflow.

Creating a workflow rule

A sample workflow rule has been used to explain the steps involved in creating one. This workflow is used to notify the customer when a new request is created for them.
  1. Go to Setup > Automation > Workflow Rules and click Create Workflow.
  2. Enter the following details, then click Next:
    1. The Module for which the rule has to be triggered
    2. Rule Name
    3. Description of the rule



  3. Select the rule trigger as Created and click Next.



  4. Select the rule criteria as To all Request and click Next.


  5. Click +Function.



  6. Select Create your own Function and click Next.



  7. Enter a Function Name and add the function in the Deluge Script Editor. Click Save and Associate to add the function.
    Click Save & Execute to add the function and execute the workflow.



    You can also add the function if it has already been defined. Select Existing Functions.



    Select the required function and click Next.



  8. Click Save.


Editing a workflow rule

To edit a workflow rule:
  1. In the Workflow Rules page, select the rule you want to edit.
  2. Hover over the workflow where you want to make changes and click Edit [].
  3. Make the necessary changes and click Save.

Disabling a workflow rule

To disable a workflow rule:
  1. In the Workflow Rules page, toggle the Status switch to enable/disable the workflow.


Points to remember
  1. If multiple work flow rules are created for a module, then these rules will be executed in the order in which they were created.
  2. A maximum of five workflow rules can be created for a module.
  3. A maximum of 10 workflow rules can be created in total.
  4. At a time, there can be a maximum of three active workflow rules for a module.
  5. At a time, there can be a maximum of five active workflow rules in total.

More Examples

Example 1: Notify the customer of service appointment updates

This workflow is used to notify the customer when the status of a service appointment changes.
  1. Go to Setup > Automation > Workflow Rules and click Create Workflow.
  2. Enter the following details, then click Next:
    1. Module: Service Appointments 
    2. Rule Name: Appointment Updates
    3. Description: Notify the customer when the status of a service appointment changes



  3. Select the rule trigger as Created or Edited and click Next.



  4. Select the rule criteria as Only to the Service Appointment matching certain conditions and add a condition as shown below. Click Next.



  5. Click +Function.



  6. Select Create your own Function and click Next.



  7. Enter a Function Name and add the function in the ‌Deluge Script Editor. Click Save and Associate to add the function.
    Click Save & Execute to add the function and execute the workflow.



  8. Click Save.

    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


          Get started with Zoho Sign

          in a few quick steps!

          Download Help Guide





                    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 SalesIQ Resources



                                        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

                                                                          • Field Updates

                                                                            Field Updates used with Workflow Rules will enable you to automatically update the value of a field based on some criteria. For example, use a workflow rule to identify regular customers and reward them appropriately. Create Field Updates To create a ...
                                                                          • Editions and Pricing

                                                                            The details of the various FSM editions and their pricing details are mentioned below. Features Free Standard Fixed Base Price Free $30.00 / month  $25.00 / month Billed Annually Number of Appointments 30 60 Charges for additional appointments will ...
                                                                          • Functions

                                                                            ‌Custom functions are used for defining custom business logic, formulating processes, and automating repetitive tasks. They are used for manipulating details of one or more FSM modules through record creation, updation or deletion. They are also used ...
                                                                          • Contacts

                                                                            Add Contact Details  Contacts can be added in the following ways: Add contacts individually in the Contacts module. The details are described below. Import contacts from external sources. Import contacts from Invoice. To add a contact: ...
                                                                          • Quick Start Guide

                                                                            Zoho FSM is a cloud application that offers an overarching solution for handling the entire life cycle of processes involved in the management and execution of field services. All processes that are pivotal to field services are automated, such as ...
                                                                          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