Configuring Deluge script for report workflows | Zoho Creator Help

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 have a clear understanding of report 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 actions for report workflows

Deluge script actions allow you to write and execute custom logic using the Deluge scripting language or run an existing Deluge function as part of report workflows in Zoho Creator. This provides a flexible, code-based approach for automating actions and handling complex business scenarios that go beyond the capabilities of the predefined actions available in the report workflow builder.

You can execute Deluge script on the following events

  1. Run a function: Execute any Deluge function across applications in your Zoho Creator account.
  2. Create your own: Write and execute a custom Deluge script directly within the report workflow.

1.1 . Run a function

NotesNote: Only Deluge functions can be executed in the run a function event under Deluge script action type. Other function types, such as Java and Node.js functions, are not supported.

The Run a function event under the Deluge script action type is used to execute a custom Deluge function across your Zoho Creator applications. The configured function runs when a user interacts with the associated custom action item in the report. This provides a UI-driven way to trigger a Deluge function, serving as an alternative to using the call function Deluge task.

1.1.1. Steps to run a function

  1. Click Create Workflow, while adding a new custom action item in a preferred report to open the workflow builder.
  2. Click Add New Action in the workflow builder. The Add New Action panel will slide in from the right.
    1. To create new action in the existing action block, hover over the action inside an action block and click the + icon that appears.
  3. Select when to run this action. By default, it is set to Always, which means the action will execute for all records. 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. Choose the action type as Deluge script and select event as Run a function.
  5. Configure the Run a function event by selecting the preferred application, namespace and function.
    1. To edit the selected function, click Edit function. The Deluge editor opens with the selected function, where you can make the necessary changes and click Save to update the function.
    2. To create a new function in the selected namespace, click Create a new function. The Deluge editor opens within the report workflow, allowing you to write the required Deluge script and click Save to create the function.
  1. If the selected function has arguments, it be listed, map the function parameters with the respective form fields.
  2. Click Save.
  3. Click Done in the top right corner of your screen.

1.2. Create your own

The Create your own event under the Deluge script action type allows you to write and execute a custom Deluge script as part of Zoho Creator report workflows. Using Deluge scripting, you can implement advanced logic such as multi-step calculations, updating multiple related modules across applications, executing conditional logic with 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 report workflow builder, enabling you to implement dynamic and conditional logic tailored to your application requirements.

1.2.1. Steps to create your own Deluge script

  1. Click Create Workflow, while adding a new custom action item in a preferred report to open the workflow builder.
  2. Click Add New Action in the workflow builder. The Add New Action panel will slide in from the right.
    1. To create new action in the existing action block, hover over the action inside an action block and click the + icon that appears.
  3. Select when to run this action. By default, it is set to Always, which means the action will execute for all records. 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. Choose the action type as Deluge script and select event as Create your own. The Deluge editor opens within the report workflow builder.
  5. Write the required Deluge script 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.
  1. Creating action item in reports.
  2. Managing report workflows
  3. Configuring notification actions for report workflows
  4. Configuring data access actions for report workflows
  5. Configuring Deluge script for report workflows
  6. Configuring integration actions for report workflows
Previous
Previous

Before learning about configuring data access actions in report workflows, ensure you have an understanding of how report 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

                                                                                                                                    • 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 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 ...
                                                                                                                                    • Configuring data access actions for report workflows

                                                                                                                                      What does this page cover Learn how to configure data access actions in Zoho Creator report workflows to add a new record, modify or delete an existing record in any form in your application. Before proceeding, ensure you have a comprehensive ...
                                                                                                                                    • Configuring Deluge script for form workflows

                                                                                                                                      What does this page cover Learn how to configure Deluge script actions in form workflows to run custom logic and handle advanced operations using Deluge. Before proceeding, ensure you have a comprehensive understanding of form workflows and how to ...
                                                                                                                                    • Configuring Deluge script for schedule workflows

                                                                                                                                      What does this page cover Learn how to configure Deluge script actions in schedule workflows to run custom logic and handle advanced operations at a defined time using Deluge. Before proceeding, ensure you have a comprehensive understanding of ...
                                                                                                                                      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