A couple of minor enhancements to Workflows

A couple of minor enhancements to Workflows

  • Last updated on September 17, 2024: These enhancements were initially available for early access, and we've now enabled them for all users.
We are elated to announce a couple of enhancements to custom functions in our Workflows! Say hello to: "Source" and "Previous Values".  

Source

Ever wondered if your workflow was triggered due to a merge action or a regular delete? Say goodbye to guesswork! Now, with the new "Source" value in function arguments, you can easily identify the source of your workflow trigger. When a merge occurs (via Find and Merge Duplicates) between two records, the system deletes the child record and updates the master record. By passing "Source" as an argument in your function, you'll receive the value "Update(Merge)" for the master record and "Delete(Merge)" for the child record. No more confusion - just precise control!

 

P.S: This source parameter is now supported only for merging records. It will be supported for more actions in the future to find the source of execution. 


if(src == "Update(Merge)")

{

 //Your action

}

 

if(src == "Delete(Merge)")

{

 //Your action

}

 


 

Previous values: 

Empower your custom functions with the ability to access the previous values of a record before any edits. Imagine the possibilities! For instance, you can now monitor plan upgrades and downgrades based on changes in the number of users (a custom field). By passing down the previous value of the user count, your custom function can find if there's a downgrade and take appropriate actions. Whether it's creating tasks or triggering specific processes, the power is now in your hands!

 

if (prevValues!=null && prevValues.get("No_Of_Users") > noOfUsers)

{

//Notify retention team

}

 


These new options will be available under "Execution Info" when configuring arguments for your functions from workflows. Stay tuned for more exciting updates!




    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      • Sticky Posts

      • Gain control over record sharing with portal users through our new enhancement: criteria-based data exposure

        Dear Customers, We hope you're well! Portals is a self-service avenue through which your clients can access and manage their direct and related data in Zoho CRM. This empowers them to be more independent and enables them to experience a sense of transparency
      • Identify and prioritize profitable deals: Zoho CRM Forecasts help users focus on revenue-driving opportunities

        Dear Customers, We hope you're well! At any given time, a sales rep handles multiple deals, each progressing at its own pace. But not all deals will succeed—some will take time, and others may never close. This varying momentum directly impacts the organization’s
      • Context and convenience just got better with Zia's email intelligence

        Dear Customers, We hope you're well! We are in 2024, and email as a tool is only getting more powerful each day. While it enables seamless daily correspondences, we are here with a set of abilities that will enhance your user experience and save several
      • Investigate your losses using VoC's root-cause analysis

        Dear Customers, We hope you're well! Loss and customer churn are inevitable in any business, even for historically successful ones. While it's never pleasant to see customers leave, it's crucial for businesses to identify the triggers behind these losses
      • Enrich your CRM data and keep them updated

        You spend a lot of your time and efforts in generating quality leads for your business. While generating leads is a challenge in itself, the real deal begins when sales reps try to nurture these leads and convert them as customers. So how equipped is your sales team with information about your leads matters a lot.  For example, you might be using webforms to generate leads and collect customer information from your website. The lesser your webform fields are, the more your sign-ups right? From optimizing

      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方