Configuring Deluge script for approval workflows | Zoho Creator Help

Configuring Deluge script for approval workflows

What does this page cover

Learn how to configure Deluge script actions in Zoho Creator approval workflows to run custom logic and handle advanced operations when a record is submitted for approval, or when it is approved or rejected by an approver. Before proceeding, ensure you have a clear understanding of approval workflows and how to create them.

Availability 

  1. Available in all plans of Creator
  2. Can be accessed by super admin, admins, and developers

1. Deluge script for approval workflows

The Deluge script action allows you to write and execute custom logic using the Deluge scripting language as part of your approval workflows in Zoho Creator. This provides a flexible, code-based approach to automating actions and handling complex business scenarios that go beyond the capabilities of predefined actions available in the workflow builder.

You can configure this action to execute when a record is submitted for approval, or when it is approved or rejected by the approver. Using Deluge scripting, you can define advanced logic such as multi-step calculations, updating multiple related modules across applications, executing conditional logic involving external data, integrating with third-party services through custom API calls, or handling multi-level data validation.

Scripts are written directly in the Deluge editor within the workflow builder, enabling you to implement dynamic and conditional logic tailored to your application's approval process.

1.1. Steps to configure Deluge script

  1. Create an approval workflow and add an approver to open the workflow builder.
  2. Click Add New Action under the Approve or Reject section of the preferred approver level, or under the Actions to execute on start section of the workflow.
  3. Select when to run this action.
    1. By default, it is set to Always, which means the action will execute for all records.
    2. To run the action only for specific records, choose on condition and define the necessary condition or criteria. Learn more about configuring conditions in a workflow.

  4. Select Deluge script action to open the Deluge editor.
  5. Write the required Deluge code and click Save. You can also use the various features of the Deluge editor to simplify scripting. Learn more
  6. Click Done in the top right corner of your screen.

2. Points to note

  1. Info message cannot exceed 50KB. Otherwise, the message will be truncated.
  2. You can send up to a maximum of three email notifications with attachments. The maximum size of file attachments(audio, video, and image) allowed is 15 MB. If the attachments exceed this limit, the emails will be delivered without them.
  3. If you want to get the file content of the specified file or create a file object using the required content, the respective file size should be less than 2 MB.
  1. Configuring notification actions for approval workflows
  2. Configuring data access actions for approval workflows
  3. Configuring integrations for approval workflows
Previous
Previous

Before learning about configuring Deluge script actions in approval workflows, ensure you have an understanding of how approval workflows function and how they are configured.

 

        Create. Review. Publish.

        Write, edit, collaborate on, and publish documents to different content management platforms.

        Get Started Now


          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







                                Quick LinksWorkflow AutomationData Collection
                                Web FormsEnterpriseOnline Data Collection Tool
                                Embeddable FormsBankingBegin Data Collection
                                Interactive FormsWorkplaceData Collection App
                                CRM FormsCustomer ServiceAccessible Forms
                                Digital FormsMarketingForms for Small Business
                                HTML FormsEducationForms for Enterprise
                                Contact FormsE-commerceForms for any business
                                Lead Generation FormsHealthcareForms for Startups
                                Wordpress FormsCustomer onboardingForms for Small Business
                                No Code FormsConstructionRSVP tool for holidays
                                Free FormsTravelFeatures for Order Forms
                                Prefill FormsNon-Profit

                                Intake FormsLegal
                                Mobile App
                                Form DesignerHR
                                Mobile Forms
                                Card FormsFoodOffline Forms
                                Assign FormsPhotographyMobile Forms Features
                                Translate FormsReal EstateKiosk in Mobile Forms
                                Electronic Forms
                                Drag & drop form builder

                                Notification Emails for FormsAlternativesSecurity & Compliance
                                Holiday FormsGoogle Forms alternative GDPR
                                Form to PDFJotform alternativeHIPAA Forms
                                Email FormsFormstack alternativeEncrypted Forms

                                Wufoo alternativeSecure Forms

                                TypeformWCAG

                                  Zoho FSM Video Tutorials


                                        All-in-one knowledge management and training platform for your employees and customers.

                                                  Create. Review. Publish.

                                                  Write, edit, collaborate on, and publish documents to different content management platforms.

                                                  Get Started Now




                                                                    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


                                                                          • Desk Community Learning Series


                                                                          • Digest


                                                                          • Functions


                                                                          • Meetups


                                                                          • Kbase


                                                                          • Resources


                                                                          • Glossary


                                                                          • Desk Marketplace


                                                                          • MVP Corner


                                                                          • Word of the Day


                                                                          • Ask the Experts


                                                                            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 Demo

                                                                                                              Get a personalized demo or POC

                                                                                                              REGISTER NOW


                                                                                                                Design. Discuss. Deliver.

                                                                                                                Create visually engaging stories with Zoho Show.

                                                                                                                Get Started Now








                                                                                                                                    • Related Articles

                                                                                                                                    • Configuring notification actions for approval workflows

                                                                                                                                      What does this page cover Learn how to configure notification actions in approval workflows to send alerts via email, SMS, or push notifications when a record is submitted for approval, or when it is approved or rejected by an approver. Before you ...
                                                                                                                                    • Configuring notification actions for form workflows

                                                                                                                                      What does this page cover Learn about the notification actions in form workflows and how to configure them to send alerts via email, SMS, push notifications, display success messages, or redirect users to a URL. Before proceeding, ensure you have a ...
                                                                                                                                    • Understanding workflows

                                                                                                                                      In a nutshell Workflows are rule-based automations that streamline business processes by triggering specific actions when certain events occur in your application. They help eliminate repetitive tasks, reduce manual effort, and ensure consistent data ...
                                                                                                                                    • Configuring Deluge script actions for report workflows

                                                                                                                                      What does this page cover Learn how to configure Deluge script actions in Zoho Creator report workflows to run custom logic and handle advanced operations when users interact with custom action items in a report. Before you proceed, ensure that you ...
                                                                                                                                    • Configuring Deluge script for payment workflows

                                                                                                                                      What does this page cover Learn how to configure Deluge script actions in Zoho Creator payment workflows to run custom logic and handle advanced operations when a user submits a form with payment workflow and the payment succeeds or fails. Before you ...
                                                                                                                                      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