[Early-Access] A couple of minor enhancements to Workflows - Early Access

[Early-Access] A couple of minor enhancements to Workflows - Early Access

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. This hasn't been opened to all yet and is in Early Access mode. You can drop in your requests in the form linked below to provide you Early Access to these features. 

Early Access form: https://survey.zohopublic.com/zs/zohocorp/RyzzFA 

Stay tuned for more exciting updates!




      Zoho Developer Community








                                Zoho Desk Resources

                                • Desk Community Learning Series


                                • Digest


                                • Functions


                                • Meetups


                                • Kbase


                                • Resources


                                • Glossary


                                • Desk Marketplace


                                • MVP Corner


                                • Word of the Day



                                    Zoho Marketing Automation
                                            • Sticky Posts

                                            • [Early Access] Voice of the Customer (VoC) for Zoho CRM

                                              Happy new year, everyone! We have an exciting addition to our suite of features and would like to introduce you to VoC (Voice of the Customer) for Zoho CRM, powered by Zia. 2023 is definitely the best time to be a customer with rapid innovations and advancements
                                            • Adding calls as a channel in Voice of the Customer

                                              Dear All, We hope you're well! It's been almost a year since we opened Zoho CRM's Voice of the Customer solution up for early access. We are grateful for the reception and support you have been showing us with regards to its adoption and feedback. Since


                                            Manage your brands on social media



                                                  Zoho TeamInbox Resources

                                                    Zoho DataPrep Resources



                                                      Zoho CRM Plus Resources

                                                        Zoho Books Resources


                                                          Zoho Subscriptions Resources

                                                            Zoho Projects Resources


                                                              Zoho Sprints Resources


                                                                Qntrl 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







                                                                            Design. Discuss. Deliver.

                                                                            Create visually engaging stories with Zoho Show.

                                                                            Get Started Now